跳到主要内容

实盘价值审核任务详情

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

GET /research/promotions/{promotion_id} — 实盘价值审核任务详情。

需在请求头携带 Authorization: Bearer sk_xxx

请求参数

参数位置类型必填默认值说明
promotion_idpathstring-promote 接口返回的实盘更新任务编号

响应 data

字段类型必填说明
created_atstring任务创建时间,RFC3339 UTC。
errorobject | null任务失败时的错误详情 JSON(含错误码与消息),成功时为 null
experiment_idstring | null该策略所属实验的编号,对应 strategy_exploration 下的实验目录。
lifecyclestring | null策略在实盘跟踪中的生命周期阶段标签,由 promote 请求携带,可为空。
phasestring任务当前所处的细粒度阶段,如 realtime_runningcompletedfailed
promotion_idstringpromote 异步任务编号,格式为 promote_策略_时间戳_序号,后端自动生成。
realtimeobject | nullFC(Function Compute)实盘回调透传的实时结果 JSON,任务尚未回调时为 null
registeredboolean提交 promote 时标记该策略是否已在实盘库登记。
statusPromotionStatuspromote 任务的整体状态,取值见 PromotionStatusrunningsucceededfailed)。
strategy_codestring被推入实盘跟踪的策略编号,如 TS_1D_4E70093D
updated_atstring任务最近一次更新时间,RFC3339 UTC。

PromotionStatus 取值

取值说明
running任务进行中,实盘回调结果尚未返回。
succeeded任务成功,策略已通过实盘校验并写入实盘跟踪库。
failed任务失败,实盘回调报错或校验未通过。

调用示例

curl -X GET "https://api.shengkezhi.com/open/v1/research/promotions/promotion_20260701_001" \
-H "Authorization: Bearer sk_xxx"
{
"code": 0,
"msg": "ok",
"data": {
"created_at": "2026-07-01T08:00:00Z",
"error": {},
"experiment_id": "a79dfc93b7e64a6cbbe26f2a787a6bad",
"lifecycle": "示例Lifecycle",
"phase": "示例Phase",
"promotion_id": "promotion_20260701_001",
"realtime": {},
"registered": true,
"status": "running",
"strategy_code": "STRAT_MOMENTUM_001",
"updated_at": "2026-07-01T08:00:00Z"
}
}```