ETF当日成交明细通达信
获取 ETF 当前交易日成交明细;请求式分页由后端处理。
这个接口按 ETF 代码请求当前交易日的成交明细,不是实时订阅流,也不写入本地数据层。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | ETF 代码:支持 510050、510050.SH、sh510050;批量可传列表或英文逗号分隔字符串。 |
参数示例
# 单个标的
client.call("etf_trades_today_tdx", code="510050.SH")
# 批量请求多个标的
client.call("etf_trades_today_tdx", code=["510050.SH", "159915.SZ"])返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
tdx_code | string | TDX 带市场前缀代码,例如 sz000001。 |
exchange | string | AxData 交易所代码:SSE、SZSE 或 BSE。 |
trade_time | string | 成交时间,HH:MM。 |
trade_index | integer | 成交明细序号,用于保持同一标的返回记录的相对顺序。 |
price | number | 成交价。 |
volume | number | 成交量,A 股常见口径为手。 |
order_count | integer | 成交笔数 / 聚合笔数。 |
side | string | 成交方向:buy、sell、neutral;少数未识别状态会保留原始状态标记,实测为盘后定价成交。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"etf_trades_today_tdx",
code='510050.SH',
)
HTTP API
POST /v1/request/etf_trades_today_tdx
Content-Type: application/json
{
"params": {
"code": "510050.SH"
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "510050.SH"
}
响应样例
| instrument_id | symbol | tdx_code | exchange | trade_time | trade_index | price | volume | order_count | side |
|---|---|---|---|---|---|---|---|---|---|
| 510050.SH | 510050 | sh510050 | SSE | 14:08 | 0 | 3.025 | 156 | 12 | buy |
生成时间:2026-07-06T16:54:55+00:00