To help optimising strategies I have build custom strategy script that export data into a database. Many data are exported, each run (1 minute 3 years) takes 1 hour.
I am know trying to use the optimiser to batch several runs in one go at night and access the results the day after.
I doesn't work because each backtest is identified by a "run number" in my export procedure calculated in the on start event. I have the feeling that Ninja is optimizing the backtest by launching has many clones of the strategy as they are values to be optimised, which is nice (Event On start occurs several time before the first generation of the on bar up date event)
Question 1 at trade generation is there a way to identify the run of the optimiser against which the trade is generated
Question 2 the optimisation generate a list of trades and strategy performance value, associated to a given set of parameters how can we access this data ?
which event occur after termination of the optimisation run (on termination ?)
Many thanks for your reply
Lionel
Comment