According NT7 help regarding OnStartUp():
"This method is called only once immediately prior to the start of your script processing its logic in OnBarUpdate(), but after the Initialize() method."
I tried to use this method to write description line (just first row: entry/exit, profit/loss long/short...etc) to own logfile.
However, I found out the logfile contains multiple lines, i.e. seems like OnStartUp() is called and writes the line to logfile more then once when running backtest on basket of instrument.
Can you specify conditions under which OnStartUp is re-called or how to avoid re-calling it?
Using NT7.14
Thanks in advance.
BR.
Q.
Comment