Phase 16 - Lesson 16.2

Price Formation, the Bid–Ask Spread, and Liquidity

Where prices come from when there is no single ‘price’, and why the spread is the market maker’s compensation for real risks.

⏱ 50 min● Advanced🔗 Prereqs: 16.1
↖ Phase 16 hub
Builds on: 16.1 built the book; here we explain what sets the gap between its two sides.
Leads to: 16.3 turns the spread’s adverse-selection component into a model of impact.

Learning Objectives

Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.

Key Vocabulary

Price formation
The process by which order flow and information are incorporated into the quoted mid-price over time.
Bid–ask spread
The gap \(P_a-P_b\); the round-trip cost of immediacy and the market maker’s gross compensation.
Order-processing cost
The fixed operational cost (fees, technology) of providing quotes, a component of the spread.
Inventory cost
Compensation a market maker demands for holding an unwanted position away from its target.
Adverse selection
The risk of trading against a better-informed counterparty; a component of the spread even absent costs.
Liquidity
The ease of trading size quickly at low cost; measured by spread (tightness), depth, and resiliency.
Effective spread
\(2|P_{\text{trade}}-\text{mid}|\); the realized round-trip cost, often below the quoted spread.

Intuition & Motivation

Intuition
There is no single ‘true price’ - only a best bid and a best ask, and a mid that drifts as orders arrive. Prices form because each trade carries information: a buy nudges the mid up, a sell nudges it down, and market makers update quotes to protect themselves. The spread is not a fee the exchange charges; it is what liquidity providers demand for three real risks. They pay the fixed cost of quoting, bear inventory risk when they end up long or short, and - most subtly - face adverse selection: whoever hits their quote may know something they don’t. Glosten–Milgrom’s insight is that this last risk alone forces a positive spread even if quoting were free.

Price formation

The mid-price evolves as a running estimate of value updated by order flow. Signed trades (buys positive, sells negative) predict short-horizon returns; a stylized model writes the efficient price as a random walk plus flow information,

\[m_{t}=m_{t-1}+\lambda\,x_t+\varepsilon_t,\] (16.3)

where \(x_t\) is the signed trade size and \(\lambda\) (Kyle’s lambda) is the price impact per unit of net order flow. The permanent part of impact is exactly the market learning from informed flow; the transient part is inventory pressure that later mean-reverts.

Decomposing the spread

The quoted half-spread compensates the liquidity provider for three distinct things:

ComponentWhat it pays forBehavior
Order-processingFixed costs of quoting (tech, fees)Roughly constant per trade
InventoryRisk of holding an unwanted positionGrows with volatility & position
Adverse selectionTrading vs the informedGrows with information asymmetry
Proposition - Glosten–Milgrom: information alone forces a spread
Suppose a fraction of traders are informed and the rest trade for liquidity reasons. A competitive, risk-neutral, zero-cost market maker must still quote an ask above and a bid below the expected value: the ask equals \(\E[V\mid\text{buy}]\) and the bid equals \(\E[V\mid\text{sell}]\). Because a buy is more likely to come from someone who knows \(V\) is high, \(\E[V\mid\text{buy}]\gt \E[V\mid\text{sell}]\), so a strictly positive spread emerges purely from adverse selection - even with no processing or inventory cost.
Key Idea
The spread is the price of immediacy and the market maker’s shield against being picked off. Every trade you take pays it; every passive quote you post tries to earn it while dodging adverse selection.

Liquidity: three dimensions

Liquidity is not one number. It has:

A market can be tight but shallow (small spread, little size) or deep but wide. Execution algorithms must read all three.

Estimating the effective spread (Roll’s model)

Even without quote data, Roll (1984) showed that bid–ask bounce induces negative serial covariance in trade-price changes. If the efficient price is a random walk and trades bounce \(\pm s/2\) around it, then

\[\operatorname{Cov}(\Delta p_t,\Delta p_{t-1})=-\frac{s^2}{4}\ \Rightarrow\ s=2\sqrt{-\operatorname{Cov}(\Delta p_t,\Delta p_{t-1})}.\] (16.4)
Worked Example - Roll’s implied spread from a covariance
1
You observe first-order autocovariance of trade-price changes \(\operatorname{Cov}(\Delta p_t,\Delta p_{t-1})=-0.25\) (in cents\(^2\)).
2
Roll (16.4): \(s=2\sqrt{0.25}=2\times0.5=1.0\) cent implied spread.
3
Interpretation: the bounce between bid and ask makes consecutive price changes negatively correlated; its magnitude reveals the spread even with no quotes.
4
Caveat: if the covariance is positive (trending/informational flow), the model breaks - a reminder that Roll isolates only the transient bounce component.

Interactive: decompose an effective spread

Common Mistakes to Avoid
  • Thinking the spread is an exchange fee: it is the liquidity provider’s compensation for costs, inventory, and adverse selection.
  • Ignoring adverse selection: even a costless, risk-neutral market maker must quote a spread (Glosten–Milgrom).
  • Reducing liquidity to the spread alone: depth and resiliency matter as much for anything larger than a tiny order.
  • Applying Roll’s formula when autocovariance is positive: informational trends violate its pure-bounce assumption.
