ETF 資產配置
獲取 ETF 的資產配置資訊,包含持倉、地區分佈、資產類別及行業分佈。
SDK Links
Parameters
SDK 方法參數。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | ETF 標的代碼,如 QQQ.US |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"info": [
{
"report_date": "20260601",
"asset_type": "Holdings",
"lists": [
{
"name": "NVIDIA Corp",
"code": "NVDA",
"position_ratio": "0.0861114",
"symbol": "NVDA.US",
"name_locales": {
"zh-CN": "英偉達"
},
"holding_detail": {
"industry_id": "10101010",
"industry_name": "Semiconductors",
"index": "BK/US/CP99000",
"index_name": "S&P 500"
}
}
]
},
{
"report_date": "20260601",
"asset_type": "Regional",
"lists": [
{
"name": "United States",
"code": "",
"position_ratio": "0.9823",
"symbol": "",
"name_locales": {}
}
]
}
]
}
}Response Status
| 狀態碼 | 描述 | 數據結構 |
|---|---|---|
| 200 | 成功 | AssetAllocationResponse |
| 400 | 請求錯誤 | 無 |
Schemas
AssetAllocationResponse
| 字段名 | 類型 | 必填 | 描述 |
|---|---|---|---|
| info | object[] | 是 | 資產配置分組列表,見 AssetAllocationGroup |
AssetAllocationGroup
| 字段名 | 類型 | 必填 | 描述 |
|---|---|---|---|
| report_date | string | 否 | 報告日期(如 20260601) |
| asset_type | string | 否 | 配置類型:Holdings(持倉)、Regional(地區)、AssetClass(資產類別)、Industry(行業) |
| lists | object[] | 是 | 配置明細列表,見 AssetAllocationItem |
AssetAllocationItem
| 字段名 | 類型 | 必填 | 描述 |
|---|---|---|---|
| name | string | 否 | 名稱 |
| code | string | 否 | 證券代碼(僅持倉類型,如 NVDA) |
| position_ratio | string | 否 | 持倉比例(如 0.0861114) |
| symbol | string | 否 | 證券標的代碼(僅持倉類型,如 NVDA.US) |
| name_locales | object | 否 | 多語言名稱(語言 → 名稱) |
| holding_detail | object | 否 | 持倉明細(僅持倉類型),見 HoldingDetail |
HoldingDetail
| 字段名 | 類型 | 必填 | 描述 |
|---|---|---|---|
| industry_id | string | 否 | 行業 ID |
| industry_name | string | 否 | 行業名稱 |
| index | string | 否 | 指數代碼(如 BK/US/CP99000) |
| index_name | string | 否 | 指數名稱 |