Skip to content

Commit

Permalink
Update estimator.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupr committed Sep 20, 2020
1 parent dd18ffd commit e01553f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/component/estimator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ First, Write a simple configuration file as following,
num_leaves: 210
num_threads: 20
data:
class: QLibDataHandlerV1
class: QLibDataHandlerClose
args:
dropna_label: True
filter:
Expand All @@ -79,7 +79,7 @@ First, Write a simple configuration file as following,
limit_threshold: 0.095
account: 100000000
benchmark: SH000905
deal_price: vwap
deal_price: close
open_cost: 0.0005
close_cost: 0.0015
min_cost: 5
Expand Down Expand Up @@ -284,7 +284,7 @@ Users can use the specified data handler by config as follows.
.. code-block:: YAML
data:
class: QLibDataHandlerV1
class: QLibDataHandlerClose
args:
start_date: 2005-01-01
end_date: 2018-04-30
Expand Down Expand Up @@ -520,7 +520,7 @@ Users can specify `backtest` through a config file, for example:
topk: 50
benchmark: SH000905
account: 500000
deal_price: vwap
deal_price: close
min_cost: 5
subscribe_fields:
- $close
Expand Down

0 comments on commit e01553f

Please sign in to comment.