Skip to Academy content

Quantitative Trading · Level III · Module 1 of 12

Market Microstructure Theory

Market microstructure studies how trading mechanisms turn orders into prices. Its models explain why bid-ask spreads exist, why trades move prices, and how information reaches prices through order flow. This module covers the classic models (Roll, Glosten-Milgrom, Kyle, inventory models), price discovery across venues, and measures of how toxic order flow is for liquidity providers.

What you will be able to do
  • Estimate an effective spread from price changes with the Roll model.
  • Derive bid and ask prices in the Glosten-Milgrom model and price impact in the Kyle model.
  • Explain inventory effects, price discovery and order-flow toxicity measures.

Section 1 of 6

The Roll spread

Roll (1984) observed that if trades alternate randomly between the bid and the ask, consecutive price changes are negatively correlated: a trade at the ask tends to be followed by one at the bid, and vice versa. This bid-ask bounce creates negative serial covariance even when the underlying value follows a random walk.

In the model, the effective spread s satisfies s = 2√(−cov(Δpₜ, Δpₜ₋₁)). The estimator needs only a series of trade prices, which made it valuable when quote data was unavailable. It fails when the covariance is positive (which happens in trending data or with other microstructure effects), giving no real-valued estimate.

The bounce matters for strategy design. Short-horizon mean-reversion signals computed from trade prices partly capture bid-ask bounce rather than real reversals; a backtest that buys after a trade at the bid and sells after a trade at the ask can show profits that are just the spread it would have to pay.

Keep this in mind: Bid-ask bounce creates negative serial covariance in trade prices; Roll turns it into a spread estimate.

Make the idea stick

Quick checks before you move on.

Quick check 1 of 2 · The Roll spread

The serial covariance of price changes is −0.0009. What is the Roll spread?

Quick check 2 of 2 · The Roll spread

Why can short-horizon reversal signals from trade prices be misleading?