qlib icon indicating copy to clipboard operation
qlib copied to clipboard

HS_SYMBOLS_URL 404

Open zhstark opened this issue 1 year ago • 1 comments

🐛 Bug Description

The URL used in scripts/data_collector/utils.py is dead.

To Reproduce

Steps to reproduce the behavior:

  1. run collector.py under scripts/data_collector/pit
  2. it gets stuck after logging "get cn stock symbols....."
  3. debug finds that requests.get(HS_SYMBOLS_URL.format(s_type=_k), timeout=None) gets 404 response.

Expected Behavior

HS_SYMBOLS_URL return right symbols

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information and paste them here directly.

  • Qlib version: "0.9.3.99"
  • Python version: 3.8
  • OS (Windows, Linux, MacOS):MacOS

Additional Notes

zhstark avatar Mar 11 '24 03:03 zhstark

I encountered the same issue. Excuse me, have you resolved it?

fhu889 avatar Apr 14 '24 05:04 fhu889