Order-Book Momentum

a statistical-physics spoofing & layering detector

A 2023 paper treats a limit order book like a particle system: every resting order is "mass" sitting at a price, and each placement or cancellation is a flux of that mass toward or away from the mid-price. From this they build a momentum-like statistic over order-book flow and show it catches spoofing (big fake orders parked away from the touch, then cancelled before they can execute) and layering (stacked fake orders on one side) that a standard rolling Z-score anomaly detector lags on or misses outright — validated on the LUNA flash crash and Bitcoin markets. Below is a live book with both detectors running on the exact same order stream. Inject manipulation and watch the physics metric fire where the Z-score baseline stays asleep. arXiv:2308.08683

SharpLab angle: a sportsbook's line is an order book too. This same distance-weighted flow "momentum" is a natural way to separate a coordinated steam move (mass slammed at the number, everyone the same side) from genuine sharp money that quietly lifts the offer — the flow signature, not just the price, is the tell.

Based on: "Detecting Financial Market Manipulation with Statistical Physics Tools" — arXiv:2308.08683 (q-fin). Toy simulation; not the authors' data.

Detector B · the paper's metric
Order-Flow Momentum  Π̂(t)
0/0 caught
avg latency —
false alerts 0
Detector A · the baseline
Rolling Z-score of near-touch imbalance
0/0 caught
avg latency —
false alerts 0

Live limit order book

Resting volume by price level. The shaded band is the near-touch window the Z-score baseline watches. Spoof / layer volume (bright, glowing) is deliberately parked outside it — the baseline's blind spot.
bid volume ask volume injected (fake) orders Z-score near-touch band

Both detectors, same order stream

Standardized signals in σ units. Blue = order-flow momentum Π̂ (distance-weighted flow of book deltas). Amber = Z-score of near-touch imbalance (baseline). Dashed lines are the ±threshold. Vertical marks = injected manipulation.
momentum Π̂ (physics) Z-score (baseline) spoof/layer injected
mid-priceinjection markers align with the chart above

Live readout

Momentum Π̂(t)
—
σ from rolling baseline
Z-score (near-touch)
—
σ from rolling baseline
Mid-price
—
Book imbalance
—
near-touch bid−ask
Active fake orders
—
volume currently spoofed
Detection edge
—
momentum caught − baseline caught
⚖️
Why the physics metric wins. The baseline Z-score watches a stock quantity — how lopsided the volume is right at the touch — and standardizes it against a rolling mean. Spoofing is engineered to defeat exactly that: the fake orders sit away from the best bid/ask (so they never risk executing) and they revert (placed, then cancelled), so a rolling baseline just "learns" them and the excursion washes out. The paper's metric instead treats the book as particles and measures a momentum — a flow quantity, Π = Σlevels distance × (Δbid − Δask) — summed over the whole book and weighted by lever-arm distance from the mid. A far-parked spoof is precisely large mass × large distance appearing and vanishing, so it produces a sharp Π spike on placement and an opposite spike on cancellation, well above its own quiet baseline. Same data, same threshold — the difference is flow-vs-stock and the distance weighting. Everything above is computed from the real signals crossing the real threshold; nothing is a scripted "alert."
📡 LUNA / TerraUSD flash-crash cascade ₿ crypto order-book layering 📈 equities quote-stuffing 🏈 sportsbook steam vs sharp flow