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
@@ -83,10 +83,10 @@ class ObjectStoreExampleAlgorithm(QCAlgorithm):
self.SetHoldings(self.SPY, 1)
elif ema10 < close and ema10 < ema50:
self.SetHoldings(self.SPY, -1);
self.SetHoldings(self.SPY, -1)
elif ema10 < ema50 and self.Portfolio[self.SPY].IsLong:
self.Liquidate(self.SPY);
self.Liquidate(self.SPY)
elif ema10 > ema50 and self.Portfolio[self.SPY].IsShort:
self.Liquidate(self.SPY)