The Glosten–Milgrom model
"Adverse selection and informed trading" showed that a market maker, a dealer who continuously quotes a price to buy and a price to sell, loses money to traders who know more than the quote does, and that the spread has to be wide enough to pay for those losses. This lesson builds the simplest model in which that statement is derived instead of asserted: the Glosten–Milgrom model. It uses the conditional expectations and the martingale property from "Conditional expectation and martingales". The quotes are conditional expectations, the maker's belief is a martingale, and the spread, the learning and the speed of learning all follow from Bayes' rule.
Set-up
The asset is worth , which is either or and is revealed only at the end. Everyone starts from the same prior belief . Traders arrive one at a time, and each trades one unit with the market maker, who quotes a bid (the price the maker pays) and an ask (the price the maker charges). Independently of everything else, each trader is:
- informed with probability : knows , buys if and sells if ;
- a noise trader with probability : buys or sells with probability each, whatever is.
The maker is risk-neutral and competes with other makers, so quotes are set to make the expected profit on each trade zero. The maker knows and the current belief , but cannot tell an informed trader from a noise trader: all that is seen is the direction of the trade.
Quotes as conditional expectations
Take the ask. When a trader buys at , the maker receives and owes an asset worth , so the profit on the trade is . Requiring zero expected profit given that a buy has happened, and the same for a sell, gives
Because is or , its conditional expectation is the conditional probability that , and Bayes' rule computes it. First the chance of a buy in each state. If , an informed trader buys for sure and a noise trader buys half the time; if , only noise traders buy:
Selling is the mirror image: and . Bayes' rule with prior then gives
A buy is more likely when the asset is worth 1, so a buy raises the belief and ; a sell lowers it and . The ask lies above the prior and the bid below it.
The spread
At the factors and cancel and
The spread equals the informed share. With no informed traders, , a trade says nothing about , so both quotes equal the prior, the fair value , and the spread is zero. As grows the spread grows, and at every trade reveals , so the quotes are 0 and 1: the whole range. The spread is not a fee for effort. It is exactly the amount that makes the maker break even against the traders who know more.
Learning from the trades
After a buy the maker's belief is , which by construction is the ask. A buy therefore moves the belief from to , a sell moves it to , and the next quotes are computed from the new belief. The belief is the only thing the maker has to remember.
In odds, Bayes' rule is a multiplication. A buy multiplies the odds by the likelihood ratio , and a sell divides by the same factor. After buys and sells, in any order,
Only the difference between buys and sells matters. With the factor is , and a buy followed by a sell returns the belief exactly to where it was.
The belief is also a martingale from the maker's point of view. Let . The denominator of is , so , and in the same way . Adding the two,
The expected next belief equals the current belief, so is a martingale, as in "Conditional expectation and martingales". Quotes never drift in a predictable direction; they move only when a trade surprises the maker. A bounded martingale converges, and since informed trades push towards the truth, the belief converges to : the price discovers the value through the order flow.
A forty-trade example
The figure draws 40 trades from the model. The red line is the ask, the green line the bid and the dashed line the belief ; the dotted horizontal line marks the true value . The tiles under the chart are the trades, B for a buy and S for a sell. Click a tile to flip that trade and every later quote changes, while the quotes before it stay put. At the defaults (, ) the belief after 40 trades is 0.692 and the spread is 0.171. The belief first reached 90% after 30 trades and then fell back, because a run of noise sells outweighed the informed buys. Now move to 50%: the spread starts at 0.5 and the belief reaches 90% after four trades. Set to 0% and the three lines collapse onto 0.5, because nothing can be learned.
- Belief now, P(V = 1)
- 0.692
- Spread now
- 0.171
- Trades to 90% confidence
- 30
How fast the belief learns
Each trade moves the log-odds of by . If , the move is up with probability and down with probability , so the expected gain per trade is
For small , , so the gain is about . The information in a trade grows with the square of the informed share: doubling makes learning about four times faster. Reaching 90% means moving the log-odds from 0 to , which takes about trades on average at and about 6.5 at . One sequence, like the one in the figure, scatters around these averages.
What the model leaves out
Every trade is one unit, so size carries no information, and the maker's inventory plays no role. The informed trader is mechanical: always trading towards , with no concern for what the trade does to the price. A strategic insider would spread orders over time, which is what Kyle's model of informed trading studies. The maker must also know , which in practice has to be estimated. The two results that survive in richer models are that the spread compensates for adverse selection and that prices learn through the order flow.
Summary
- A competitive, risk-neutral maker sets the ask to and the bid to ; Bayes' rule gives both in closed form.
- At a prior of the spread equals the informed share ; it is zero when nobody is informed.
- After a trade the belief moves to the quote that was hit. It is a martingale, depends only on the number of buys minus sells, and converges to the true value.
- The expected log-odds gain per trade is , so doubling makes learning about four times faster.
- The model ignores size, inventory and strategic informed traders.