Skip to content
Prev 7395 / 15274 Next

quantstrat - macross demo problem

On 01/25/2011 09:47 PM, Aleksandr Rudnev wrote:
This is correct.  Thank You for the detailed examination of the code.

The lines in question in applyRules() are a loop around a switch:

l506 and following:

for ( type in names(strategy$rules)){
	switch( type ,

I'll need to think about an alternate formulation in applyRules() that 
would work the rule types in order as described in the documentation 
(which was our intent).

Any input on fixes gladly accepted.

Regards,

   - Brian