# Adverse Selection: Markouts and Toxic Flow

Why trading with someone who knows more costs money, markouts as the measure of that cost, toxic flow, and how informed traders change the best spread.

A market maker earns the spread from customers it knows nothing about. "Market makers and liquidity" showed the income of a round trip when the mid price does not move, and "Queue position and fill probability" showed that a resting order tends to be filled just before the price moves against it. This lesson explains why: some customers trade because they know where the price is going. It measures the damage with markouts, derives what one such customer costs, and shows how that cost pushes the best spread outward.

## Informed and uninformed customers

A **noise trader** trades for reasons unrelated to the next price move: to invest a pay cheque, raise cash, rebalance a fund, or hedge another position. Over a short horizon the mid price is as likely to rise as to fall after such a trade. An **informed trader** trades because it expects the mid price to move, and buys just before the price rises or sells just before it falls.

The market maker's quotes are the best bid and ask in the book described in "The limit order book", and anyone can hit them. The maker cannot tell the two kinds of customer apart at the moment of the trade. It sells to the informed buyer at the ask, the price then rises, and the maker is short something worth more than it received. This is **adverse selection**: the trades the maker gets are not a random sample, because the customers who most want to trade with it are the ones who expect to profit.

## Markouts

A **markout** measures this after the fact. Take a fill at time $t$ and a horizon $h$. Let $\varepsilon = +1$ if the maker bought and $\varepsilon = -1$ if it sold, and let $m$ be the mid price. The markout is the mid price move after the fill, signed from the maker's side:

$$
M_h = \varepsilon\,(m_{t+h} - m_t).
$$

A positive markout means the price moved in the maker's favour. Marked to the mid at $t+h$, one unit bought at the bid $m_t - \delta$ is worth $\delta + M_h$ to the maker: the half-spread it captured, plus the markout. After noise fills the average markout is zero, so the maker keeps the half-spread $\delta$. After informed fills the average markout is negative, and it takes back part or all of that $\delta$.

## A model of the maker's income

The maker quotes symmetrically, bid $m - \delta$ and ask $m + \delta$, with half-spread $\delta$ in cents. Customers arrive at rate $\lambda$ per second, and a share $\pi$ of them is informed.

- A noise customer buys or sells with equal chance and accepts a price $\delta$ away from the mid with probability $e^{-k\delta}$: the wider the quote, the fewer customers take it. The maker earns $\delta$ per fill, so one noise arrival is worth $\delta\,e^{-k\delta}$ on average.
- An informed customer knows the value change $\Delta V$ over the next $h$ seconds. With volatility $\sigma$ in cents per $\sqrt{\text{s}}$, $\Delta V$ is normal with mean 0 and standard deviation $s = \sigma\sqrt{h}$. It buys at the ask when $\Delta V > \delta$ and sells at the bid when $\Delta V < -\delta$; otherwise the spread eats its profit and it stays out.

## The expected loss to an informed customer

Suppose the informed customer buys at $m + \delta$ because $\Delta V > \delta$. After $h$ seconds the maker, who sold, has lost the amount by which the value exceeds what it was paid, net of the spread:

$$
\text{loss} = \Delta V - \delta \quad\text{when } \Delta V > \delta, \text{ and } 0 \text{ otherwise.}
$$

Its expectation is the partial expectation $E[(\Delta V - \delta)^+]$. Write $\Delta V = sZ$ with $Z$ standard normal, density $\varphi$ and distribution function $\Phi$, and put $a = \delta/s$:

$$
E[(\Delta V - \delta)^+] = s\int_a^\infty (z - a)\,\varphi(z)\,dz = s\left[\int_a^\infty z\,\varphi(z)\,dz - a\,(1 - \Phi(a))\right].
$$

Since $\varphi'(z) = -z\,\varphi(z)$, the first integral equals $\varphi(a)$. Therefore

$$
L(\delta) = E[(\Delta V - \delta)^+] = s\,\varphi(\delta/s) - \delta\,\bigl(1 - \Phi(\delta/s)\bigr).
$$

