Portfolio diagnostics
/v1/fund-portfolio-diagnoseInstitutionalOne call returns diagnostics for the whole portfolio: industry exposure and concentration, look-through top holdings, pairwise fund overlap, multi-period position trend, and total weighted fees. Answers "which industries, how heavy, which two overlap most, how much fees eat". Institutional and above.
Request parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
codes | ✅ | string | — | 1–6 fund codes, comma separated, e.g. 110022,009265 |
weights | ✅ | string | — | Weights aligned one-to-one with codes, comma separated, e.g. 0.6,0.4 |
Response fields
| Field | Type | Description |
|---|---|---|
funds[] | array | Portfolio members: code / name / weight / scale_yi / equity_pct / report_period / fee_annual_pct |
industry_exposure | object | Industry exposure: as_of / covered_weight_pct / concentration / list[] |
industry_exposure.list[].name / weight_pct | string|number | Industry name / weight in the portfolio (%) |
industry_exposure.list[].funds[] | array | That industry's share within each fund: code / pct |
industry_exposure.concentration | object | Concentration measure (e.g. top 3 industries share) |
top_holdings | object | Look-through top holdings: stock_count / covered_weight_pct / list[] |
overlap[] | array | Pairwise overlap: pair (two codes) / common_count / common[] |
position_trend.quarters[] | array | Stock position over periods: report_date / weighted_stock_pct |
fee | object | Weighted annual fee with per-fund breakdown: weighted_annual_pct / components / list[] |
Real response sample
Captured live using 110022. List fields are shortened for readability (the real response is longer); elapsed_ms is from that one call — the first request usually takes 1–3 seconds.
{
"ok": true,
"endpoint": "fund-portfolio-diagnose",
"tier": "institutional",
"elapsed_ms": 4042,
"data": {
"funds": [
{
"code": "110022",
"name": "易方达消费行业股票",
"weight": 0.6,
"scale_yi": 101.09,
"equity_pct": 90.45,
"report_period": "2026年3季度",
"fee_annual_pct": 1.4
},
{
"code": "009265",
"name": "易方达消费精选股票",
"weight": 0.4,
"scale_yi": 21.76,
"equity_pct": 89.4,
"report_period": "2026年3季度",
"fee_annual_pct": 1.4
}
],
"industry_exposure": {
"as_of": [
"2026年3季度"
],
"covered_weight_pct": 90.032,
"concentration": {
"top3_pct": 84.822,
"top5_pct": 88.326
},
"list": [
{
"name": "制造业",
"weight_pct": 74.308,
"funds": [
{
"code": "110022",
"pct": 88.4
},
{
"code": "009265",
"pct": 53.17
}
]
},
{
"name": "非必需消费品",
"weight_pct": 7.984,
"funds": [
{
"code": "009265",
"pct": 19.96
}
]
},
{
"name": "租赁和商务服务业",
"weight_pct": 2.53,
"funds": [
{
"code": "110022",
"pct": 0.95
},
{
"code": "009265",
"pct": 4.9
}
]
}
]
},
"top_holdings": {
"stock_count": 14,
"covered_weight_pct": 68.602,
"list": [
{
"code": "600519",
"name": "贵州茅台",
"weight_pct": 9.904,
"via": [
{
"code": "110022",
"weight": 0.6,
"nav_ratio": 9.96,
"contrib_pct": 5.976
},
{
"code": "009265",
"weight": 0.4,
"nav_ratio": 9.82,
"contrib_pct": 3.928
}
],
"fund_count": 2
},
{
"code": "000333",
"name": "美的集团",
"weight_pct": 8.048,
"via": [
{
"code": "110022",
"weight": 0.6,
"nav_ratio": 9.48,
"contrib_pct": 5.688
},
{
"code": "009265",
"weight": 0.4,
"nav_ratio": 5.9,
"contrib_pct": 2.36
}
],
"fund_count": 2
},
{
"code": "600809",
"name": "山西汾酒",
"weight_pct": 7.004,
"via": [
{
"code": "110022",
"weight": 0.6,
"nav_ratio": 8.62,
"contrib_pct": 5.172
},
{
"code": "009265",
"weight": 0.4,
"nav_ratio": 4.58,
"contrib_pct": 1.832
}
],
"fund_count": 2
}
]
},
"overlap": [
{
"pair": [
"110022",
"009265"
],
"common_count": 6,
"common": [
{
"code": "600519",
"name": "贵州茅台",
"nav_ratio": {
"110022": 9.96,
"009265": 9.82
}
},
{
"code": "000333",
"name": "美的集团",
"nav_ratio": {
"110022": 9.48,
"009265": 5.9
}
},
{
"code": "002594",
"name": "比亚迪",
"nav_ratio": {
"110022": 8.64,
"009265": 4.26
}
}
]
}
],
"position_trend": {
"quarters": [
{
"report_date": "2024-12-31",
"weighted_stock_pct": 89.362
},
{
"report_date": "2025-03-31",
"weighted_stock_pct": 90.51
},
{
"report_date": "2025-06-30",
"weighted_stock_pct": 89.43
}
],
"latest_weighted_stock_pct": 90.03,
"note": "股票市值占基金净值的比例,逐季取自基金季报/年报;只保留所有基金都有披露的报告期,最多回看 8 季。"
},
"fee": {
"weighted_annual_pct": 1.4,
"components": [
"管理费",
"托管费"
],
"list": [
{
"code": "110022",
"name": "易方达消费行业股票",
"weight": 0.6,
"manage_pct": 1.2,
"custodian_pct": 0.2,
"annual_pct": 1.4,
"buy_fee": 1.5,
"buy_fee_discount": 0.15,
"state": "开放申购 开放赎回 开放定投"
},
{
"code": "009265",
"name": "易方达消费精选股票",
"weight": 0.4,
"manage_pct": 1.2,
"custodian_pct": 0.2,
"annual_pct": 1.4,
"buy_fee": 1.5,
"buy_fee_discount": 0.15,
"state": "开放申购 开放赎回 开放定投"
}
]
},
"method": "行业暴露 = Σ(基金权重 × 该行业占基金净值比);重仓穿透 = Σ(基金权重 × 个股占基金净值比);费率合计 = Σ(基金权重 × (管理费率 + 托管费率))。权重按比例处理(传 60/40 或 0.6/0.4 均可)。",
"note": "⚠️ 行业暴露与重仓穿透都只覆盖**季报披露的前 10 大重仓股**,不等于基金的全部持仓;行业名称按数据源分类汇总,A 股为证监会门类、港股为港股行业分类,同名才相加。费率合计只含管理费与托管费,不含销售服务费和一次性申赎费用。"
}
}Example call
curl "https://api.fundapi.cn/v1/fund-portfolio-diagnose?code=110022" \ -H "Authorization: Bearer YOUR_KEY" \ -H "User-Agent: your-app"
Notes
A mismatch between `codes` and `weights` is an error. Use 0.6 / 0.4 or 60 / 40, but never mix the two styles in one call.
Industry exposure reclassifies the held stocks and aggregates them, so it may not match the industry breakdown in the fund's quarterly report exactly.
`fee.components` lists which fee items were included. Subscription and sales service fees are not part of the annual rate — do not treat it as total cost of ownership.