I'm relatively new to NT7 so this question might have been answered before:
Is there any override method that can be called ONLY during a backtest process?
e.g. I'm writing a FX strategy. Since contract sizes are different in simulation and a live brokerage, I want to write a fail safe code that determines if it is running in reality or backtest and therefore sets a correction factor for the contract size accordingly.
Thanks in advance.
Comment