netFee: Net a constant fee from a time-series

Usage Arguments

Usage

1
netFee(ret, annual_fee, ret_freq = "m")

Arguments

ret

return time-series with dates in first column and values in the second column

annual_fee

annual_fee to deduct, e.g., 2

\item

ret_freqreturn frequency

Net a constant fee from a time-series The annual fee is scaled by the frequency and subtracted from each observation in the time-series, i.e., (1 + annual_fee)^(1 / freq_scale) - 1


alejandro-sotolongo/InvMgmt documentation built on Dec. 18, 2019, 3:33 a.m.