qlib icon indicating copy to clipboard operation
qlib copied to clipboard

the latest data for cn is not updated

Open wanpengxyzz opened this issue 1 year ago • 3 comments

🐛 Bug Description

To Reproduce

Steps to reproduce the behavior:

1.python scripts/get_data.py qlib_data --target_dir ~/qlib_data/cn_data --region cn can not get the lastest data。

Expected Behavior

Screenshot

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:
  • Python version:
  • OS (Windows, Linux, MacOS):
  • Commit number (optional, please provide it if you are using the dev version):

Additional Notes

wanpengxyzz avatar Apr 13 '23 05:04 wanpengxyzz

Hi, could you please send us more details about your error(e.g the backpack information, the folder structure of your data)?

Fivele-Li avatar Apr 13 '23 10:04 Fivele-Li

Same issue here. I think the data is only updated to 2020/09/25 as I tried.

yifei-zhhhh avatar Jun 03 '23 15:06 yifei-zhhhh

You are right, use the command: python scripts/get_data.py qlib_data --target_dir ~/qlib_data/cn_data --region cn downloaded the data, the latest date of this data is 2020-09-25, is because this data is pre-prepared data that is then stored in the cloud for you to download and use. If you need new data, you can prepare the data yourself, then standardize the data and dump it into qlib format. qlib also provides scripts for you to use.

SunsetWolf avatar Oct 26 '23 05:10 SunsetWolf