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_exchanges(data_shakepay)
#> Exchange detected: 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 25.45409 5.814382
#> 2 Losses 0.00000 0.00000 0.000000
