-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to download 1min demo china-stock data in CSV format #434
Comments
@arisliang Hi,
You can download some of the data to view the 1min format, collection data reference: /~https://github.com/microsoft/qlib/tree/main/scripts/data_collector/yahoo # --limit_nums: collection of 10 stocks
python scripts/data_collector/yahoo/collector.py download_data --source_dir ~/.qlib/stock_data/source/cn_1min --region CN --start 2021-05-20 --end 2021-05-23 --delay 0.1 --interval 1m
in --limit_nums 10 |
@arisliang Did @zhupr solve your problem? Would you mind sending a PR to improve the documents to help other users to find this feature and become one of the contributors of Qlib! |
Thanks for providing sample format for 1min. That's helpful. The above script doesn't seem to download 1min though. It still downloads 1d data, e.g. sz000008.csv:
And the log: |
@arisliang Did this PR solve your problem? |
Yes, the PR fixes it. Thanks! |
❓ Questions and Help
The document gives an example to download demo csv format in 1day freq at (https://qlib.readthedocs.io/en/latest/component/data.html#converting-csv-format-into-qlib-format):
So it's clear what 1 day freq csv format should look like. Is there similar demo example for 1min freq? So we know what is the correct 1min freq csv format?
The text was updated successfully, but these errors were encountered: