跳到主要内容

实盘策略详情

GET/research/strategies/{code}在线调试
GET https://api.shengkezhi.com/open/v1/research/strategies/STS_60M_1I7G6TS4
等效 curl
curl "https://api.shengkezhi.com/open/v1/research/strategies/STS_60M_1I7G6TS4" \
  -H "Authorization: Bearer sk_xxx"

GET /research/strategies/{code} — 实盘策略详情。

需在请求头携带 Authorization: Bearer sk_xxx

请求参数

参数位置类型必填默认值说明
codepathstring-策略编号

响应 data

字段类型必填说明
base_freqstring策略基础频率短码(如日线 1D)。
codestring策略编号,格式 PREFIX_FREQ_HASH8,由 problem 前缀、频率短码和因子集合哈希拼成,系统自动生成。
descriptionstring策略描述(strategy_create 自动生成,含 problem、route、filter 与因子摘要)。
memostring用户维护的策略笔记;空字符串表示未填写。
outsample_sdtstring样本外起始日期,此后进入后置验证与实盘跟踪区间。
recent_updateStrategyRecentUpdate最近更新情况:最新心跳时间与最新权重日期。
statusstring三态生命周期状态,取值 实盘暂停废弃
tagsstring[]策略标签集合(研究员或系统打的分类标记)。
update_timestring策略元信息的最近更新时间。
weight_typestring权重口径:ts 时序(多标的日收益取均值)或 cs 截面(多标的日收益直接求和)。

StrategyRecentUpdate 字段

字段类型必填说明
last_heartbeatstring最近一次心跳时间,反映策略实盘运行的存活时间戳。
latest_weight_datestring最新持仓权重的数据日期。

调用示例

curl -X GET "https://api.shengkezhi.com/open/v1/research/strategies/STS_60M_1I7G6TS4" \
-H "Authorization: Bearer sk_xxx"
{
"code": 0,
"msg": "ok",
"data": {
"code": "STS_60M_1I7G6TS4",
"base_freq": "60分钟",
"status": "实盘",
"description": "[auto-generated by strategy_create @ 2026-06-28]\nproblem = STS_BJ60MIN_LEADERS / 60M\nroute = 7a31f4c9e102 / 价格极值凸显不对称时序因子\n 历史最高价偏离均值凸显性减最低价偏离均值凸显性;正值代表高估与负超额倾向\nfilter = single_profit_top_n -> TS001\nfactors = 3 [TSA_260627_FSCER9Z8, TSA_260627_ICG4K8P3, TSA_260627_QSDR6ZBY]",
"memo": "imported from toml",
"weight_type": "ts",
"outsample_sdt": "2025-01-01 00:00:00",
"update_time": "2026-07-12 00:17:14.246864",
"tags": [],
"recent_update": {
"last_heartbeat": "2026-08-21 16:10:42.226135",
"latest_weight_date": "2026-08-21 15:00:00"
}
}
}```