[R-SIG-Finance] quantstrat maCross demo problem
hifin at live.com
Fri Jul 13 03:53:25 CEST 2012
Thanks Brian. Setting orderqty='all' on the exit side solves the problem.
just wonder if this is a solution for this demo only or if it will cause
other problems when the strategy is more complicated.
For the root cause, a previous thread mentioned a problem of how applyRules
handle the order of order types ("entry", "exit", etc). The thread is here
View this message in context: http://r.789695.n4.nabble.com/quantstrat-maCross-demo-problem-tp4636089p4636384.html
Sent from the Rmetrics mailing list archive at Nabble.com.
More information about the R-SIG-Finance