Hello,

Since a few weeks, all my strats that use continuous futures stopped working, maybe after the lean update, hard to say. Anyway when I run backtests of strat that use to work without warnings, now I'm getting the following error 

Backtest Handled Error: ES XZDYPWUWC7I9: The security does not have an accurate price as it has not yet received a bar of data. Before placing a trade (or using SetHoldings) warm up your algorithm with SetWarmup, or use slice.Contains(symbol) to confirm the Slice object has price before using the data. Data does not necessarily all arrive at the same time so your algorithm should confirm the data is ready before using it. In live trading this can mean you do not have an active subscription to the asset class you're trying to trade. If using custom data make sure you've set the 'Value' property.

And if I try the suggestion, that is the slice.Contains(symbol), I get a python error 

“python list TypeError 'slice' object is not iterable”

Anybody has an idea?

 

Thanks in advance