</>

ETF实时快照通达信

获取 ETF 当前快照,返回价格、涨跌幅、成交量和成交额。

这个接口按 ETF 代码请求当前快照,返回 ETF 有意义的行情字段。

输入参数

参数类型必填说明默认值
codestringETF 代码:支持 510050.SH、159915.SZ、sh510050;批量可传列表或英文逗号分隔。
参数示例
# 单个 ETF
client.call("etf_realtime_snapshot_tdx", code="510050.SH")

# 批量请求多个 ETF
client.call("etf_realtime_snapshot_tdx", code=["510050.SH", "510300.SH", "159915.SZ"])

返回字段

字段类型说明
instrument_idstringAxData 统一指数代码,例如 000001.SH。
symbolstring交易所原始六位指数代码。
tdx_codestringTDX 带市场前缀代码,例如 sh000001。
exchangestringAxData 交易所代码:SSE、SZSE 或 BSE。
last_pricenumber最新点位。
pre_closenumber昨收点位。
opennumber开盘点位。
highnumber最高点位。
lownumber最低点位。
changenumber涨跌点数。
change_pctnumber涨跌幅,百分比数值。
open_change_pctnumber开盘涨幅,百分比数值。
high_change_pctnumber最高涨幅,百分比数值。
low_change_pctnumber最低涨幅,百分比数值。
amplitude_pctnumber振幅,百分比数值。
volumeinteger指数快照携带的成交量。
current_volumeinteger指数快照携带的最近成交量。
amountnumber指数快照携带的成交额,单位:元。
open_amountnumber开盘金额,单位:元。
rise_speednumber涨速,百分比数值。
activityinteger活跃度。

调用示例

Python SDK

import axdata as ax

client = ax.AxDataClient()
rows = client.call(
    "etf_realtime_snapshot_tdx",
    code=['510050.SH', '159915.SZ'],
)

HTTP API

POST /v1/request/etf_realtime_snapshot_tdx
Content-Type: application/json

{
  "params": {
    "code": [
      "510050.SH",
      "159915.SZ"
    ]
  }
}

真实样例快照

展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。

请求参数

{
  "code": [
    "510050.SH",
    "159915.SZ"
  ]
}

响应样例

instrument_idsymboltdx_codeexchangelast_pricepre_closeopenhighlowchangechange_pctopen_change_pcthigh_change_pctlow_change_pctamplitude_pctvolumecurrent_volumeamountopen_amountrise_speedactivity
510050.SH510050sh510050SSE3.0253.0123.0153.0383.0090.0130.43160.09960.8632-0.09960.96281284560388234240.0
159915.SZ159915sz159915SZSE2.4712.4562.4582.4822.4510.0150.61070.08141.0586-0.20361.26222156780532145600.0

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