Get proceeds of sold coins, ACB of sold coins, and resulting difference between the two, capital gains.
Usage
get_proceeds(formatted.ACB, tax.year = "all", local.timezone = Sys.timezone())
Examples
all.data <- format_shakepay(data_shakepay)
formatted.ACB <- format_ACB(all.data, verbose = FALSE)
get_proceeds(formatted.ACB, 2021)
#> Note: proceeds have been filtered for tax year 2021
#> type proceeds ACB.total gains
#> 1 Gains 31.26847 16.64212 14.62635
#> 2 Losses 0.00000 0.00000 0.00000