指数成分和权重¶
本页定义目标 API,实际数据查询服务尚未实现。示例仅用于表达请求和响应格式。
数据产品标识:index.constituents
证券对象标识示例:000001.SZ
接口名称¶
获取指数成分和权重
接口说明¶
指数成分证券、权重及其生效日期。
请求参数¶
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
index_code |
string |
否 | 筛选一个或多个指数代码。 |
market |
string |
否 | 市场代码;中文客户端默认 CN。 |
start_date |
date |
否 | 查询开始日期,包含该日。 |
end_date |
date |
否 | 查询结束日期,包含该日。 |
返回字段¶
| 字段名 | 中文名称 | 类型 | 是否可空 | 字段说明 |
|---|---|---|---|---|
index_code |
指数代码 | string |
否 | 成分关系对应的指数代码。 |
constituent_code |
成分证券代码 | string |
否 | 指数成分证券的 BuQuant 代码。 |
effective_date |
生效日期 | date |
否 | 成分和权重开始生效的日期。 |
end_date |
结束日期 | date |
是 | 成分关系停止生效的日期。 |
weight |
成分权重 | decimal |
是 | 标准化为小数比例的指数权重,0.01 表示 1%。 |
shares |
指数股数 | decimal |
是 | 编制机构声明的指数股数;不适用时为空。 |
adjustment_factor |
权重调整因子 | decimal |
是 | 编制方法使用的权重或自由流通调整因子。 |
classification_scheme |
分类体系 | string |
是 | 行业或主题指数所属的分类体系。 |
classification_level |
分类层级 | integer |
是 | 行业分类体系内的层级。 |
membership_reason |
入选原因 | string |
是 | 入选原因 |
popularity_rank |
热度排名 | integer |
是 | 热度排名 |
popularity_score |
人气值 | decimal |
是 | 人气值 |
is_current |
是否当前成分 | boolean |
是 | 是否当前成分 |
字段补充属性¶
| 字段名 | 属性 |
|---|---|
weight |
精度:38;小数位数:18 |
shares |
精度:38;小数位数:18 |
adjustment_factor |
精度:38;小数位数:18 |
popularity_score |
精度:38;小数位数:18 |
请求示例¶
{
"dataset_id": "index.constituents",
"select": [
"index_code",
"constituent_code",
"effective_date",
"end_date",
"weight",
"shares",
"adjustment_factor",
"classification_scheme"
],
"where": [
{
"field": "index_code",
"op": "eq",
"value": "000300.SH"
},
{
"field": "market",
"op": "eq",
"value": "CN"
},
{
"field": "effective_date",
"op": "gte",
"value": "2026-01-01"
},
{
"field": "effective_date",
"op": "lte",
"value": "2026-08-10"
}
],
"page": {
"limit": 1000,
"cursor": null
}
}
响应示例¶
{
"dataset_id": "index.constituents",
"fields": [
"index_code",
"constituent_code",
"effective_date",
"end_date",
"weight",
"shares",
"adjustment_factor",
"classification_scheme"
],
"data": [
{
"index_code": "000300.SH",
"constituent_code": "string",
"effective_date": "2026-08-10",
"end_date": "2026-08-10",
"weight": "0.00",
"shares": "0.00",
"adjustment_factor": "0.00",
"classification_scheme": "string"
}
],
"page": {
"next_cursor": null,
"complete": true
}
}