pep8 conversion of python algos #13 (#7955)

* t status
pep8 conversion

* Minor tweaks and rebase

* Various minor fixes

---------

Co-authored-by: Martin Molinero <martin.molinero1@gmail.com>
This commit is contained in:
Louis Szeto
2024-04-20 03:14:12 +08:00
committed by GitHub
parent d2669fb0c2
commit 08a3de9e2d
33 changed files with 312 additions and 312 deletions
@@ -32,8 +32,8 @@ class CustomBrokerageModelRegressionAlgorithm(QCAlgorithm):
def on_data(self, slice):
if not self.portfolio.invested:
self.market_order("SPY", 100.0);
self.aig_ticket = self.market_order("AIG", 100.0);
self.market_order("SPY", 100.0)
self.aig_ticket = self.market_order("AIG", 100.0)
def on_order_event(self, order_event):
spy_ticket = self.transactions.get_order_ticket(order_event.order_id)