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
@@ -61,5 +61,5 @@ class LongOnlyAlphaStreamAlgorithm(QCAlgorithm):
def OnOrderEvent(self, orderEvent):
if orderEvent.Status == OrderStatus.Filled:
if self.Securities[orderEvent.Symbol].Holdings.IsShort:
raise ValueError("Invalid position, should not be short");
raise ValueError("Invalid position, should not be short")
self.Debug(orderEvent)