Learn R Programming

cryptoTax (version 0.0.5)

get_proceeds: Get proceeds of all sold coins

Description

Get proceeds of sold coins, ACB of sold coins, and resulting difference between the two, capital gains.

Usage

get_proceeds(formatted.ACB, tax.year, local.timezone = Sys.timezone())

Value

A data frame, with the following columns: type, proceeds, ACB.total, gains.

Arguments

formatted.ACB

The formatted.ACB object,

tax.year

which year

local.timezone

which time zone

Examples

Run this code
all.data <- format_shakepay(data_shakepay)
formatted.ACB <- format_ACB(all.data, verbose = FALSE)
get_proceeds(formatted.ACB, 2021)

Run the code above in your browser using DataLab