I have 49 instruments that i would like to run in the Strategy Analyzer using my custom built strategy hard coded script. I understand that I can do batch processing using my instrument list. However, my issue is that I do not understand how to “ninjascript” each “data series” with a different backtest date.
For example i only want “TSLA” backtested on 01/14/2019 while “MU” backtested on 08/15/2019 both using just one strategy. I don’t need both instruments tested on the same day.
The code below is incorrect but im lincluding for demonstration purposes:
AddDataSeries(“TSLA” BarsPeriodType.Minute,
1,
BarsPeriodType.Range,
01/14/2019 - 01/14/2019
);
AddDataSeries(“MU” BarsPeriodType.Minute,
1,
BarsPeriodType.Range,
08/15/2019 - 08/15/2019
);
Comment