get_proceeds: Get proceeds of all sold coins

View source: R/get_proceeds.R

get_proceedsR Documentation

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())

Arguments

formatted.ACB

The formatted.ACB object,

tax.year

which year

local.timezone

which time zone

Value

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

Examples

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

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