Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
R
robo-dividend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenwen.tang
robo-dividend
Commits
3ca6bae1
Commit
3ca6bae1
authored
Dec 07, 2022
by
jichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出模块完毕
parent
d88c92ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
config.yml
config.yml
+18
-18
No files found.
config.yml
View file @
3ca6bae1
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment