Cosmetic change to erase any confusion that the bar being handled in the consolidator is able to be either a TradeBar or a QuoteBar
This commit is contained in:
@@ -46,9 +46,9 @@ class BasicTemplateOptionsConsolidationAlgorithm(QCAlgorithm):
|
||||
def OnData(self,slice):
|
||||
pass
|
||||
|
||||
def OnDataConsolidated(self, sender, quoteBar):
|
||||
def OnDataConsolidated(self, sender, bar):
|
||||
self.Log("OnDataConsolidated called on " + str(self.Time))
|
||||
self.Log(str(quoteBar))
|
||||
self.Log(str(bar))
|
||||
|
||||
def OnSecuritiesChanged(self, changes):
|
||||
for security in changes.AddedSecurities:
|
||||
|
||||
Reference in New Issue
Block a user