mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 16:56:54 +08:00
fix all example
This commit is contained in:
committed by
you-n-g
parent
8b28575dad
commit
267ee3555d
@@ -45,23 +45,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: ALSTM
|
class: ALSTM
|
||||||
@@ -110,4 +93,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: ALSTM
|
class: ALSTM
|
||||||
@@ -100,4 +83,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -23,23 +23,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: CatBoostModel
|
class: CatBoostModel
|
||||||
@@ -82,4 +65,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -30,23 +30,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: CatBoostModel
|
class: CatBoostModel
|
||||||
@@ -89,4 +72,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -23,23 +23,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: DEnsembleModel
|
class: DEnsembleModel
|
||||||
@@ -107,4 +90,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -30,23 +30,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: DEnsembleModel
|
class: DEnsembleModel
|
||||||
@@ -114,4 +97,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -44,23 +44,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: GATs
|
class: GATs
|
||||||
@@ -109,4 +92,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: GATs
|
class: GATs
|
||||||
@@ -101,4 +84,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -45,23 +45,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: GRU
|
class: GRU
|
||||||
@@ -109,4 +92,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: GRU
|
class: GRU
|
||||||
@@ -99,4 +82,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -45,23 +45,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LSTM
|
class: LSTM
|
||||||
@@ -109,4 +92,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LSTM
|
class: LSTM
|
||||||
@@ -99,4 +82,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -23,23 +23,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LGBModel
|
class: LGBModel
|
||||||
@@ -83,4 +66,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -30,23 +30,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LGBModel
|
class: LGBModel
|
||||||
@@ -90,4 +73,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -38,23 +38,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LGBModel
|
class: LGBModel
|
||||||
@@ -98,4 +81,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: LinearModel
|
class: LinearModel
|
||||||
@@ -89,4 +72,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -50,23 +50,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: DNNModelPytorch
|
class: DNNModelPytorch
|
||||||
@@ -112,4 +95,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -38,23 +38,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: DNNModelPytorch
|
class: DNNModelPytorch
|
||||||
@@ -99,4 +82,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: SFM
|
class: SFM
|
||||||
@@ -102,4 +85,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -41,23 +41,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: TCTS
|
class: TCTS
|
||||||
@@ -110,4 +93,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
@@ -25,23 +25,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: TFTModel
|
class: TFTModel
|
||||||
@@ -75,4 +58,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: TabnetModel
|
class: TabnetModel
|
||||||
@@ -92,4 +75,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -37,23 +37,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: TabnetModel
|
class: TabnetModel
|
||||||
@@ -92,4 +75,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -23,23 +23,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: XGBModel
|
class: XGBModel
|
||||||
@@ -81,4 +64,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
@@ -30,23 +30,6 @@ port_analysis_config: &port_analysis_config
|
|||||||
end_time: 2020-08-01
|
end_time: 2020-08-01
|
||||||
account: 100000000
|
account: 100000000
|
||||||
benchmark: *benchmark
|
benchmark: *benchmark
|
||||||
executor:
|
|
||||||
class: NestedExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: week
|
|
||||||
inner_executor:
|
|
||||||
class: SimulatorExecutor
|
|
||||||
module_path: qlib.backtest.executor
|
|
||||||
kwargs:
|
|
||||||
time_per_step: day
|
|
||||||
generate_report: True
|
|
||||||
verbose: True
|
|
||||||
inner_strategy:
|
|
||||||
class: TWAPStrategy
|
|
||||||
module_path: qlib.contrib.strategy.rule_strategy
|
|
||||||
track_data: True
|
|
||||||
generate_report: True
|
|
||||||
task:
|
task:
|
||||||
model:
|
model:
|
||||||
class: XGBModel
|
class: XGBModel
|
||||||
@@ -88,4 +71,3 @@ task:
|
|||||||
module_path: qlib.workflow.record_temp
|
module_path: qlib.workflow.record_temp
|
||||||
kwargs:
|
kwargs:
|
||||||
config: *port_analysis_config
|
config: *port_analysis_config
|
||||||
risk_analysis_freq: day
|
|
||||||
|
|||||||
Reference in New Issue
Block a user