-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Description
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn
直接运行该命令获取到的数据到2020-09-25为止,存放的目录是~/.qlib/qlib_data/cn_data
如何在之前的数据基础上更新至2022-07-20
https://qlib.readthedocs.io/en/latest/component/data.html#data-preparation 该章节给出的命令是:
python scripts/data_collector/yahoo/collector.py update_data_to_bin --qlib_data_1d_dir --trading_date --end_date
替换掉参数后命令为:
python scripts/data_collector/yahoo/collector.py update_data_to_bin --qlib_data_1d_dir ~/.qlib/qlib_data/cn_data --trading_date 2020-09-25 --end_date 2022-07-20
运行报错:
get_simple: 1 :name 'start' is not defined