Interactive Guide
An interactive journey through market microstructure: watch orders become prices, feel the spread respond to stress, and discover why these mechanics shape every trade you will ever make.
Every market starts with two opposing lines: buyers and sellers, stacked by price and size. The order book is not just a record — it is the market's living, breathing state.
Imagine a room where buyers line up on the left and sellers on the right. The person at the front of each line sets the best bid and best ask. The gap between them is the spread. When a buyer gets impatient and crosses over to the seller's side at their price, a trade happens.
Try a large size (10+) and watch the spread blow out
Try placing a market buy with a large size. Watch how the order eats through the ask side, consuming liquidity level by level. The spread widens. The midprice shifts. This is in its most elemental form.
Biais, Hillion & Spatt (1995) showed that the shape of the order book — not just the best price — contains predictive information about future price dynamics. The distribution of depth across levels reveals strategic positioning before it shows up as obvious price moves.
The spread is not just a cost — it is a risk price. Market makers set it wide when they're nervous, like a store charging more for something they're not sure they can restock.
Huang & Stoll (1997) decomposed the spread into three components: adverse selection (the risk of trading against someone who knows more), inventory holding (the risk of being stuck with a position), and order processing (the cost of doing business). Drag the slider below and watch all three shift in real time.
Spread Decomposition (Huang & Stoll)
Active Market Makers
7 of 8 still quoting
Notice how market makers withdraw as uncertainty rises. In crisis conditions, only one or two remain — and they demand a massive spread to compensate. A 2 bps average spread that was actually 0.5 bps for 55 seconds and 8 bps for 5 seconds tells a fundamentally different story than a steady 2 bps. The itself predicts future return volatility.
A widening spread is a leading indicator — it signals increased uncertainty about fair value before the price itself visibly reacts. Spread compression signals confident competition among liquidity providers and a regime where execution is cheaper and mean reversion is more reliable.