Issue:
I am using multi-instrument 1 minute bar chart with CalculateonBarClose = true. What I have found is that my Close prices for each instrument are different between production and backtesting env. My backtesting prices come from NT Historical Data Manager download using live zen-fire feed. My production prices are captured using the live zen fire feed.
The way I tested this is by writing an output file in the live and backtesting environments triggered in the OnBarUpdate method when BarsInProgress=0.
My CalculateOnBarClose = true; statement is the last statement in the initialize method.
My Goal:
Is to have the backtest use the same prices as it does in production to ensure same buy/sell signals are generated.
Appreciate your time in advance,
Thanks,
Gary

Comment