1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

add get_data.py docs

This commit is contained in:
zhupr
2020-11-19 11:08:47 +08:00
committed by you-n-g
parent d019183af9
commit 6f2b51cf55

29
scripts/README.md Normal file
View File

@@ -0,0 +1,29 @@
# Download Qlib Data
## Download CN Data
```bash
python get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn
```
## Downlaod US Data
> The US stock code contains 'PRN', and the directory cannot be created on Windows system
```bash
python get_data.py qlib_data --target_dir ~/.qlib/qlib_data/us_data --region us
```
## Download CN Simple Data
```bash
python get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --region cn
```
## Help
```bash
python get_data.py qlib_data --help
```