Hello QC,

I'm trying to deploy an algo live but seem to run into the below issue shown in the below extract from live Logs. 

2021-04-28 19:07:09 :Launching analysis for L-35dfd3ed29a528d69ae94f5d708a47eb with LEAN Engine v2.5.0.0.114852021-04-28 19:08:39 :Paper Brokerage account base currency: USD2021-04-28 19:08:39 :Warning: SetBenchmark(IWM): no existing symbol found, benchmark security will be added with Equity type.2021-04-28 19:08:39 :FB: 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.2021-04-28 19:08:39 :AMZN: 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.2021-04-28 19:08:39 :NFLX: 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.2021-04-28 19:08:39 :GOOG: 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.2021-04-28 19:16:34 :Algorithm Stopped

I'd thought using the self.History to pull historical data would work since these were added manually. I also tried putting a self.Warmup(50) in the init but that didnt seem to change anything either. 

def OnWarmupFinished(self): firstrun = True if firstrun == True: for x in ManualInputs.m_tickers: self.AddEquity(x, Resolution.Daily) history = self.History([x], 50, Resolution.Daily) self.MarketOrder(x, 2) firstrun = False

Is there a different syntax or method I should be using, maybe security.Price?

 

Thank you in advance,

Miguel