持仓变动
/v1/fund-holding-changes机构版对比最近几期季报,给出新进 / 跌出 / 加仓 / 减仓清单,以及多期趋势。机构版可用。
回答的问题:这只基金这季新进了什么、砍了什么、加仓减仓了哪些?
请求参数
| 参数 | 必填 | 类型 | 默认 | 说明 |
|---|---|---|---|---|
code | ✅ | string | — | 6 位场外基金代码,如 110022 |
periods | — | int | 4 | 回溯几个报告期(2–8) |
top_n | — | int | 10 | 对比范围取前几名(5–20) |
响应字段
| 字段 | 类型 | 说明 |
|---|---|---|
latest_period / prev_period | string | 本期 / 上期报告期 |
top_n_effective | int | 实际生效的对比范围(受各期披露条数限制) |
summary | object | 汇总:new_in / out / increase / decrease / flat / top_weight_pct / disclosed / disclosed_prev |
changes[] | array | 逐股变动,见下 |
changes[].action | string | 变动类型,如 new_in / out / increase / decrease / flat |
changes[].code / name | string | 股票代码 / 名称 |
changes[].weight_pct / weight_prev_pct / weight_delta_pct | number | 本期 / 上期占净值比与差值 |
changes[].shares_wan / shares_prev_wan / shares_delta_pct | number | 持股数(万股)与变化 |
changes[].market_value_wan | number | 本期持仓市值(万元,报告期末) |
history[] | array | 多期趋势:period / disclosed / top_weight_pct / new_in / out / increase / decrease |
真实响应样例
用 110022 实抓的真实响应。列表类字段已截短以便阅读(原始响应更完整); 其中的 elapsed_ms 是某一次的耗时,首次请求通常 1–3 秒。
{
"ok": true,
"endpoint": "fund-holding-changes",
"tier": "institutional",
"elapsed_ms": 21752,
"data": {
"code": "110022",
"name": "易方达消费行业股票",
"scale_yi": 101.09,
"latest_period": "2026年3季度",
"prev_period": "2026年2季度",
"top_n": 10,
"top_n_effective": 10,
"summary": {
"new_in": 0,
"out": 0,
"increase": 3,
"decrease": 0,
"flat": 7,
"replaced_pct": 0,
"top_weight_pct": 72.45,
"top_weight_prev_pct": 67.6,
"top_weight_delta_pct": 4.85,
"disclosed": 13,
"disclosed_prev": 48
},
"changes": [
{
"action": "increase",
"code": "002594",
"name": "比亚迪",
"weight_pct": 8.64,
"weight_prev_pct": 7.96,
"weight_delta_pct": 0.68,
"shares_wan": 1048.87,
"shares_prev_wan": 969.5,
"shares_delta_pct": 8.19,
"market_value_wan": 87381.67
},
{
"action": "increase",
"code": "000596",
"name": "古井贡酒",
"weight_pct": 6.84,
"weight_prev_pct": 4.45,
"weight_delta_pct": 2.39,
"shares_wan": 738.95,
"shares_prev_wan": 541.1,
"shares_delta_pct": 36.56,
"market_value_wan": 69129.03
},
{
"action": "increase",
"code": "000568",
"name": "泸州老窖",
"weight_pct": 5.35,
"weight_prev_pct": 5,
"weight_delta_pct": 0.35,
"shares_wan": 747.58,
"shares_prev_wan": 626.45,
"shares_delta_pct": 19.34,
"market_value_wan": 54034.9
}
],
"history": [
{
"period": "2026年3季度",
"disclosed": 13,
"top_weight_pct": 72.45,
"new_in": 0,
"out": 0,
"increase": 3,
"decrease": 0
},
{
"period": "2026年2季度",
"disclosed": 48,
"top_weight_pct": 67.6,
"new_in": 2,
"out": 2,
"increase": 3,
"decrease": 3
},
{
"period": "2026年1季度",
"disclosed": 13,
"top_weight_pct": 67.24,
"new_in": 2,
"out": 2,
"increase": 1,
"decrease": 6
}
],
"method": "对比定义:只在两期都完整披露的前 10 名范围内逐只比对,股数变化是数据源披露的持股数(万股)直接相减,占净值比变化是数据源披露的占净值比例直接相减;replaced_pct = (新进数 + 掉出数) / (2 × 10)。这些都是本接口基于披露持仓算出来的,不是数据源给的现成字段。",
"note": "季报(1/3 季度)只披露前十大,半年报/年报披露全部持仓,所以本期 disclosed 会比半年报小很多,这是披露规则不是清仓。另外,送股、转增、拆分会让股数被动变化,本接口不做除权还原;基金调仓也可能在同一天完成买回,前十大快照看不出来。"
}
}调用示例
curl "https://api.fundapi.cn/v1/fund-holding-changes?code=110022" \ -H "Authorization: Bearer 你的API Key" \ -H "User-Agent: your-app"
注意
披露条数不同期差异很大,`disclosed` 一定要看
季报只披露前十大,半年报披露全部。示例基金本期披露 13 只、上期 48 只。直接做集合差会把「披露方式不同」读成「清仓 35 只」。
`out` 不等于清仓
只是「本期末不在披露范围内」,不代表基金卖光了。判断真实清仓要看持股数是否归零。