mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-13 07:46:53 +08:00
Update data crawler
This commit is contained in:
@@ -27,7 +27,8 @@ pip install -r requirements.txt
|
|||||||
## Collector Data
|
## Collector Data
|
||||||
|
|
||||||
### Get Qlib data(`bin file`)
|
### Get Qlib data(`bin file`)
|
||||||
> `qlib-data` from *YahooFinance*, is the data that has been dumped and can be used directly in `qlib`
|
> `qlib-data` from *YahooFinance*, is the data that has been dumped and can be used directly in `qlib`.
|
||||||
|
> This ready-made qlib-data is not updated regularly. If users want the latest data, please follow [these steps](#collector-yahoofinance-data-to-qlib) download the latest data.
|
||||||
|
|
||||||
- get data: `python scripts/get_data.py qlib_data`
|
- get data: `python scripts/get_data.py qlib_data`
|
||||||
- parameters:
|
- parameters:
|
||||||
@@ -57,7 +58,8 @@ pip install -r requirements.txt
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Collector *YahooFinance* data to qlib
|
### Collector *YahooFinance* data to qlib
|
||||||
> collector *YahooFinance* data and *dump* into `qlib` format
|
> collector *YahooFinance* data and *dump* into `qlib` format.
|
||||||
|
> If the above ready-made data can't meet users' requirements, users can follow this section to crawl the latest data and convert it to qlib-data.
|
||||||
1. download data to csv: `python scripts/data_collector/yahoo/collector.py download_data`
|
1. download data to csv: `python scripts/data_collector/yahoo/collector.py download_data`
|
||||||
|
|
||||||
- parameters:
|
- parameters:
|
||||||
|
|||||||
Reference in New Issue
Block a user