1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

fix bugs in the documentation (#1918)

* fix bugs in the documentation

* fix docs error
This commit is contained in:
Linlang
2025-04-29 17:24:06 +08:00
committed by GitHub
parent 950408ef46
commit 85cc74846b
2 changed files with 8 additions and 11 deletions

View File

@@ -55,13 +55,16 @@ Below is a typical config file of ``qrun``.
n_drop: 5 n_drop: 5
signal: <PRED> signal: <PRED>
backtest: backtest:
limit_threshold: 0.095 start_time: 2017-01-01
end_time: 2020-08-01
account: 100000000 account: 100000000
benchmark: *benchmark benchmark: *benchmark
deal_price: close exchange_kwargs:
open_cost: 0.0005 limit_threshold: 0.095
close_cost: 0.0015 deal_price: close
min_cost: 5 open_cost: 0.0005
close_cost: 0.0015
min_cost: 5
task: task:
model: model:
class: LGBModel class: LGBModel

View File

@@ -50,12 +50,6 @@ pip install -r requirements.txt
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min
# us 1d # us 1d
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/us_data --region us --interval 1d python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/us_data --region us --interval 1d
# us 1min
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/us_data_1min --region us --interval 1min
# in 1d
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/in_data --region in --interval 1d
# in 1min
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/in_data_1min --region in --interval 1min
``` ```
### Collector *YahooFinance* data to qlib ### Collector *YahooFinance* data to qlib