mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-10 14:26:56 +08:00
Merge pull request #452 from arisliang/patch-1
Add import stock pool in doc
This commit is contained in:
@@ -152,6 +152,16 @@ After conversion, users can find their Qlib format data in the directory `~/.qli
|
|||||||
|
|
||||||
In the convention of `Qlib` data processing, `open, close, high, low, volume, money and factor` will be set to NaN if the stock is suspended.
|
In the convention of `Qlib` data processing, `open, close, high, low, volume, money and factor` will be set to NaN if the stock is suspended.
|
||||||
|
|
||||||
|
Stock Pool (Market)
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
``Qlib`` defines `stock pool <https://github.com/microsoft/qlib/blob/main/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml#L4>`_ as stock list and their date ranges. Predefined stock pools (e.g. csi300) may be imported as follows.
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
python collector.py --index_name CSI300 --qlib_dir <user qlib data dir> --method parse_instruments
|
||||||
|
|
||||||
|
|
||||||
Multiple Stock Modes
|
Multiple Stock Modes
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user