实盘策略近期评价
GET
/research/strategies/{code}/recent-eval在线调试GET https://api.shengkezhi.com/open/v1/research/strategies/{code}/recent-eval等效 curl
curl "https://api.shengkezhi.com/open/v1/research/strategies/{code}/recent-eval" \
-H "Authorization: Bearer sk_xxx"GET /research/strategies/{code}/recent-eval — 实盘策略近期评价。
需在请求头携带 Authorization: Bearer sk_xxx。
路径参数
| 参数 | 必填 | 说明 |
|---|---|---|
code | 是 | 编码 |
响应
响应 data — StrategyRecentEval
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
history | object(自由形) | ✔ | 历史回撤/收益(含中文键)。 |
history_ok | boolean | ✔ | 历史判定:全样本绝对收益为正且最大回撤低于阈值。 |
is_good | boolean | ✔ | 综合评价结论:仅当历史与近期两项均达标时为 true。 |
params | RecentEvalParams | ✔ | 近期评价所用的参数(窗口天数、目标波动率、回撤阈值)。 |
reason | string | ✔ | 达标或不达标的文字说明。 |
recent | object(自由形) | ✔ | 近一年核心指标(含中文键 + sdt/edt)。 |
recent_ok | boolean | ✔ | 近期判定:近一年收益为正且近期回撤低于去尾历史回撤。 |
调用示例
curl "https://api.shengkezhi.com/open/v1/research/strategies/TS_1D_4E70093D/recent-eval" -H "Authorization: Bearer sk_xxx"
{
"code": 0,
"data": {
"history": {
"全样本回撤": 0.0,
"去尾历史回撤": 0.0,
"绝对收益": 0.02
},
"history_ok": true,
"is_good": true,
"params": {
"max_dd_threshold": 0.2,
"recent_days": 252,
"target_vol": 0.2
},
"reason": "达标",
"recent": {
"edt": "2026-01-06",
"sdt": "2026-01-04",
"夏普": 8.4853,
"年化": 1.68,
"收益": 0.02,
"最大回撤": 0.0,
"波动率": 0.198
},
"recent_ok": true
},
"msg": "ok"
}