Posterior and Adverse-Selection Decomposition After a Buy

Market Microstructure · Medium · Free problem

This problem uses the standard binary Glosten-Milgrom setup. An asset has value $V \in \{0, 1\}$ with prior $P(V = 1) = p$. A trader arrives who is informed with probability $q$ and uninformed with probability

- q$. An informed trader buys if $V = 1$ and sells if $V = 0$; an uninformed trader buys or sells with equal probability $\frac{1}{2}$.

Suppose your ask price $a$ is lifted (i.e., a buy occurs).

  1. Compute the posterior $\alpha = P(V = 1 \mid \text{Buy at } a)$ and the Bayes price $m^{+} = E[V \mid \text{Buy}]$.
  1. Decompose the execution P&L into spread capture minus adverse selection:

$\text{P\&L} = \underbrace{(a - m^{+})}_{\text{spread capture}} + \underbrace{(m^{+} - V)}_{\text{adverse selection}}$

  1. Take expectations conditional on a buy to quantify the adverse-selection cost $m^{+} - p$ and show how it depends on $q$ and $p$.

Hints

  1. Write down the probability of a buy conditional on each value of $V$, separating informed and uninformed contributions.
  2. Apply Bayes' theorem to get $P(V=1 \mid \text{Buy})$. Since $V$ is binary, this posterior probability equals $E[V \mid \text{Buy}]$.
  3. For the P&L decomposition, insert $m^{+}$ between $a$ and $V$: $a - V = (a - m^{+}) + (m^{+} - V)$. Then take expectations conditional on a buy and note that $E[V \mid \text{Buy}] = m^{+}$ by definition.

Worked Solution

How to Think About It: Every time someone lifts your ask, you should be nervous -- the buy itself is bad news about $V$. Informed traders only buy when $V = 1$, so a buy skews the posterior upward. The market maker's problem is that the post-trade fair value $m^{+}$ is higher than the pre-trade mid $p$, which means you just sold something that is now worth more than you thought. The gap $m^{+} - p$ is the adverse-selection cost per buy trade, and it grows with $q$ (more informed flow) and with how "surprising" the signal is.

Quick Estimate: Take $p = 0.5$ and $q = 0.3$. Then $P(\text{Buy} \mid V=1) = \frac{1+0.3}{2} = 0.65$ and $P(\text{Buy} \mid V=0) = \frac{1-0.3}{2} = 0.35$. Posterior: $\alpha = \frac{0.65 \times 0.5}{0.65 \times 0.5 + 0.35 \times 0.5} = \frac{0.325}{0.5} = 0.65$. So the mid moves from 0.50 to 0.65 on a buy -- that 0.15 jump is the adverse-selection cost. You need to set $a \geq 0.65$ just to break even on buys.

Formal Derivation:

Part 1 -- Posterior after a buy.

The buy likelihoods are:

$P(\text{Buy} \mid V=1) = q \cdot 1 + (1-q) \cdot \tfrac{1}{2} = \frac{1+q}{2}$

$P(\text{Buy} \mid V=0) = q \cdot 0 + (1-q) \cdot \tfrac{1}{2} = \frac{1-q}{2}$

The total buy probability is:

$P(\text{Buy}) = \frac{1+q}{2} \cdot p + \frac{1-q}{2} \cdot (1-p) = \frac{1 + q(2p - 1)}{2}$

By Bayes' theorem:

$\alpha = P(V=1 \mid \text{Buy}) = \frac{\frac{1+q}{2} \cdot p}{\frac{1 + q(2p-1)}{2}} = \frac{(1+q)\,p}{1 + q(2p-1)}$

Since $V$ is binary, $m^{+} = E[V \mid \text{Buy}] = \alpha$, so:

$m^{+} = \frac{(1+q)\,p}{1 + q(2p-1)}$

Part 2 -- P&L decomposition.

When you sell at the ask $a$ and the asset is worth $V$, your execution P&L is $a - V$. Insert and subtract $m^{+}$:

$a - V = (a - m^{+}) + (m^{+} - V)$

  • Spread capture $(a - m^{+})$: the profit you earn because your ask exceeds the post-trade fair value. This is deterministic once you know $a$ and $m^{+}$.
  • Adverse selection $(m^{+} - V)$: the loss from mispricing. Because $V > m^{+}$ whenever $V = 1$ and $m^{+} < 1$, the informed buys systematically generate losses here.

Part 3 -- Expected adverse-selection cost.

Conditional on a buy:

$E[m^{+} - V \mid \text{Buy}] = m^{+} - E[V \mid \text{Buy}] = m^{+} - m^{+} = 0$

This is zero by construction -- the conditional decomposition is exact, and $m^{+}$ is the conditional expectation. So the expected P&L conditional on a buy is just the spread capture:

$E[a - V \mid \text{Buy}] = a - m^{+}$

The more informative quantity is the adverse-selection cost measured as the price impact -- the distance $m^{+}$ moved from the prior mid $m = p$:

$m^{+} - p = \frac{(1+q)\,p}{1 + q(2p-1)} - p = \frac{q\,p(1-p)}{\frac{1}{2}[1 + q(2p-1)]} \cdot \frac{1}{2}$

Simplifying:

$m^{+} - p = \frac{q\,p(1-p)}{1 + q(2p-1)}$

This is the per-buy adverse-selection cost. Key properties:

  • Increasing in $q$: more informed traders means a bigger upward revision on buys. At $q = 0$, $m^{+} = p$ (no information, no movement). At $q = 1$, $m^{+} = 1$ (a buy guarantees $V = 1$).
  • Maximized at $p = \frac{1}{2}$ for fixed $q$: when the prior is most uncertain, each trade carries the most information. At $p = 0$ or $p = 1$, the asset's value is already known and buys carry no news.
  • Zero-profit condition: the market maker breaks even on buys when $a = m^{+}$. Any narrower ask is a subsidy to informed traders.

Answer: The posterior is $m^{+} = \frac{(1+q)\,p}{1 + q(2p-1)}$. Execution P&L decomposes as $(a - m^{+}) + (m^{+} - V)$, where the adverse-selection term has conditional expectation zero. The price impact per buy is $m^{+} - p = \frac{q\,p(1-p)}{1 + q(2p-1)}$, increasing in $q$ and maximized at $p = \tfrac{1}{2}$. The break-even ask is $a = m^{+}$.

Intuition

This problem is the core of the Glosten-Milgrom model and captures why market makers charge a spread. Every trade carries information: buys are more likely when the asset is truly valuable, so the mere act of buying pushes the fair value up. The gap between the new fair value $m^{+}$ and the old mid $p$ is the adverse-selection cost -- the tax that informed traders impose on the market maker. The spread exists precisely to offset this tax.

The formula $m^{+} - p = q\,p(1-p)/[1 + q(2p-1)]$ tells you that adverse selection is worst when there is lots of private information ($q$ high) and lots of prior uncertainty ($p$ near

/2$). In practice, this is why spreads widen around earnings announcements (higher $q$) and are narrower for assets with well-known values (extreme $p$). The P&L decomposition also shows that the conditional adverse-selection term is zero in expectation -- the market maker does not lose money on average if they set $a = m^{+}$. The loss is not that the market maker gets picked off on average, but that they must quote wide enough to compensate for the times they do get picked off, which reduces trading volume and liquidity.

Open the full interactive solver →