What does Liquidation Cascades and Cointegration conclude, in numbers, about “Order-Book Depth and Price Impact”?
Answer: Kyle's model gives the price-impact coefficient \(\lambda = \sqrt{\Sigma_0}/(2\sigma_u)\): more noise trading makes a deeper market. Empirically, the impact of small order flow is roughly linear and inversely proportional to depth; the impact of large metaorders roughly follows a square-root law, with exponents between about 0.4 and 0.7, and recent complete account-level data support 1/2. The square-root law describes latent liquidity, while visible depth is finite; when a large order or a stream of liquidation orders uses it up, the price gaps. The next chapter asks where such streams of selling come from: leverage and forced liquidation in perpetual contracts.
Scope of the numbers: This book presents mathematical models for teaching and research and is not investment, trading, tax or legal advice; leverage and derivatives can lose all of the money put in and more, and backtests and simulations do not represent future returns. Marked boxes separate published evidence, runnable Python calculations (16 programs, all checked), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only
| 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 |
Key formula
Show the full program
# 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}")Single source and citation
Fan, Y. (2026). Liquidation Cascades, Order-Book Depth Depletion and Cointegrated Statistical Arbitrage (Version 1.0.0), Chapter 1: Order-Book Depth and Price Impact. 5D Library. https://doi.org/10.5281/zenodo.23796776
DOI: 10.5281/zenodo.23796776 · Read the monograph · 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}
}Other chapter answers in this book
- Chapter 2 · Perpetual Contracts, Funding and Forced Liquidation
- Chapter 3 · Liquidation Cascades, Branching Processes and Hawkes Self-Exciting Point Processes
- Chapter 4 · The Ornstein–Uhlenbeck Process: Mean Reversion and Its Estimation
- Chapter 5 · Cointegration, Pairs Trading and Broken Relationships
- Chapter 6 · The Kalman Filter and Dynamic Hedge Ratios
- Chapter 8 · Practice and a Pre-Registered Test