R/data_cryptotaxcalculator.R

#' Sample data sets provided by cryptotaxcalculator.io
#'
#' Data sets from cryptotaxcalculator.io to demonstrate adjusted cost base as
#' well as capital gains/losses. Used as demo for our own [ACB()] function.
#'
#' @docType data
#' @format A data frame with 4 rows and 4 variables:
#' \describe{
#'   \item{date}{the date}
#'   \item{trade}{type of transaction}
#'   \item{currency}{the coin}
#'   \item{price}{the spot rate, in dollars}
#'   \item{quantity}{how much of the stock/coin}
#'   ...
#' }
#' @source \url{https://cryptotaxcalculator.io/guides/crypto-tax-canada-cra/}
"data_cryptotaxcalculator1"

#' @rdname data_cryptotaxcalculator1
"data_cryptotaxcalculator2"

Try the cryptoTax package in your browser

Any scripts or data that you put into this service are public.

cryptoTax documentation built on March 7, 2023, 7:46 p.m.