gains: Create Gains Helper Fuction

Description Usage Arguments Details

View source: R/Gains.R

Description

Function create a realized gains object of class gains

Usage

1
gains(sale, holding, gain_threshold = 365)

Arguments

sale

sell type trade object

holding

holding record

gain_threshold

min number of days for a holding to be taxed at long term rate

Details

Used in make_sale function


chrishaarstick/madstork documentation built on Jan. 3, 2022, 8:34 p.m.