Commit 3ca6bae1 authored by jichao's avatar jichao

导出模块完毕

parent d88c92ae
......@@ -155,15 +155,15 @@ rebalance: # 再平衡模块
cvar-min-volume: 30 # 计算cvar至少需要多少交易日数据
high-low-buy: # 高低买入相关
threshold: [ 0.5, 0.8 ] # [ 低买入阀值,高买入阀值 ]
reports:
benchmark:
init-amount: 100
stock-rate:
reports: # 报告模块相关
benchmark: # benchmark报告
init-amount: 100 # 初始金额
stock-rate: # stock型基金比例
RR3: 0.3
RR4: 0.5
RR5: 0.7
fixed-range:
range-dates:
fixed-range: # 固定区间收益率
range-dates: # 固定起始截止日期
- start: 2008-01-01
end: 2008-10-27
- start: 2011-05-02
......@@ -178,8 +178,8 @@ reports:
end: 2018-10-29
- start: 2020-01-20
end: 2020-03-23
relative-range:
range-dates:
relative-range: # 相对区间收益率
range-dates: # 相对时间周期
- months: 1
name: '一个月'
- months: 3
......@@ -196,16 +196,16 @@ reports:
name: '五年'
- years: 10
name: '十年'
backtest:
exist-build: on
save-path: ${EXPORT_PATH:excels}
include-report:
- hold-report
- signal-report
- benckmark-report
- indicators-report
- fixed-range-report
- relative-range-report
backtest: # 回测导出曹策略
exist-build: on # 如果报告文件存在,是否重新构建文件
save-path: ${EXPORT_PATH:excels} # 导出报告文件存放路径,如果以./或者../开头,则会以执行python文件为根目录,如果以/开头,则为系统绝对路径,否则,以项目目录为根目录
include-report: # 需要导出的报告类型列表,下面的顺序,也代表了excel中sheet的顺序
- hold-report # 持仓报告
- signal-report # 信号报告
- benckmark-report # benckmark报告
- indicators-report # 各种特殊指标报告
- fixed-range-report # 固定区间收益报告
- relative-range-report # 相对区间收益报告
robo-executor: # 执行器相关
use: ${ROBO_EXECUTOR:backtest} #执行哪个执行器,优先取系统环境变量ROBO_EXECUTOR的值,默认backtest
sync-data: ${SYNC_DATA:on}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment