qlib: public access error when running get_data script

❓ Questions and Help

We sincerely suggest you to carefully read the documentation of our library as well as the official paper. After that, if you still feel puzzled, please describe the question clearly under this issue.

running the following command

python get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn

I get this error:

requests.exceptions.HTTPError: 409 Client Error: Public access is not permitted on this storage account. for url: https://qlibpublic.blob.core.windows.net/data/default/stock_data/v2/qlib_data_cn_1d_0.9.1.zip

not seeing any expaination of how this data can be accessed publicly or privately in this documentation?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23

Most upvoted comments

This is a problem we still need to consider. There is currently a solution. Change line 19 in qlib.tests.data to. REMOTE_URL = "http://fintech.msra.cn/stock_data/downloads" and then execute it on the command line. python get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn There will be no problem. Here are the results of my execution. image

got same error

REMOTE_URL = “http://fintech.msra.cn/stock_data/downloads

Hi @yiyione , a contributor has submitted PR1577, which fixes this issue.

REMOTE_URL = “http://fintech.msra.cn/stock_data/downloads

Is this link still working? I’m getting the same error above now.

Public access to the data is currently blocked, and we are working on a solution to this issue.