1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

fix_yahoo_collector_bug (#1257)

This commit is contained in:
Linlang
2022-08-29 17:49:14 +08:00
committed by GitHub
parent 1d65d28b28
commit ae85562a03

View File

@@ -143,7 +143,7 @@ class YahooCollector(BaseCollector):
_show_logging_func() _show_logging_func()
except Exception as e: except Exception as e:
logger.warning( logger.warning(
f"get data error: {symbol}--{start_}--{end_}" f"get data error: {symbol}--{start}--{end}"
+ "Your data request fails. This may be caused by your firewall (e.g. GFW). Please switch your network if you want to access Yahoo! data" + "Your data request fails. This may be caused by your firewall (e.g. GFW). Please switch your network if you want to access Yahoo! data"
) )