跳到主要内容

实盘策略近期评价

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编码

响应

响应 dataStrategyRecentEval

字段类型必填说明
historyobject(自由形)历史回撤/收益(含中文键)。
history_okboolean历史判定:全样本绝对收益为正且最大回撤低于阈值。
is_goodboolean综合评价结论:仅当历史与近期两项均达标时为 true。
paramsRecentEvalParams近期评价所用的参数(窗口天数、目标波动率、回撤阈值)。
reasonstring达标或不达标的文字说明。
recentobject(自由形)近一年核心指标(含中文键 + sdt/edt)。
recent_okboolean近期判定:近一年收益为正且近期回撤低于去尾历史回撤。

调用示例

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"
}