跳到主要内容

因子挖掘产出记录

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

GET /research/mining/runs — 按 run 汇总每次因子挖掘的候选数、保留数与耗时。

需在请求头携带 Authorization: Bearer sk_xxx

响应

响应 dataMiningRunList

字段类型必填说明
itemsMiningRunItem[]挖掘记录列表项。
totalinteger挖掘记录总数。

调用示例

curl "https://api.shengkezhi.com/open/v1/research/mining/runs" -H "Authorization: Bearer sk_xxx"
{
"code": 0,
"data": {
"items": [
{
"elapsed_s": 0,
"retain_rate": 1.0,
"retained": 1,
"route_code": "90ec76ba1f23",
"route_name": "量价共振趋势因子",
"run_id": "20260531_053509_90ec76ba",
"started_at": null,
"status": "succeeded",
"total_candidates": 1
}
],
"total": 1
},
"msg": "ok"
}

与「因子挖掘任务列表」的区别

本接口来自投研数据侧,按 run 汇总挖掘产出:候选因子数、终选保留数、保留率与全程耗时,用于评估某条因子路线挖得好不好。

若要看任务当前跑到哪一步(排队 / 运行中 / 失败原因),请用策略接口的因子挖掘任务列表