关于「订单簿深度与价格冲击」,《清算瀑布与协整套利》给出的定量结论是什么?
结论:凯尔模型给出价格冲击系数 \(\lambda = \sqrt{\Sigma_0}/(2\sigma_u)\):噪声交易越多,市场越深。实证上,小订单流的冲击近似线性且与深度成反比;大额元订单的冲击近似服从平方根律,指数约在 0.4 到 0.7 之间,近年的完整账户数据支持 1/2。平方根律描述的是潜在流动性,而可见订单簿的深度有限,当一笔大单或一连串强平单吃光可见深度时,价格会跳空。下一章讨论这种连串卖单从哪里来:永续合约的杠杆与强制平仓。
数据口径:本书是教学与研究用的数学模型,不是投资、交易、税务或法律建议;杠杆与衍生品可能造成全部本金甚至超出本金的损失,回测与模拟不代表未来收益。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序,全部核对)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| noise sd | theory lam simulated | Var(v|p)/S0 | insider profit theory / sim | |
| 0.5 | | 2.0000 2.0040 | 0.502 | 0.500 / 0.503 |
| 1.0 | | 1.0000 0.9987 | 0.502 | 1.000 / 1.002 |
| 2.0 | | 0.5000 0.4996 | 0.499 | 2.000 / 1.993 |
| 250 auctions, extra noise sd 1: lam (true 0.50) median 0.500, 90 % in 0.464 to 0.538 | |
| 250 auctions, extra noise sd 3: lam (true 0.50) median 0.498, 90 % in 0.395 to 0.611 |
核心公式
\[\lambda = \frac{\sqrt{\Sigma_0}}{2\sigma_u}, \qquad \beta = \frac{\sigma_u}{\sqrt{\Sigma_0}}, \qquad \mathrm{Var}(v \mid p) = \frac{\Sigma_0}{2}.\]
查看完整验算程序
# Kyle (1985), one auction: lam = sqrt(S0)/(2 su), beta = su/sqrt(S0), Var(v|p) = S0/2.
import math, random
from statistics import fmean
def equilibrium(S0, su):
return su / math.sqrt(S0), math.sqrt(S0) / (2 * su)
def simulate(S0, su, n, rng, p0=100.0):
beta, lam = equilibrium(S0, su)
ys, dv, profit = [], [], []
for _ in range(n):
v = rng.gauss(p0, math.sqrt(S0))
x = beta * (v - p0)
y = x + rng.gauss(0, su)
p = p0 + lam * y
ys.append(y); dv.append(v - p0); profit.append(x * (v - p))
return ys, dv, profit
def ols_slope(xs, ys):
mx, my = fmean(xs), fmean(ys)
sxx = sum((a - mx) ** 2 for a in xs)
b = sum((a - mx) * (c - my) for a, c in zip(xs, ys)) / sxx
res = [c - my - b * (a - mx) for a, c in zip(xs, ys)]
se = math.sqrt(sum(r * r for r in res) / (len(xs) - 2) / sxx)
return b, se
rng = random.Random(1985)
S0 = 4.0 # prior variance of value (sd 2)
print("noise sd | theory lam simulated | Var(v|p)/S0 | insider profit theory / sim")
for su in (0.5, 1.0, 2.0):
beta, lam = equilibrium(S0, su)
ys, dv, prof = simulate(S0, su, 200000, rng)
b, _ = ols_slope(ys, dv) # E[v - p0 | y] is linear with slope lam
post = fmean((d - lam * y) ** 2 for d, y in zip(dv, ys)) / S0
print(f" {su:4.1f} | {lam:.4f} {b:.4f} | {post:.3f} |"
f" {math.sqrt(S0) * su / 2:.3f} / {fmean(prof):.3f}")
# 250 auctions (about a year of daily data): regress price change on order flow
lam = equilibrium(S0, 2.0)[1]
for noise in (1.0, 3.0): # unrelated price noise (news, other flows)
est = []
for rep in range(400):
ys, dv, _ = simulate(S0, 2.0, 250, rng)
dp = [lam * y + rng.gauss(0, noise) for y in ys]
est.append(ols_slope(ys, dp)[0])
est.sort()
print(f"250 auctions, extra noise sd {noise:.0f}: lam (true {lam:.2f})"
f" median {est[200]:.3f}, 90 % in {est[20]:.3f} to {est[379]:.3f}")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《高杠杆衍生品清算瀑布、订单簿深度衰竭与协整统计套利》第 1 章「订单簿深度与价格冲击」(版本 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}
}