Revert "Merge pull request #1526 from AlexCatarino/python3"
This reverts commit2e523992d0, reversing changes made tofa48fc23ea.
This commit is contained in:
@@ -69,7 +69,7 @@ class BasicTemplateOptionsHistoryAlgorithm(QCAlgorithm):
|
||||
contract.ImpliedVolatility))
|
||||
|
||||
def OnSecuritiesChanged(self, changes):
|
||||
if changes == None: return
|
||||
if changes == SecurityChanges.None: return
|
||||
for change in changes.AddedSecurities:
|
||||
history = self.History(change.Symbol, 10, Resolution.Hour).sort_index(level='time', ascending=False)[:3]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user