Skip to content

Commit

Permalink
fix(data-source/yahoo): call super constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Caceresenzo committed Jun 5, 2024
1 parent b265246 commit 91c2c77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bktest/data/source/yahoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
class YahooDataSource(DataSource):

def __init__(self, field="Adj Close"):
super().__init__()

self.field = field

def fetch_prices(self, symbols, start, end):
Expand Down

0 comments on commit 91c2c77

Please sign in to comment.