1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-15 00:36:55 +08:00

add exchange kwargs

This commit is contained in:
wangwenxi.handsome
2021-06-29 21:34:36 +08:00
committed by you-n-g
parent 267ee3555d
commit 93796bdcef
25 changed files with 152 additions and 2 deletions

View File

@@ -37,6 +37,12 @@ port_analysis_config: &port_analysis_config
end_time: 2020-08-01
account: 100000000
benchmark: *benchmark
exchange_kwargs:
limit_threshold: 0.095
deal_price: close
open_cost: 0.0005
close_cost: 0.0015
min_cost: 5
task:
model:
class: LinearModel
@@ -64,7 +70,7 @@ task:
- class: SigAnaRecord
module_path: qlib.workflow.record_temp
kwargs:
ana_long_short: False
ana_long_short: True
ann_scaler: 252
model: <MODEL>
dataset: <DATASET>