Skip to content
Prev 10197 / 15274 Next

quanstrat rule to exit same day close (using daily data)

Garrett is correct, sorry, I'm still a little sleep-deprived from
R/Finance.  

Rule execution order is discussed in the documentation for add.rule, and
'enter' rules are processed last.

I wonder if we should consider moving 'rebalance' rules to the end of
the order, or adding a exit rule type that is specifically evaluated
after entry rules.   The code change would be trivial, as that is
processed in a switch statement.
On Sun, 2012-05-13 at 15:46 -0500, G See wrote: