pep8 conversion of python alphas and benchmark algos (#7956)

* pep8 conversion of alphas

* pep8 conversion of benchmarks

* Various fixes and rebase

---------

Co-authored-by: Martin Molinero <martin.molinero1@gmail.com>
This commit is contained in:
Louis Szeto
2024-04-20 01:50:59 +08:00
committed by GitHub
parent 279a7ef235
commit d2669fb0c2
25 changed files with 769 additions and 773 deletions
@@ -33,7 +33,7 @@ class DropboxCoarseFineAlgorithm(QCAlgorithm):
self.url = "https://www.dropbox.com/s/x2sb9gaiicc6hm3/tickers_with_dates.csv?dl=1"
def on_end_of_day(self):
for security in self.active_securities.values():
for security in self.active_securities.values:
self.debug(f"{self.time.date()} {security.symbol.value} with Market Cap: ${security.fundamentals.market_cap}")
def select_coarse(self, coarse):