microsoft / qlib

Qlib is an AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing productions. Qlib supports diverse machine learning modeling paradigms. including supervised learning, market dynamics modeling, and RL.
https://qlib.readthedocs.io/en/latest/
MIT License
14.55k stars 2.53k forks source link

HS_SYMBOLS_URL 404 #1757

Open zhstark opened 3 months ago

zhstark commented 3 months ago

🐛 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.

Additional Notes

fhu889 commented 2 months ago

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