实盘价值审核任务详情
GET
/research/promotions/{promotion_id}在线调试GET https://api.shengkezhi.com/open/v1/research/promotions/{promotion_id}等效 curl
curl "https://api.shengkezhi.com/open/v1/research/promotions/{promotion_id}" \
-H "Authorization: Bearer sk_xxx"GET /research/promotions/{promotion_id} — 实盘价值审核任务详情。
需在请求头携带 Authorization: Bearer sk_xxx。
路径参数
| 参数 | 必填 | 说明 |
|---|---|---|
promotion_id | 是 | 审核任务 ID |
响应
响应 data — PromotionView
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
created_at | string | ✔ | 任务创建时间,RFC3339 UTC。 |
error | object(自由形)|null | 任务失败时的错误详情 JSON(含错误码与消息),成功时为 null。 | |
experiment_id | string | ✔ | 该策略所属实验的编号,对应 strategy_exploration 下的实验目录。 |
lifecycle | string|null | 策略在实盘跟踪中的生命周期阶段标签,由 promote 请求携带,可为空。 | |
phase | string | ✔ | 任务当前所处的细粒度阶段,如 realtime_running 到 completed 或 failed。 |
promotion_id | string | ✔ | promote 异步任务编号,格式为 promote_策略_时间戳_序号,后端自动生成。 |
realtime | object(自由形)|null | FC(Function Compute)实盘回调透传的实时结果 JSON,任务尚未回调时为 null。 | |
registered | boolean | ✔ | 提交 promote 时标记该策略是否已在实盘库登记。 |
status | PromotionStatus | ✔ | promote 任务的整体状态,取值见 PromotionStatus(running 或 succeeded 或 failed)。 |
strategy_code | string | ✔ | 被推入实盘跟踪的策略编号,如 TS_1D_4E70093D。 |
updated_at | string | ✔ | 任务最近一次更新时间,RFC3339 UTC。 |
P6 · 实盘策略跟踪
调用示例
curl "https://api.shengkezhi.com/open/v1/research/promotions/promote_TS_1D_4E70093D_001" -H "Authorization: Bearer sk_xxx"
{
"code": 0,
"msg": "ok",
"data": {
"promotion_id": "promote_TS_1D_4E70093D_001",
"experiment_id": "experiment-20260724-001",
"strategy_code": "TS_1D_4E70093D",
"status": "succeeded",
"phase": "completed",
"registered": true,
"lifecycle": "实盘",
"realtime": {
"nav_start": "2026-07-29",
"symbols": 2
},
"error": null,
"created_at": "2026-07-29T07:04:00Z",
"updated_at": "2026-07-29T07:06:12Z"
}
}