关于「永续合约、资金费率与强制平仓」,《清算瀑布与协整套利》给出的定量结论是什么?
结论:永续合约用周期性的资金费把价格拴在现货附近;资金费按名义价值收取,对杠杆仓位的保证金是成倍的侵蚀。逐仓多头的强平价约为 \(P_0(1-1/L)/(1-m)\),20 倍杠杆只容许约 4.5% 的下跌,在高波动下一天之内就有可观的概率被触及。玩具模型显示,当强平价集中在现价附近、而买盘较薄时,一个小冲击可以被放大成连环清算。下一章用自激点过程与分支比来描述这种放大。
数据口径:本书是教学与研究用的数学模型,不是投资、交易、税务或法律建议;杠杆与衍生品可能造成全部本金甚至超出本金的损失,回测与模拟不代表未来收益。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序,全部核对)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 20
| lev | long liq dist | short liq dist | P(touch long liq), ann. vol 60 % | 1 day 7 days |
| 2 | | 50.25 49.75% | 149.25 49.25% | 0.00% 0.00% |
| 5 | | 80.40 19.60% | 119.40 19.40% | 0.00% 0.87% |
| 10 | | 90.45 9.55% | 109.45 9.45% | 0.14% 22.72% |
| 20 | | 95.48 4.52% | 104.48 4.48% | 14.06% 57.75% |
| 50 | | 98.49 1.51% | 101.49 1.49% | 62.86% 85.49% |
| 100 | | 99.50 0.50% | 100.50 0.50% | 87.26% 95.17% |
| funding 0.01% per 8 h, L | 20, 30 days: pays 18% of margin; long liq 95.48 -> 96.38 |
| funding 0.03% per 8 h, L | 20, 30 days: pays 54% of margin; long liq 95.48 -> 98.19 |
核心公式
\[\frac{QP_0}{L} + Q(P-P_0) = mQP \quad\Longrightarrow\quad P_{\text{liq}}^{\text{多}} = P_0\,\frac{1-1/L}{1-m}, \qquad P_{\text{liq}}^{\text{空}} = P_0\,\frac{1+1/L}{1+m}.\]
查看完整验算程序
# Isolated-margin linear perpetual, generic algebra (no fees, tiers or penalties):
# long P_liq = P0 (1 - 1/L) / (1 - m), short P_liq = P0 (1 + 1/L) / (1 + m)
import math
from statistics import NormalDist
N = NormalDist()
def liq_long(P0, L, m): return P0 * (1 - 1 / L) / (1 - m)
def liq_short(P0, L, m): return P0 * (1 + 1 / L) / (1 + m)
def check_long(P0, L, m): # bisection on the equity condition
lo, hi = 1e-9, P0
for _ in range(200):
P = (lo + hi) / 2
eq = P0 / L + (P - P0) - m * P
lo, hi = (P, hi) if eq < 0 else (lo, P)
return P
def p_touch(dist, vol_ann, days): # driftless log-price, reflection principle
s = vol_ann * math.sqrt(days / 365)
return 2 * N.cdf(math.log(1 - dist) / s)
m, P0 = 0.005, 100.0
print("lev | long liq dist | short liq dist | P(touch long liq), ann. vol 60 %:"
" 1 day 7 days")
for L in (2, 5, 10, 20, 50, 100):
pl, ps = liq_long(P0, L, m), liq_short(P0, L, m)
assert abs(pl - check_long(P0, L, m)) < 1e-6
dl = 1 - pl / P0
print(f"{L:3d} | {pl:7.2f} {dl:6.2%} | {ps:8.2f} {ps / P0 - 1:6.2%} |"
f" {p_touch(dl, 0.60, 1):7.2%} {p_touch(dl, 0.60, 7):7.2%}")
# Funding: every 8 hours longs pay shorts rate f x notional (f may also be negative).
# Under isolated margin the payment comes out of the margin and moves P_liq up.
for f in (0.0001, 0.0003):
L, days = 20, 30
paid = 3 * days * f * L # as a fraction of the initial margin
margin_left = 1 / L * (1 - paid)
new_liq = P0 * (1 - margin_left) / (1 - m)
print(f"funding {f:.2%} per 8 h, L = {L}, {days} days: pays {paid:.0%} of margin;"
f" long liq {liq_long(P0, L, m):.2f} -> {new_liq:.2f}")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《高杠杆衍生品清算瀑布、订单簿深度衰竭与协整统计套利》第 2 章「永续合约、资金费率与强制平仓」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23796776
DOI: 10.5281/zenodo.23796776 · 阅读本章所在专著 · 5DL-B-039 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026039,
author = {Fan, Yafu},
title = {Liquidation Cascades, Order-Book Depth Depletion and Cointegrated Statistical Arbitrage},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23796776},
url = {https://doi.org/10.5281/zenodo.23796776}
}