Minor improvements
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
This commit is contained in:
@@ -69,5 +69,5 @@ class CallbackCommandRegressionAlgorithm(QCAlgorithm):
|
||||
raise ValueError('InvalidCommand did not throw!')
|
||||
|
||||
def on_command(self, data):
|
||||
self.buy(data.symbol, 1)
|
||||
self.buy(data.symbol, data.parameters["quantity"])
|
||||
return True # False, None
|
||||
|
||||
Reference in New Issue
Block a user