protectedoverridevoid OnMarketData(MarketDataEventArgs e)
as opposed to
protectedoverridevoid OnBarUpdate()
Part of the strategy keeps track of changes in level one market data. I've noticed that when I run the strategy with a Live connection, all of the signals are executed, but when I run the same day on Replay, not all of the signals are taken.
Might this be because when the data is recorded for replay it is grouped together by transactions and changes in level one market data happen in terms of smaller granularity?
Thanks,
Safetrading

Comment