融资融券明细东方财富
低频获取单股融资融券明细,金额单位为元,融券数量单位为股。
这个接口只保留已确认字段;金额字段单位为元,遇到源端空结果返回空表。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码,支持 000001、000001.SZ。 | |
start_date | string | 否 | 开始日期,YYYYMMDD 或 YYYY-MM-DD。 | |
end_date | string | 否 | 结束日期,YYYYMMDD 或 YYYY-MM-DD。 | |
page | integer | 否 | 页码,默认 1。 | 1 |
limit | integer | 否 | 每页条数,默认 50,最大 200。 | 50 |
参数说明
不传 fields 时返回上方全部字段;临时调用只查一次。
参数示例
client.call("eastmoney_margin_trading", code="000001.SZ", start_date="20240102", end_date="20240105", limit=5)返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
trade_date | date | 交易日期,格式 YYYYMMDD。 |
instrument_id | string | AxData 统一证券代码。 |
symbol | string | 六位证券代码。 |
exchange | string | 交易所代码:SSE、SZSE、BSE。 |
name | string | 证券简称。 |
market | string | 交易市场标签。 |
close_price | number | 收盘价,单位:元。 |
change_pct | number | 涨跌幅,百分比数值。 |
margin_balance | number | 融资余额,单位:元。 |
margin_buy_amount | number | 融资买入额,单位:元。 |
margin_repay_amount | number | 融资偿还额,单位:元。 |
margin_net_buy_amount | number | 融资净买入额,单位:元。 |
short_balance | number | 融券余额,单位:元。 |
short_sell_volume | number | 融券卖出量,单位:股。 |
short_repay_volume | number | 融券偿还量,单位:股。 |
short_net_sell_volume | number | 融券净卖出量,单位:股。 |
total_balance | number | 融资融券余额,单位:元。 |
market_value | number | 总市值,单位:元。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"eastmoney_margin_trading",
code='000001.SZ',
end_date='20240105',
limit=5,
start_date='20240102',
)
HTTP API
POST /v1/request/eastmoney_margin_trading
Content-Type: application/json
{
"params": {
"code": "000001.SZ",
"start_date": "20240102",
"end_date": "20240105",
"limit": 5
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ",
"start_date": "20240102",
"end_date": "20240105",
"limit": 5
}
响应样例
| trade_date | instrument_id | symbol | exchange | name | market | close_price | change_pct | margin_balance | margin_buy_amount | margin_repay_amount | margin_net_buy_amount | short_balance | short_sell_volume | short_repay_volume | short_net_sell_volume | total_balance | market_value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 20240105 | 000001.SZ | 000001 | SZSE | 平安银行 | 深交所主板 | 9.27 | 1.7563 | 5105063089.0 | 266715372.0 | 325760031.0 | -59044659.0 | 106309509.0 | 564400.0 | 201500.0 | 362900.0 | 5211372598.0 | 179889420226.5 |
生成时间:2026-07-06T16:54:55+00:00