By symmetry the sell side costs the same, so one informed arrival costs the maker $2L(\delta)$ in expectation. With a zero spread $L(0) = s\,\varphi(0) = s/\sqrt{2\pi} \approx 0.399\,s$, and $L$ falls towards zero as $\delta$ grows past a few multiples of $s$.

## Income rate and the best spread

Noise arrivals come at rate $\lambda(1-\pi)$ and informed arrivals at rate $\lambda\pi$, so the maker's expected income per second is

$$
R(\delta) = \lambda\Bigl[(1-\pi)\,\delta\,e^{-k\delta} - 2\pi\,L(\delta)\Bigr].
$$

Without informed customers, $\pi = 0$ and $R(\delta) = \lambda\,\delta\,e^{-k\delta}$. Its derivative is $\lambda\,e^{-k\delta}(1 - k\delta)$, which is zero at $\delta = 1/k$: this is the best half-spread when everyone is noise.

For $\pi > 0$ we need $L'(\delta)$. Differentiating $L$ with $a = \delta/s$ gives $-a\varphi(a) - (1 - \Phi(a)) + a\varphi(a)$, so $L'(\delta) = -(1 - \Phi(\delta/s))$: widening the spread by a small step saves the maker exactly the probability that an informed customer still trades on one side. Setting $R'(\delta) = 0$ gives the first-order condition

$$
(1-\pi)\,e^{-k\delta}\,(k\delta - 1) = 2\pi\,\bigl(1 - \Phi(\delta/s)\bigr).
$$

The right side is positive, so the left side must be too, which requires $k\delta > 1$: **the best half-spread lies above $1/k$, and it moves outward as $\pi$ or $s$ grows.** There is also a second effect. At $\delta = 0$ the income is $-2\pi\lambda L(0) < 0$, so a maker with no spread loses money. The smallest half-spread $\delta_0$ with $R(\delta_0) = 0$ is the **break-even spread**: the noise income exactly pays for the informed loss. Below it the average arrival costs the maker money, whatever the volume.

### Worked example: Income at half-spreads of 2¢ and 2.3¢

1. Take $\lambda = 4$ arrivals a second, $k = 0.5$ per cent, $\sigma = 1$¢ per $\sqrt{\text{s}}$, $h = 3$ s and $\pi = 0.2$. The informed customers' view has standard deviation:
   $$s = \sigma\sqrt{h} = \sqrt{3}$$ → **1.7321**
2. A noise arrival at $\delta = 2$¢ earns, on average:
   $$\delta\,e^{-k\delta} = 2\,e^{-1}$$ → **0.7358**
3. An informed arrival costs one side's partial expectation. With $z = 2/\sqrt{3} = 1.1547$ we have $\varphi(z) = 0.2048$ and $1 - \Phi(z) = 0.1241$:
   $$L(2) = 1.7321 \cdot 0.2048 - 2 \cdot 0.1241$$ → **0.1066**
4. Net income per arrival is the noise share of the first minus both sides of the second:
   $$0.8 \cdot 0.7358 - 2 \cdot 0.2 \cdot 0.1066$$ → **0.546**
5. With four arrivals a second the income rate is, in cents per second (131.04¢ a minute):
   $$R(2) = 4 \cdot 0.546$$ → **2.1839**
6. Moving out to $\delta = 2.3$¢ gives $2.3\,e^{-1.15} = 0.7283$ and $L(2.3) = 0.0743$, so the income rate rises:
   $$R(2.3) = 4\,(0.8 \cdot 0.7283 - 0.4 \cdot 0.0743)$$ → **2.2116**
7. Without informed customers the same $\delta = 2$¢ would have earned $4 \cdot 2e^{-1} = 2.9430$, so the informed share costs:
   $$2.9430 - 2.1839$$ → **0.7591**

The best half-spread with no informed customers is $1/k = 2$¢. With 20% informed it is about 2.29¢, so the informed customers cost the maker about a quarter of its income at 2¢ and also push the best quote outward.

