In the OnMarketData section I use the following code to retrieve the timestamp of the last tick.
protected override void OnMarketData(MarketDataEventArgs e)
{
if (e.MarketDataType == MarketDataType.Last)
LastTickDateTime=e.Time;
}
In replay mode in version 8.0.26 this gives the exact timestamp of each tick, so if I do a replay of July 12, the timestamp of each tick is dated July 12and the correct time as well. If I run the same replay in version 8.1.3.1 this does not give the timestamp of the last tick, but gives the current data/time, so if I do a replay of July 12, the timestamp of each tick is not dated July 12, but dated July 15 and also the time is the current time instead of the time of the replay.
This means my replay is not giving the same results as the backtest, this is an issue for upgrading to the latest version. How could this be solved?
Kind regards,
Rene Kreileman
The Netherlands

Comment