I'm having an issue where I have many cases of the following error for various securities:

Backtest Handled Error: CIVI VTZFLBN7T1LX: 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.

My algorithm is a very simple:

  • dynamic universe
    • buys securities that are added
    • liquidates securities that are removed
  • uses warm-up period

 

Any ideas what might be going on?

Thank you in advance for any help!