forked from microsoft/qlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` | ||
|