calc_comm: Calculate commisions on trade execution

Description Usage Arguments Examples

Description

calc_comm calculates commission fees for trades based on TD Ameritrades fee structure

Usage

1
calc_comm(strat, close, profit)

Arguments

strat

string of strategy run

close

numeric of the trade close price

profit

numeric of the trade profit prior to commissions

Examples

1
# Function arguments:-----------------------------------------------------------

themechanicalbear/tidyoptions documentation built on May 31, 2019, 9:49 a.m.