transcost: Compute transaction cost
Description
Compute transaction cost
Usage
transcost(wnew, wold, lastearnings, reltc, wealth)
Arguments
wnew
new portfolio weights
wold
old portfolio weights
lastearnings
earnings from last period
reltc
relative transaction cost
Value
transaction cost of rebalancing portfolio