Basic Prerequisites: Econometrics & Time Series.
1. Intuition & Practical Objective
“Spread” sounds like one number, but a trader and a market maker measure different spreads. This page defines the three canonical measures and shows how they nest - quoted effective realized when there is adverse selection, and why that ordering is the whole story of who pays whom.
- Quoted spread : what the order book advertises. It is the gross cost of crossing the spread, but you almost never pay it in full because trades fill inside the touch or at better mid-market terms.
- Effective spread : what a trader actually pays, measured by how far the execution price sits from the prevailing midpoint. This is the number a venue or broker reports to a client as “your cost.”
- Realized spread : what the market maker keeps, measured by the midquote after the trade relative to the price paid. The gap between effective and realized is the price impact - the adverse-selection loss to informed flow.
The practical objective: given a trade tape and quote data, compute all three and read off who captured the spread. A market with large but is cheap to trade (liquidity hides inside the quote); a market with is one where the liquidity provider is being run over by informed flow.
2. Mathematical Ground Truth & Derivations
Under the generalized Roll model the three measures relate to two parameters: the half-spread and the price-impact (adverse-selection cost per unit order flow).
- Quoted: - the full bid-ask width (order-processing plus the adverse-selection component ; Hasbrouck eq. 8.3).
- Effective: a trade at the ask () prices at , so ; at the bid likewise. . The effective spread equals the quoted spread when trades print exactly at the touch.
- Realized: after the trade the midquote is revised by the information content ( plus public noise), so
so (the maker keeps the order-processing half-spread). The loss to informed flow is the price impact:
and with the ordering holds (the middle equality is approximate when fills are at the touch; with price improvement ).
Half-spread of a single trade (per-side). The signed cost of one trade is ; the effective half-spread is . Averaging over many trades gives the standard estimators used in the literature (Hasbrouck 1993; Huang & Stoll 1996): effective , realized for a short horizon .
3. Computational Implementation - all three on one tape
Simulate a quote path where the dealer midpoint shifts by after each trade, then measure all three spreads. Stdlib only.
The maker advertises but keeps only - exactly half is surrendered to informed flow. That is the economic content of spread decomposition in its simplest form.
4. Failure Modes & First-Principles Breakdowns
- Assuming effective = quoted. Real markets offer price improvement (fills inside the touch, hidden liquidity, midpoint cross). Always measure from actual execution prices, not from the displayed quote.
- Wrong sign convention. Effective and realized spreads are signed by trade direction (). If you drop the sign, a buy-then-fall and a sell-then-rise cancel and you compute zero - erasing exactly the adverse-selection signal you want.
- Realized-horizon sensitivity. depends on (the post-trade horizon). Too short, and you miss the impact; too long, and other trades contaminate it. Standard practice uses a fixed short window (seconds) or a VWAP benchmark; the choice must be stated.
- Stale quotes. Using a stale midpoint (not updated at trade time) biases upward because the true has drifted. Quote timestamps must be matched to trade time.
5. References
- Hasbrouck (2007), Empirical Market Microstructure
- Huang & Stoll (1996), Dealer versus auction markets: a paired comparison of execution costs on NASDAQ and the NYSE, Journal of Financial Economics 41(3), 313–357
- Hasbrouck (1993), Assessing the quality of a security market, RFS 6(1)
- Stoll (1989), Inferring the components of the bid-ask spread
6. Connected Graph Bridges
- Back: 01 · From Zero · Index Hub
- Forward: 03 · The Roll Model · 04 · Spread Decomposition
- Base: Econometrics & Time Series · Limit Order Book Mechanics (quoted spread & effective half-spread in the LOB)