Open l0ngc opened 1 month ago
Sorry, there is no script to sample 5min data from 1min data, but we do have a publicly available 5min data that can be used, which was created based on CSI300.
Download method: python scripts/get_data.py qlib_data --name qlib_data --target _dir ~/.qlib/qlib_data/cn_data_5min --region hs300 --interval 5min
Of course, if you can create a script that samples from 1min to 5min data, you are more than welcome to do so.
❓ 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.
I understand that the backtest configuration and dataset reading are set to a 5-minute frequency. However, the current cached dataset only has a 1-minute frequency. I am wondering if there are any scripts available that could oversample the frequency from 1-minute to 5-minute.
Thanks.