mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-10 06:20:57 +08:00
fix all example
This commit is contained in:
committed by
you-n-g
parent
8b28575dad
commit
267ee3555d
@@ -50,23 +50,6 @@ port_analysis_config: &port_analysis_config
|
||||
end_time: 2020-08-01
|
||||
account: 100000000
|
||||
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:
|
||||
model:
|
||||
class: DNNModelPytorch
|
||||
@@ -111,5 +94,4 @@ task:
|
||||
- class: PortAnaRecord
|
||||
module_path: qlib.workflow.record_temp
|
||||
kwargs:
|
||||
config: *port_analysis_config
|
||||
risk_analysis_freq: day
|
||||
config: *port_analysis_config
|
||||
@@ -38,23 +38,6 @@ port_analysis_config: &port_analysis_config
|
||||
end_time: 2020-08-01
|
||||
account: 100000000
|
||||
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:
|
||||
model:
|
||||
class: DNNModelPytorch
|
||||
@@ -98,5 +81,4 @@ task:
|
||||
- class: PortAnaRecord
|
||||
module_path: qlib.workflow.record_temp
|
||||
kwargs:
|
||||
config: *port_analysis_config
|
||||
risk_analysis_freq: day
|
||||
config: *port_analysis_config
|
||||
Reference in New Issue
Block a user