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

This commit is contained in:
Martin Molinero
2024-09-18 17:05:22 -03:00
parent 9d38a71eb0
commit 73f8ac08eb
8 changed files with 71 additions and 27 deletions
@@ -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