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
@@ -49,8 +49,8 @@ class AddOptionContractFromUniverseRegressionAlgorithm(QCAlgorithm):
data: Slice object keyed by symbol containing the stock data
'''
if self._option != None and self.Securities[self._option].Price != 0 and not self._traded:
self._traded = True;
self.Buy(self._option, 1);
self._traded = True
self.Buy(self._option, 1)
if self.Time == datetime(2014, 6, 6, 14, 0, 0):
# liquidate & remove the option