跳到主要内容

创建因子挖掘任务

POST/strategy/miner/runs在线调试
POST https://api.shengkezhi.com/open/v1/strategy/miner/runs
等效 curl
curl "https://api.shengkezhi.com/open/v1/strategy/miner/runs" \
  -H "Authorization: Bearer sk_xxx"

POST /strategy/miner/runs — 创建因子挖掘任务。同一用户同一路线编码存在执行中任务时,将返回 409

需在请求头携带 Authorization: Bearer sk_xxx

计费

接口调用成功并返回 fcRunId 后会产生费用,计费价格见产品定价

请求体

字段类型必填说明
routeCodestring路线编码,由创建因子路线接口返回

响应

{ fcRunId, status, routeCode }

特殊状态码

状态码说明
402余额不足或扣费被拒
409该路线正在执行中
503扣费服务不可用或研究数据后端未就绪

实测

curl -X POST "https://api.shengkezhi.com/open/v1/strategy/miner/runs" \
-H "Authorization: Bearer sk_xxx" \
-H "Content-Type: application/json" \
-d '{"routeCode":"RT_20260724_001"}'
{"fcRunId":"fc-run-20260724-abc123","status":"running","routeCode":"RT_20260724_001"}