Hi quant experts,

I am using the following code to get some option contracts

contracts = chainProvider.GetOptionContractList(symbol, self.Time)

And even though the self.CurrentSlice.ContainsKey(symbol) equals True, I am getting the error:

Runtime Error: 'ARKK' 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("ARKK") in Slice.cs:line 315

Any clue how I fix that?

PS.: The symbol varies and I am subscribed to its data feed.