The following backtest shows a candle in the nvda data which shouldnt be there because it is not using data outside of trading hours.

Maybe someone can help:

The github examples should be updated because

if not data.ContainsKey(self.symbol): return

does not catch the problem

only

if data[self.symbol] is None:

does.

There was another person fighting with a simlar error message but was using the alpha framework.

Does the alpha framework know that data can be none calculating targets/quantity?

https://www.quantconnect.com/forum/discussion/5636/crash-error-when-running-algorithm-in-paper-trading-production-not-when-backtesting/p1

thanks for help