排名明细通达信
查询市场或行业排名明细。
查询市场或行业排名明细。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。 | |
scope | string | 否 | 范围:market 全市场排名,industry 为传入股票所属行业内排名;默认 market。建议单只股票调用。 | "market" |
count | integer | 否 | 返回条数,默认 20。 | 20 |
参数示例
# 单个标的
client.call("stock_market_rankings_tdx", code="000001.SZ", scope="market", count=5)
# 批量请求多个标的
client.call("stock_market_rankings_tdx", code=["000034.SZ", "000001.SZ"], scope="market", count=5)返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
rank | integer | 排名。 |
rank_change | number | 排名变化。 |
symbol | string | 股票代码。 |
name | string | 证券简称。 |
exchange | string | AxData 交易所代码:SSE、SZSE 或 BSE。 |
market_code | string | 市场代码。 |
updated_time | datetime | 更新时间。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_market_rankings_tdx",
code='000001.SZ',
count=20,
scope='market',
)
HTTP API
POST /v1/request/stock_market_rankings_tdx
Content-Type: application/json
{
"params": {
"code": "000001.SZ",
"scope": "market",
"count": 20
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ",
"scope": "market",
"count": 20
}
响应样例
| instrument_id | symbol |
|---|---|
| 000001.SZ | 000001 |
生成时间:2026-07-06T16:54:55+00:00