融资融券通达信
查询源端融资融券统计。
查询源端融资融券统计。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。 | |
start_date | string | 否 | 起始日期,可选。 | |
end_date | string | 否 | 结束日期,可选。 |
参数示例
# 单个标的
client.call("stock_margin_trading_tdx", code="000001.SZ")
# 批量请求多个标的
client.call("stock_margin_trading_tdx", code=["000034.SZ", "000001.SZ"])返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
date | date | 日期。 |
margin_net_buy | number | 融资净买入。 |
margin_balance | number | 融资余额。 |
short_balance | number | 融券相关统计。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_margin_trading_tdx",
code='000001.SZ',
)
HTTP API
POST /v1/request/stock_margin_trading_tdx
Content-Type: application/json
{
"params": {
"code": "000001.SZ"
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ"
}
响应样例
| instrument_id | symbol |
|---|---|
| 000001.SZ | 000001 |
生成时间:2026-07-06T16:54:55+00:00