The figure draws $R(\delta)$ in cents per minute. The dashed curve is the same flow with no informed customers; the solid curve is the current informed share. Vertical lines mark the break-even half-spread and the best half-spread. At the defaults (20% informed, volatility 1) the dashed curve peaks at 2¢, the solid curve peaks at 2.29¢ with 132.7¢ a minute, and the break-even is 0.32¢. At the handle's starting position of 2¢ the maker earns 141.3¢ from noise customers and loses 10.2¢ to informed ones, 131.0¢ net. Drag the handle along the chart, then raise the informed share to 40%: the best half-spread moves to 2.64¢ and the break-even to 0.74¢. Set volatility to 2 at 20%: the best half-spread is 2.85¢ and the net income at 2¢ falls to 83.1¢.

*[Interactive figure: toxic income](https://quantsandbox.dev/guide/microstructure/adverse-selection)*

## Toxic flow in practice

Real makers cannot observe $\pi$ or $s$, but they can compute markout curves: the average of $M_h$ for horizons from a fraction of a second to minutes, split by counterparty, venue, order size or strategy. A flow whose markout curve falls and stays negative is called **toxic**; a flow whose curve stays near zero is benign. Makers quote tighter, in more size, to the second kind, and wider or not at all to the first.

This is why flow is segmented. Brokers and venues separate retail orders, which rarely carry information about the next few seconds, from fast professional orders, and a maker can afford a narrow spread on the former. Wholesale market makers pay brokers for retail order flow because its markouts are close to zero. The informed customers do not disappear; they are priced in the spread everyone else sees.

> A markout depends on the horizon $h$. Too short, and the information has not reached the price yet; too long, and unrelated noise swamps the average. Desks look at the whole curve, not one number.

## Summary

- A market maker cannot tell informed from noise customers at the time of the trade, so its fills are adversely selected.
- The markout $M_h = \varepsilon\,(m_{t+h} - m_t)$ is zero on average for noise fills and negative for informed fills.
- One informed arrival costs $2L(\delta)$ with $L(\delta) = s\,\varphi(\delta/s) - \delta\,(1 - \Phi(\delta/s))$ and $s = \sigma\sqrt{h}$.
- Income is $R(\delta) = \lambda[(1-\pi)\,\delta e^{-k\delta} - 2\pi L(\delta)]$; the best half-spread moves above $1/k$ as the informed share grows, and below the break-even spread the maker loses money on average.

[Open the market making lab](https://quantsandbox.dev/market-making)

## Interactive labs

- [Market Making Simulator: Spread and Inventory](https://quantsandbox.dev/market-making)

## Practice questions

### 1. The average 10-second markout of a maker's buys is −0.8¢. What does that tell you?

- a) After the maker buys, the mid price tends to fall, so the sellers knew something
- b) The maker earns 0.8¢ per share
- c) The spread is 0.8¢
- d) The fills were too slow

**Answer:** a) After the maker buys, the mid price tends to fall, so the sellers knew something

A negative markout on buys means the mid price is lower 10 seconds later: the maker bought just before a fall. Sellers who do that systematically are informed. It says nothing directly about the spread or the speed of the fills.

### 2. With a zero spread, an informed customer expects the value to move by a normal amount with standard deviation $s = 2.5$¢. What is the maker's expected loss on its buy side, in cents?

**Answer:** 0.9974

At $\delta = 0$ the loss is $L(0) = s\,\varphi(0) = 2.5/\sqrt{2\pi} \approx 0.997$¢: the informed customer collects the upward half of the move.

### 3. All customers are noise traders and the fill probability is $e^{-k\delta}$ with $k = 0.4$ per cent. Which half-spread, in cents, maximises the maker's income?

**Answer:** 2.5

With $\pi = 0$ the income is $\lambda\,\delta\,e^{-k\delta}$, maximised at $\delta = 1/k = 1/0.4 = 2.5$¢.

---

Source: https://quantsandbox.dev/guide/microstructure/adverse-selection

Previous lesson: [Queue Position and Limit Order Fill Probability](https://quantsandbox.dev/guide/microstructure/queue-position)

Next lesson: [Glosten–Milgrom Model: Spreads from Informed Trading](https://quantsandbox.dev/guide/microstructure/glosten-milgrom)
