From 85cc74846b5af2e3e6d18666a2f6e399396980b9 Mon Sep 17 00:00:00 2001 From: Linlang <30293408+SunsetWolf@users.noreply.github.com> Date: Tue, 29 Apr 2025 17:24:06 +0800 Subject: [PATCH] fix bugs in the documentation (#1918) * fix bugs in the documentation * fix docs error --- docs/component/workflow.rst | 13 ++++++++----- scripts/data_collector/yahoo/README.md | 6 ------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/docs/component/workflow.rst b/docs/component/workflow.rst index 19ba980a1..f57af8b6e 100644 --- a/docs/component/workflow.rst +++ b/docs/component/workflow.rst @@ -55,13 +55,16 @@ Below is a typical config file of ``qrun``. n_drop: 5 signal: backtest: - limit_threshold: 0.095 + start_time: 2017-01-01 + end_time: 2020-08-01 account: 100000000 benchmark: *benchmark - deal_price: close - open_cost: 0.0005 - close_cost: 0.0015 - min_cost: 5 + exchange_kwargs: + limit_threshold: 0.095 + deal_price: close + open_cost: 0.0005 + close_cost: 0.0015 + min_cost: 5 task: model: class: LGBModel diff --git a/scripts/data_collector/yahoo/README.md b/scripts/data_collector/yahoo/README.md index 17d94c96d..4b7de5c31 100644 --- a/scripts/data_collector/yahoo/README.md +++ b/scripts/data_collector/yahoo/README.md @@ -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 # us 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