指数实时榜单通达信
获取当前指数榜单,可按涨跌幅、成交额等排序。
这个接口是指数榜单,不是完整指数列表。完整目录请用指数列表。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
sort | string | 否 | 排序字段,默认涨跌幅;常用 change_pct、amount、volume、rise_speed。 | "change_pct" |
start | integer | 否 | 高级分页起点,从 0 开始;一般不用传。 | 0 |
count | integer | 否 | 返回前多少条,默认 80。 | 80 |
ascending | boolean | 否 | 是否升序;默认 false,表示按排序字段降序;升序为 true。 | false |
参数示例
# 指数涨幅榜前 80 条
client.call("index_realtime_rank_tdx", sort="change_pct", count=80)
# 指数成交额榜
client.call("index_realtime_rank_tdx", sort="amount", count=50)返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
rank | integer | 榜单名次,从 1 开始,按当前返回结果顺序连续编号。 |
instrument_id | string | AxData 统一指数代码,例如 000001.SH。 |
symbol | string | 交易所原始六位指数代码。 |
tdx_code | string | TDX 带市场前缀代码,例如 sh000001。 |
exchange | string | AxData 交易所代码:SSE、SZSE 或 BSE。 |
last_price | number | 最新点位。 |
pre_close | number | 昨收点位。 |
open | number | 开盘点位。 |
high | number | 最高点位。 |
low | number | 最低点位。 |
change | number | 涨跌点数。 |
change_pct | number | 涨跌幅,百分比数值。 |
open_change_pct | number | 开盘涨幅,百分比数值。 |
high_change_pct | number | 最高涨幅,百分比数值。 |
low_change_pct | number | 最低涨幅,百分比数值。 |
amplitude_pct | number | 振幅,百分比数值。 |
volume | integer | 指数快照携带的成交量。 |
current_volume | integer | 指数快照携带的最近成交量。 |
amount | number | 指数快照携带的成交额,单位:元。 |
open_amount | number | 开盘金额,单位:元。 |
rise_speed | number | 涨速,百分比数值。 |
activity | integer | 活跃度。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"index_realtime_rank_tdx",
count=5,
sort='change_pct',
)
HTTP API
POST /v1/request/index_realtime_rank_tdx
Content-Type: application/json
{
"params": {
"sort": "change_pct",
"count": 5
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"sort": "change_pct",
"count": 5
}
响应样例
| rank | instrument_id | symbol | tdx_code | exchange | last_price | pre_close | open | high | low | change | change_pct | open_change_pct | high_change_pct | low_change_pct | amplitude_pct | volume | current_volume | amount | open_amount | rise_speed | activity |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 399363.SZ | 399363 | sz399363 | SZSE | 16048.85 | 15403.71 | 15488.34 | 16089.62 | 15488.34 | 645.14 | 4.1884 | 0.5494 | 4.4532 | 0.5494 | 3.9038 | 295172800512.0 | |||||
| 2 | 000682.SH | 000682 | sh000682 | SSE | 3112.72 | 2996.3 | 3009.6 | 3128.27 | 3009.6 | 116.42 | 3.8855 | 0.4439 | 4.4035 | 0.4439 | 3.96 | 150859415552.0 |
生成时间:2026-07-06T16:54:55+00:00