format_ACB | R Documentation |
Formats transaction data with Adjusted Cost Base (ACB), along with ACB per share and realized capital gains or losses.
format_ACB( data, as.revenue = c("staking", "interests", "mining"), sup.loss = TRUE, cl = NULL, verbose = TRUE )
data |
The dataframe |
as.revenue |
Which should be treated as revenue, in list of
|
sup.loss |
Logical, whether to take superficial losses into account. |
cl |
Number of cores to use for parallel processing. |
verbose |
Logical: if |
A data frame, formatted for the Adjusted Cost Base (ACB).
all.data <- format_shakepay(data_shakepay) format_ACB(all.data, verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.