1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-15 00:36:55 +08:00

add crawler

This commit is contained in:
wangershi
2021-02-28 12:24:26 +08:00
parent 719074d306
commit 6e56396217
3 changed files with 447 additions and 2 deletions

View File

@@ -17,8 +17,8 @@ pip install -r requirements.txt
```bash
# download from yahoo finance
python collector.py download_data --source_dir ~/.qlib/stock_data/source/cn_1d --region CN --start 2020-11-01 --end 2020-11-10 --delay 0.1 --interval 1d
# download from eastmoney.com
python collector.py download_data --source_dir ~/.qlib/fund_data/source/cn_1d --region CN --start 2020-11-01 --end 2020-11-10 --delay 0.1 --interval 1d
# dump data