板块成分股通达信
按板块代码查询当前成分股。
按板块代码查询当前成分股。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
concept_code | string | 是 | 板块代码;先用相关板块接口按股票代码查询,取返回的 board_code 填入。 | |
count | integer | 否 | 返回前多少只,默认 20,最大 500。 | 20 |
参数说明
需先用相关板块接口按股票代码查询,取返回的 board_code 填到 concept_code;不传时间,返回当前成分股列表。
参数示例
# 第一步:按股票查它关联的板块,拿 board_code
boards = client.call("concept_related_boards_tdx", code="000001.SZ")
concept_code = boards.iloc[0]["board_code"]
# 第二步:按板块代码查当前成分股
client.call("concept_constituents_tdx", concept_code=concept_code, count=5)返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
exchange | string | AxData 交易所代码:SSE、SZSE 或 BSE。 |
market_code | string | 市场代码。 |
name | string | 股票名称。 |
change_pct | number | 涨幅,单位:%。 |
last_price | number | 现价,单位:元。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"concept_constituents_tdx",
concept_code='881386',
count=20,
)
HTTP API
POST /v1/request/concept_constituents_tdx
Content-Type: application/json
{
"params": {
"concept_code": "881386",
"count": 20
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"concept_code": "881386",
"count": 20
}
响应样例
| instrument_id | symbol | exchange | market_code | name | change_pct | last_price |
|---|---|---|---|---|---|---|
| 000001.SZ | 000001 | SZSE | 0 | 平安银行 | -0.45 | 11.01 |
生成时间:2026-07-06T16:54:55+00:00