Skip to content
Prev 11012 / 15274 Next

Possible tradeStats() issue

Your observations are totally correct Michael.

Using txnFees != 0 is in fact a hack to be able to discern individual 
trades, but of course it only works under the conditions mentioned. In 
my strategies I usually specify 0 for entry transaction costs, then 
double the transaction costs for exits, but that will only work in 
certain strategies, true.

I am not aware of any plans to fix this at this point; patches (as 
always) welcome :-)
On 20-11-12 21:44, Michael Newell wrote: