Skip to content
Prev 14185 / 15274 Next

apply.paramset stopping on condition

Hi Frank,

I don't have code to share: every simulation is fine...

In other words my problem is:

1) In which function of quantstrat can I insert some custom code to stop 
simulation execution at a specific moment based on my personal raw 
criteria (ex. Profit or Drawdown)?

2) The custom code must be placed in a place where I can collect last 
trade result step by step to calculate approximately "partial" Profit or 
Drawdown

I'm looking at "ruleOrderProc.R" function but I'm not sure it is the 
best place...

Thanks in advance

Diego
On 14/03/2017 17:35, Frank wrote: