## 一、数据简介 本表记录 A 股融资融券个股明细,每个有融资融券数据的股票每个交易日一行,包含融资、融券的余额、买入(卖出)额、偿还额、净额及对应数量,以及融资余额占流通市值的比例。全市场汇总见 `cn_stock_margin_trading_market`。 - 数据起始时间:2010-04-01 - 数据结束时间:2026-11-16 - 数据更新频率:每个交易日,T 日的数据在 T+1 日更新,非交易日不更新 ## 二、主键说明 | 关键字 | 释意 | | --- | --- | | date | 交易日,是融资融券交易发生的日期,不是数据发布日期 | | instrument | 股票代码,格式为 `代码.交易所后缀`,如 `000001.SZ` | ## 三、字段口径 金额字段的单位为元,数量字段的单位为股。 | 字段 | 口径 | | --- | --- | | financing_balance | 融资余额 | | financing_quantity | 融资余量。相邻两个交易日的差等于 `financing_net_purchase_quantity`。`financing_balance / financing_quantity` 不等于当日股票价格,2026-10-22 的中位数约为当日未复权收盘价的 1.38 倍,不能用它反推价格 | | financing_balance_ratio | 融资余额占流通市值比,小数形式,0.04 表示 4%。公式为 `financing_balance / float_market_cap`,`float_market_cap` 取自 `cn_stock_valuation` 当日的流通市值 | | financing_net_purchase | 融资净买入额,公式为 `financing_purchase - financing_repayment`。相邻两个交易日的 `financing_balance` 之差与它一致 | | financing_net_purchase_quantity | 融资净买入量,公式为 `financing_purchase_quantity - financing_repayment_quantity` | | securities_lending_net_sales | 融券净卖出额,公式为 `securities_lending_sales - securities_lending_repayment` | | securities_lending_net_sales_quantity | 融券净卖出量,公式为 `securities_lending_sales_quantity - securities_lending_repayment_quantity` | | margin_trading_balance | 融资融券余额,公式为 `financing_balance + securities_lending_balance` | | lendable_shares | 可出借股份,口径未核实 | | lending_margin_stock | 出借余量,口径未核实 | ## 四、已知限制 - 表里只有开展融资融券业务的股票,每个交易日的行数随年份增加。 - `lendable_shares` 在 2019-07-22 之前全部为 0,之后各年非 0 的行占比在 1% 到 15% 之间,2021、2022 年最高,2026 年约 2%。 - `lending_margin_stock` 在 2019-07-23 之前全部为 0,最后一个非 0 的日期是 2024-06-24,此后全部为 0。非 0 的行占比在 2021、2022 年约 14%,2024 年不足 1%。 - 这两个字段取值为 0 时,无法区分是确实为 0 还是没有数据,使用前需要自行确认。 - 融资买入额与融资买入量的比值,以及融券余额与融券余量的比值,与当日股票未复权收盘价一致。 ## 五、示例数据 示例取 2026-11-10 至 2026-11-17 的数据,按 `date`、`instrument` 排序,展示前 5 行和后 5 行。 | date | instrument | financing_balance | financing_quantity | financing_balance_ratio | financing_purchase | financing_purchase_quantity | financing_repayment | financing_repayment_quantity | financing_net_purchase | financing_net_purchase_quantity | securities_lending_balance | securities_lending_quantity | securities_lending_sales | securities_lending_sales_quantity | securities_lending_repayment | securities_lending_repayment_quantity | securities_lending_net_sales | securities_lending_net_sales_quantity | margin_trading_balance | lendable_shares | lending_margin_stock | |:--------------------|:-------------|--------------------:|---------------------:|--------------------------:|---------------------:|------------------------------:|----------------------:|-------------------------------:|-------------------------:|----------------------------------:|-----------------------------:|------------------------------:|---------------------------:|------------------------------------:|-------------------------------:|----------------------------------------:|-------------------------------:|----------------------------------------:|-------------------------:|------------------:|-----------------------:| | 2026-11-10 00:00:00 | 000001.SZ | 3.9437e+09 | 3.644e+08 | 0.0171352 | 1.0065e+08 | 8.48649e+06 | 7.3408e+07 | 6.18954e+06 | 2.72417e+07 | 2.29694e+06 | 1.97745e+08 | 1.66732e+07 | 272780 | 23000 | 1.13382e+06 | 95600 | -861036 | -72600 | 4.14145e+09 | 0 | 0 | | 2026-11-10 00:00:00 | 000002.SZ | 2.19638e+09 | 5.28593e+08 | 0.0706495 | 4.37316e+07 | 1.36661e+07 | 4.95251e+07 | 1.54766e+07 | -5.79353e+06 | -1.81048e+06 | 5.9376e+06 | 1.8555e+06 | 72000 | 22500 | 17600 | 5500 | 54400 | 17000 | 2.20232e+09 | 0 | 0 | | 2026-11-10 00:00:00 | 000006.SZ | 6.09416e+08 | 5.78039e+07 | 0.0730455 | 4.32606e+06 | 700010 | 5.06888e+06 | 820207 | -742818 | -120197 | 257088 | 41600 | 61800 | 10000 | 4326 | 700 | 57474 | 9300 | 6.09674e+08 | 0 | 0 | | 2026-11-10 00:00:00 | 000008.SZ | 1.97367e+08 | 9.4168e+07 | 0.0318685 | 2.77025e+06 | 1.21502e+06 | 2.53442e+06 | 1.11159e+06 | 235823 | 103431 | 425904 | 186800 | 2280 | 1000 | 912 | 400 | 1368 | 600 | 1.97792e+08 | 0 | 0 | | 2026-11-10 00:00:00 | 000009.SZ | 1.81048e+09 | 1.84441e+08 | 0.106488 | 2.09782e+06 | 317852 | 3.23232e+06 | 489745 | -1.13449e+06 | -171893 | 4.08771e+06 | 619350 | 149160 | 22600 | 7260 | 1100 | 141900 | 21500 | 1.81457e+09 | 0 | 0 | | 2026-11-16 00:00:00 | 920978.BJ | 3.82575e+07 | 2.09309e+06 | 0.0223632 | 1.81142e+06 | 107631 | 1.25807e+06 | 74751 | 553357 | 32880 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.82575e+07 | 0 | 0 | | 2026-11-16 00:00:00 | 920981.BJ | 2.30804e+07 | 465382 | 0.0260222 | 3.85902e+06 | 167347 | 1.80647e+06 | 78338 | 2.05255e+06 | 89009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2.30804e+07 | 0 | 0 | | 2026-11-16 00:00:00 | 920982.BJ | 3.28725e+08 | 1.32475e+06 | 0.0450528 | 5.20928e+06 | 39599 | 6.43024e+06 | 48881 | -1.22096e+06 | -9282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.28725e+08 | 0 | 0 | | 2026-11-16 00:00:00 | 920985.BJ | 1.382e+07 | 263007 | 0.014003 | 461392 | 102532 | 636892 | 141532 | -175500 | -39000 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.382e+07 | 0 | 0 | | 2026-11-16 00:00:00 | 920992.BJ | 5.9597e+06 | 414096 | 0.0119551 | 136421 | 13414 | 50790 | 4994 | 85631 | 8420 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.9597e+06 | 0 | 0 |
融资融券交易明细 (cn_stock_margin_trading_detail)
数据描述: 该表提供了中国股市中上市公司融资融券交易的详细数据。这些数据包括了日期、融资和融券的余额、买入额、偿还额、净买入额、净卖出额等关键指标,以及它们相对于流通市值的比例。
文档
用例
表结构
| 字段 | 字段类型 | 字段描述 |
| financing_quantity | double | 融资余量 |
| financing_repayment | double | 融资偿还额 |
| lending_margin_stock | double | 出借余量 |
| financing_net_purchase | double | 融资净买入额 |
| margin_trading_balance | double | 融资融券余额 |
| financing_balance_ratio | double | 融资余额占流通市值比 |
| securities_lending_sales | double | 融券卖出额 |
| securities_lending_balance | double | 融券余额 |
| financing_purchase_quantity | double | 融资买入量 |
| securities_lending_quantity | double | 融券余量 |
| financing_repayment_quantity | double | 融资偿还量 |
| date | timestamp[ns] | - |
| securities_lending_repayment | double | 融券偿还额 |
| financing_net_purchase_quantity | double | 融资净买入量 |
| securities_lending_sales_quantity | double | 融券卖出量 |
| securities_lending_net_sales_quantity | double | 融券净卖出量 |
| instrument | string | 证券代码 |
| __PARTITION__ | int64 | - |
| securities_lending_repayment_quantity | double | 融券偿还量 |
| securities_lending_net_sales | double | 融券净卖出额 |
| lendable_shares | double | 可出借股份 |
| financing_balance | double | 融资余额 |
| financing_purchase | double | 融资买入额 |
表名:cn_stock_margin_trading_detail
起始时间:
最近更新时间: