Skip to content

Commit 2b74b4d

Browse files
authored
Merge pull request #357 from zhupr/fix_yahoo_collector
Fix yahoo_collector
2 parents ba56e40 + 598ee87 commit 2b74b4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/data_collector/yahoo/collector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def download_index_data(self):
185185

186186

187187
class YahooCollectorCN(YahooCollector, ABC):
188-
def get_stock_list(self):
188+
def get_instrument_list(self):
189189
logger.info("get HS stock symbos......")
190190
symbols = get_hs_stock_symbols()
191191
logger.info(f"get {len(symbols)} symbols.")
@@ -249,7 +249,7 @@ def download_index_data(self):
249249

250250

251251
class YahooCollectorUS(YahooCollector, ABC):
252-
def get_stock_list(self):
252+
def get_instrument_list(self):
253253
logger.info("get US stock symbols......")
254254
symbols = get_us_stock_symbols() + [
255255
"^GSPC",

0 commit comments

Comments
 (0)