Fixes custom data algos to reflect changes from previous commit
This commit is contained in:
@@ -46,7 +46,7 @@ class CustomDataBitcoinAlgorithm(QCAlgorithm):
|
||||
|
||||
|
||||
def OnData(self, data):
|
||||
if "BTC" not in data: return
|
||||
if not data.ContainsKey("BTC"): return
|
||||
|
||||
close = data["BTC"].Close
|
||||
|
||||
|
||||
Reference in New Issue
Block a user