加载中...
AI 原生量化投研平台AI-native quantitative research platform
正在加载…Loading…
页面仍在加载,可以继续等待,或重新加载。The page is still loading. You can keep waiting or reload.
部分页面资源未能加载,请重新加载。Some page resources could not load. Please reload.
设备当前处于离线状态,恢复连接后可以继续等待或重新加载。Your device is offline. Once connected, you can keep waiting or reload.
该表提供了中国股市中上市公司融资融券交易的详细数据。这些数据包括了日期、融资和融券的余额、买入额、偿还额、净买入额、净卖出额等关键指标,以及它们相对于流通市值的比例。
22 个字段
本表记录 A 股融资融券个股明细,每个有融资融券数据的股票每个交易日一行,包含融资、融券的余额、买入(卖出)额、偿还额、净额及对应数量,以及融资余额占流通市值的比例。全市场汇总见 cn_stock_margin_trading_market。
| 关键字 | 释意 |
|---|---|
| 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%。示例取 2026-10-28 至 2026-11-04 的数据,按 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-10-28 00:00:00 | 000001.SZ | 4.28333e+09 | 3.93416e+08 | 0.019516 | 2.25799e+08 | 1.99646e+07 | 1.09772e+08 | 9.70577e+06 | 1.16027e+08 | 1.02588e+07 | 1.83063e+08 | 1.61859e+07 | 522522 | 46200 | 2.10818e+06 | 186400 | -1.58566e+06 | -140200 | 4.4664e+09 | 0 | 0 |
| 2026-10-28 00:00:00 | 000002.SZ | 2.24884e+09 | 5.44563e+08 | 0.0703582 | 4.90896e+07 | 1.49209e+07 | 4.6667e+07 | 1.41845e+07 | 2.42262e+06 | 736359 | 6.53197e+06 | 1.9854e+06 | 23359 | 7100 | 185227 | 56300 | -161868 | -49200 | 2.25537e+09 | 0 | 0 |
| 2026-10-28 00:00:00 | 000006.SZ | 6.51098e+08 | 6.46664e+07 | 0.0748907 | 9.56417e+06 | 1.48512e+06 | 7.52168e+06 | 1.16796e+06 | 2.04249e+06 | 317156 | 712264 | 110600 | 26404 | 4100 | 63112 | 9800 | -36708 | -5700 | 6.5181e+08 | 0 | 0 |
| 2026-10-28 00:00:00 | 000008.SZ | 1.99854e+08 | 9.52828e+07 | 0.0324124 | 3.11629e+06 | 1.37281e+06 | 2.9254e+06 | 1.28872e+06 | 190887 | 84092 | 419950 | 185000 | 8626 | 3800 | 0 | 0 | 8626 | 3800 | 2.00274e+08 | 0 | 0 |
| 2026-10-28 00:00:00 | 000009.SZ | 1.81192e+09 | 1.84678e+08 | 0.107715 | 2.47217e+06 | 378586 | 6.01735e+06 | 921494 | -3.54518e+06 | -542908 | 2.97637e+06 | 455800 | 2612 | 400 | 3265 | 500 | -653 | -100 | 1.8149e+09 | 0 | 0 |
| 2026-11-03 00:00:00 | 920978.BJ | 3.79929e+07 | 2.0788e+06 | 0.0219477 | 1.7658e+06 | 103687 | 2.95652e+06 | 173606 | -1.19072e+06 | -69919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.79929e+07 | 0 | 0 |
| 2026-11-03 00:00:00 | 920981.BJ | 2.0187e+07 | 344105 | 0.0224485 | 787868 | 33698 | 825370 | 35302 | -37502 | -1604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2.0187e+07 | 0 | 0 |
| 2026-11-03 00:00:00 | 920982.BJ | 3.27671e+08 | 1.31754e+06 | 0.0423036 | 1.13948e+07 | 81595 | 1.2639e+07 | 90505 | -1.24421e+06 | -8910 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3.27671e+08 | 0 | 0 |
| 2026-11-03 00:00:00 | 920985.BJ | 1.34884e+07 | 217517 | 0.0143695 | 64749 | 15128 | 244652 | 57162 | -179903 | -42034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1.34884e+07 | 0 | 0 |
| 2026-11-03 00:00:00 | 920992.BJ | 6.55182e+06 | 470081 | 0.0127542 | 567032 | 54106 | 696715 | 66480 | -129683 | -12374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6.55182e+06 | 0 | 0 |
import daidf = dai.query(""" SELECT date, financing_balance, securities_lending_balance FROM cn_stock_margin_trading_detail WHERE instrument = '000002.SZ'""", filters={"date": ["2023-01-01", "2023-12-31"]}).df()import daidf = dai.query(""" SELECT instrument, margin_trading_balance FROM cn_stock_margin_trading_detail""", filters={"date": ["2022-01-05"]}).df()import daidf = dai.query(""" SELECT date, AVG(financing_balance_ratio) AS avg_ratio FROM cn_stock_margin_trading_detail GROUP BY date""", filters={"date": ["2023-01-01", "2023-12-31"]}).df()SELECT instrument, financing_balance, financing_quantity, financing_balance_ratio, financing_purchase, financing_purchase_quantity, financing_repayment FROM cn_stock_margin_trading_detail WHERE date >= '2026-10-06' ORDER BY date LIMIT 100
SELECT instrument, financing_balance, financing_quantity, financing_balance_ratio, financing_purchase, financing_purchase_quantity, financing_repayment FROM cn_stock_margin_trading_detail WHERE date >= '2026-10-06' ORDER BY date LIMIT 100