Hey, thanks in advance.  This has ran smoothly for years.  All of a sudden, 2 weeks ago, when I check the current price on QQQ 1 min after open, it throws this error on 75% of my mornings.  I noticed there has been a change in the initiation of the algo.  I had to manually go back in and add two sources for data to include interactive brokers with Quantconnect.  Maybe this has had an effect?  Anyone having a similar issue?

 

Line of code:

qqqopenbar = self.algorithm.CurrentSlice['QQQ']

 

Error:

Runtime Error: 'QQQ' wasn't found in the Slice object, likely because there was no-data at this moment in time and it wasn't possible to fillforward historical data. Please check the data exists before accessing it with data.ContainsKey("QQQ")
  at OpeningBarQQQ
    qqqopenbar = self.algorithm.CurrentSlice['QQQ']
 in event_handlers.py: line 13
 Stack Trace: 'QQQ' wasn't found in the Slice object, likely because there was no-data at this moment in time and it wasn't possible to fillforward historical data. Please check the data exists before accessing it with data.ContainsKey("QQQ")
  at OpeningBarQQQ
    qqqopenbar = self.algorithm.CurrentSlice['QQQ']
 in event_handlers.py: line 13Share a new discussion