指标共振回测收益(multi_index_backtest) 在线调试
指标共振回测收益
网关地址
| 沙箱环境调用地址: | https://sandbox.hscloud.cn |
| 数据核查类生产调用地址: | https://api.hscloud.cn |
| 仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
| 其余生产调用地址: | https://open.hscloud.cn |
URL
| https://sandbox.hscloud.cn/quote/v2/multi_index_backtest |
|---|
是否需要业务登录
| 否 |
|---|
HTTP请求方式
| GET |
|---|
请求参数
| 参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|---|
| prod_code | String | 是 | 32 | 产品代码 |
eg: 600570.XSHG
|
返回参数
| 参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|
| prod_code | String | 32 | 产品代码 |
|
|
| time_ranges | String | 32 | 时间范围 |
|
|
| total_returns | Float | 3.3 | 总收益率 |
|
|
| yearly_returns | Float | 3.3 | 年化收益率 |
|
|
| base_returns | Float | 3.3 | 基准收益率 |
|
|
| winrate | Float | 3.3 | 成功率/胜率 |
|
|
| max_draw_down | Float | 3.3 | 最大回撤率 |
|
|
| multi_index_backtest_daily_grp | Object | 指标共振每日收益集 |
请求示例
http://192.168.58.200:8082/quote/v2/multi_index_backtest?prod_code=600570.XSHG
正确返回示例
{
"600570.XSHG": {
"time_ranges": "20100101-99999999",
"total_returns": "40.56",
"yearly_returns": "6.35",
“benchmark_return”:”60.05”,
“winrate”:”80.02”,
“max_draw_down”:”-6.0”
….
"daily": [
{
"date": "20100101",
"TR": "0.00",
"BR": "0.00",
"day_pl": "0",
"OP":"B"
},
...
]
}
