</>

排名明细通达信

查询市场或行业排名明细。

查询市场或行业排名明细。

输入参数

参数类型必填说明默认值
codestring股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。
scopestring范围:market 全市场排名,industry 为传入股票所属行业内排名;默认 market。建议单只股票调用。"market"
countinteger返回条数,默认 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_idstringAxData 统一证券代码,例如 000001.SZ。
rankinteger排名。
rank_changenumber排名变化。
symbolstring股票代码。
namestring证券简称。
exchangestringAxData 交易所代码:SSE、SZSE 或 BSE。
market_codestring市场代码。
updated_timedatetime更新时间。

调用示例

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_idsymbol
000001.SZ000001

生成时间:2026-07-06T16:54:55+00:00