Information and education only. Every page, figure and calculator on this site exists to explain how financial instruments work. Nothing here is investment, tax or legal advice, a recommendation, or a valuation you can rely on. Full disclaimer

Market MicrostructureSome background helps

What actually happens in the milliseconds between clicking Buy and owning something — order books, makers and takers, auctions and the plumbing of price.

The order book: where price lives

Every liquid market's heart is the same data structure: a limit order book — resting buy orders (bids) and sell orders (asks) queued by price and time. The best bid and best ask frame the spread; the mid-point is "the price" your app displays, though nobody can actually trade there.

A depth chart: cumulative resting orders on each side of the mid. Liquidity is the shape of this V — deep and tight in majors, shallow and wide in small-caps.
Mid — the spread lives hereBids (buyers)Asks (sellers)Price (bids ← mid → asks)Cumulative size
  • Market order: takes what the book offers, immediately — you pay the spread for certainty.
  • Limit order: names a price and waits — you earn the spread if filled, risk missing the move if not.
  • Depth is the honest measure of liquidity: how much can trade before the price moves. The chart's V-shape is what "liquid" looks like.
  • Price-time priority runs the queue: best price first, first-come first-served within a price — the reason speed became an arms race.

Makers, takers and the spread's economics

  • Market makers quote both sides continuously, earning the spread while carrying inventory risk — today overwhelmingly algorithmic (Citadel Securities, Virtu, Optiver and peers).
  • The spread prices three things: order-processing cost, inventory risk, and adverse selection — the chance the person trading with you knows something. That third component is why spreads blow out around news: makers widen against the informed.
  • Maker-taker fees: exchanges rebate liquidity providers and charge takers — microscopic per share, decisive at scale, and the origin of much routing controversy.

The speed layer: HFT in three sentences

  • High-frequency firms are mostly electronic market makers and arbitrageurs — they compressed spreads massively versus the human era, while concentrating the business in a handful of firms.
  • The dark side is fragility in stress: quotes can vanish in milliseconds (the 2010 Flash Crash's lesson), which is why circuit breakers and volatility pauses now lattice every major market.
  • Speed advantages are measured in microseconds — microwave towers between Chicago and New York exist because light in fibre is too slow. Whether that race produces social value is a fair and open question.

Auctions: where the benchmark prices are made

  • Continuous trading gets the attention; auctions set the prices that matter. Opening and closing auctions batch all orders into one crossing price.
  • The closing auction is the day's main event — approaching a quarter of daily volume in US and European equities, because index funds must trade at the close their benchmarks use.
  • IPO pricing, LME metals rings, and volatility-halt reopenings are all auctions too: when price discovery is hard, markets fall back to batching.

Off-exchange: dark pools and wholesalers

  • Dark pools match orders without displaying them — institutions hiding size from the market's front-runners. Roughly a third of US equity volume trades off-exchange.
  • Payment for order flow: US retail brokers sell their order flow to wholesalers who fill it at (slightly) better-than-exchange prices and profit from its harmlessness — retail flow carries little adverse selection. The EU banned the practice in 2024; the US debates it perennially.
  • The trade-off in one line: retail gets zero commissions and decent fills; the public order book gets thinner — and everyone argues about which effect wins.

Practitioner rules

  • Limit orders in anything illiquid, always — the book's thin tail is where market orders go to be punished (see the order-execution deep dive).
  • Respect the open and love the close: spreads are widest at 9:30, liquidity deepest in the closing auction.
  • Slippage is a strategy tax: measure fills against the mid at decision time — a strategy that "works" before impact often doesn't after. The market's microstructure is a cost curve, and every trader is somewhere on it.

Interactive: is that ETF premium an arbitrage?Practitioner

An ETF trades at a premium or discount to its net asset value. The creation and redemption mechanism closes any gap wider than the cost of doing it — so the question is always whether the gap exceeds that cost.

Premium / discount
In basis points
Arbitrage band
Beyond the band
Reading
In stressed markets

Widen the underlying spread to 200 basis points — a corporate bond ETF in a stressed week — and the band becomes so wide that a 1% "discount" is entirely explained by the cost of arbitraging it. That is the honest reading of ETF discounts in March 2020: the exchange price was current and the underlying marks were stale, so the ETF was the better price rather than the wrong one. See what liquidity costs.

Information and education only. This page explains a mechanism in general terms, using simplified textbook models and illustrative figures. It is not advice, not a recommendation, and not a valuation you can rely on. Conventions and rules differ by market and jurisdiction and change over time.