fix a typo, and remove all unnecessary semicolumns in Python (#5795)
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled

This commit is contained in:
Marco Grassi
2021-07-28 03:05:13 +08:00
committed by GitHub
parent 4469d18eb6
commit e823dfdfb7
51 changed files with 143 additions and 143 deletions
@@ -30,7 +30,7 @@ class InceptionDateSelectionRegressionAlgorithm(QCAlgorithm):
# select IBM once a week, empty universe the other days
self.AddUniverseSelection(CustomUniverseSelectionModel("my-custom-universe", lambda dt: ["IBM"] if dt.day % 7 == 0 else []))
# Adds SPY 5 days after StartDate and keep it in Universe
self.AddUniverseSelection(InceptionDateUniverseSelectionModel("spy-inception", {"SPY": self.StartDate + timedelta(5)}));
self.AddUniverseSelection(InceptionDateUniverseSelectionModel("spy-inception", {"SPY": self.StartDate + timedelta(5)}))
def OnData(self, slice):