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:
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user