Quant Practitioner Tips
  • Report the effective spread (relative to the mid at trade time), not just the quoted spread - it captures price improvement.
  • Watch how the spread widens with volatility and around news: the adverse-selection and inventory components spike.
  • Estimate \(\lambda\) (Kyle’s lambda) from signed flow to size your orders relative to the market’s information sensitivity.
  • Assess liquidity in all three dimensions before choosing between aggressive and passive execution.

Knowledge Check

Q1 Hard
Glosten–Milgrom show that a bid–ask spread arises even for a costless, risk-neutral market maker because:
Exchanges mandate a minimum spread
Inventory must be financed
A buy is more likely to come from an informed trader, so \(\E[V\mid buy]\gt \E[V\mid sell]\)
Volatility is always positive
Q2 Easy
Which is NOT one of the three standard components of the bid–ask spread?
Order-processing cost
Inventory cost
Adverse-selection cost
Dividend cost
Q3 Medium
Roll’s model infers the spread from trade prices via:
The mean of price changes
The negative first-order autocovariance of price changes, \(s=2\sqrt{-\text{Cov}}\)
The variance of quoted spreads
The correlation with volume

Practical Exercise

(a) Explain, using Glosten–Milgrom, why a market maker widens quotes when it suspects more informed flow (e.g. around an earnings release). (b) Trades on a name give \(\text{Cov}(\Delta p_t,\Delta p_{t-1})=-0.16\) cents\(^2\); estimate the implied spread. (c) Two venues both quote a \(1\)-cent spread, but one shows \(50\) shares at the touch and the other \(5{,}000\). Which is more liquid for a \(2{,}000\)-share order and why?

▶ Show full solution

(a) Around a news event a larger fraction of incoming orders are informed, so conditioning on a buy (or sell) shifts \(\E[V\mid\text{trade}]\) more strongly. To avoid systematically buying from those who know \(V\) is high (and selling to those who know it is low), the maker widens the spread - raising the adverse-selection component - until quoting is again break-even.

(b) Roll: \(s=2\sqrt{0.16}=2\times0.4=0.8\) cent implied spread.

(c) For a \(2{,}000\)-share order the second venue is far more liquid despite the identical quoted spread: with only \(50\) shares at the touch the first venue forces the order to walk deep into the book (large slippage), whereas \(5{,}000\) shares of depth lets the full order fill near the touch. Liquidity is spread and depth (and resiliency), not spread alone.

After the reveal, answer for yourself: How would you expect each spread component to change if HFT market makers exited a name?

Lesson Summary

Prices form as order flow and information update a drifting mid; the bid–ask spread is the liquidity provider’s compensation for order-processing, inventory, and adverse-selection risk. Glosten–Milgrom show adverse selection alone forces a spread even with zero costs, and Kyle’s lambda quantifies the permanent impact of flow. Liquidity is a three-dimensional notion - tightness, depth, resiliency - and Roll’s model recovers the effective spread from the negative autocovariance of trade prices.

Formula Sheet Additions

Flow price impact
\[m_t=m_{t-1}+\lambda\,x_t+\varepsilon_t\]
Kyle’s lambda: permanent mid impact per unit of signed order flow.
Roll’s spread
\[s=2\sqrt{-\operatorname{Cov}(\Delta p_t,\Delta p_{t-1})}\]
Recovers the spread from bid–ask bounce (valid only when the covariance is negative).
Error Log Checklist
  • Did I treat the spread as compensation, not a fee?
  • Did I include adverse selection, not just costs and inventory?
  • Did I check Roll’s covariance is negative before applying it?
  • Did I assess depth and resiliency, not just the quoted spread?

Retrieval Practice

Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.

▶ Show retrieval prompts & answers
Q: Name the three components of the bid–ask spread.
A: Order-processing cost, inventory cost, and adverse-selection cost.
Q: Why does adverse selection force a spread even for a costless, risk-neutral market maker?
A: Because a buy signals the asset is more likely undervalued, \(\E[V\mid buy]\gt \E[V\mid sell]\); competitive quotes must straddle the expectation, giving a positive spread (Glosten–Milgrom).
Q: State Roll’s estimator of the spread and its key assumption.
A: \(s=2\sqrt{-\text{Cov}(\Delta p_t,\Delta p_{t-1})}\); it assumes price changes come from bid–ask bounce around a random-walk efficient price (needs negative autocovariance).

Flashcards

Click to flip. These feed the site-wide spaced-repetition queue.

Spread components
Order-processing + inventory + adverse selection.
Glosten–Milgrom
Informed flow forces a spread even with zero costs: \(\E[V\mid buy]\gt \E[V\mid sell]\).
Liquidity dimensions
Tightness (spread), depth (size), resiliency (refill speed).

Completion Checklist

Confidence / mastery rating
Personal notes

Source References

This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.