1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-01 01:51:18 +08:00
Files
qlib/scripts/README.md
2020-11-19 16:20:03 +08:00

30 lines
545 B
Markdown

# 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
```