Market Making, Inventory Risk, and Adverse Selection
Quoting both sides to earn the spread, while managing the position you accumulate and the informed traders who pick you off.
Leads to: 16.6 asks whether any such strategy survives honest backtesting and risk controls.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Describe the market maker’s objective: earn the spread while controlling inventory and adverse selection.
- Explain how inventory risk skews quotes away from the mid to mean-revert the position.
- State the Avellaneda–Stoikov reservation price and optimal spread and interpret each term.
- Contrast the profit from uninformed flow with the loss to informed flow.
- Simulate a market maker’s inventory and P&L and analyze the risk–reward trade-off.
Key Vocabulary
- Market maker
- A liquidity provider who continuously quotes bid and ask, aiming to earn the spread across many round trips.
- Inventory risk
- The price risk from the net position a market maker accumulates when fills are one-sided.
- Reservation price
- The market maker’s inventory-adjusted fair value; the mid around which it centers its quotes.
- Skewing quotes
- Shifting both quotes to encourage trades that reduce inventory (e.g. lower both to sell down a long).
- Avellaneda–Stoikov
- A stochastic-control model giving optimal bid/ask quotes under inventory risk over a horizon.
- Adverse selection
- Losses from filling informed traders whose orders predict the next price move.
- Fill intensity
- The arrival rate of market orders hitting a quote, decreasing in how far the quote is from the mid.
Intuition & Motivation
The objective and the two risks
Over a horizon \(T\) the market maker maximizes expected utility of terminal wealth, where wealth is spread capture plus the mark-to-market of inventory. It faces:
- Inventory risk: holding \(q\) shares exposes \(q\sigma\) of price risk; a large one-sided position can dwarf the spread earned.
- Adverse selection: informed market orders arrive precisely when the quoted side is about to be wrong, so fills are biased against the maker.
Skewing quotes around a reservation price
Rather than quoting symmetrically around the mid \(s\), the maker centers on an inventory-adjusted reservation price. In the Avellaneda–Stoikov model with inventory \(q\), risk aversion \(\gamma\), volatility \(\sigma\), and time-to-close \((T-t)\):
A long position \((q\gt 0)\) pulls the reservation price below the mid, so both quotes drop and the maker is more eager to sell - mean-reverting the inventory toward zero. The optimal total bid–ask spread is
where \(k\) governs how fill intensity decays with quote distance. The first term is the inventory/vol risk premium; the second is the compensation for the shape of order flow. Wider spreads earn more per fill but get fewer fills - the maker trades edge against volume.
Profit vs the informed
Decompose a market maker’s P&L over many trades:
| Source | Sign | Driver |
|---|---|---|
| Spread capture | + | Round trips with uninformed (noise) traders |
| Inventory P&L | ± | Price moves on the net position held |
| Adverse selection | − | Fills to informed traders before the price moves |
A viable maker needs the spread capture to exceed the inventory variance cost plus adverse-selection bleed. When informed flow spikes (news), makers widen or pull quotes - exactly the Glosten–Milgrom logic from 16.2.
Interactive: simulate inventory and P&L
- Quoting symmetrically regardless of inventory: an unmanaged position’s risk quickly exceeds the spread earned.
- Ignoring adverse selection: capturing the quoted spread on paper means nothing if informed flow systematically picks the right side.
- Setting the spread too tight for the volatility: you win more fills but lose the inventory-variance battle.
- Assuming market making is a guaranteed positive-carry strategy: it is a risk-taking activity that can and does lose money.
- Skew quotes toward flattening inventory and impose hard inventory limits; risk control beats cleverness.
- Widen (or pull) quotes when adverse-selection signals fire (order-flow imbalance, news, volatility spikes).
- Tie the spread to realized/expected volatility - the \(\gamma\sigma^2(T-t)\) term is not optional.
- Track P&L attribution across spread capture, inventory, and adverse selection to know why you make or lose money.
Knowledge Check
Practical Exercise
(a) Write the Avellaneda–Stoikov reservation price and explain, for a short inventory \(q\lt 0\), which way the quotes shift and why. (b) A maker captures an average \(1\)-cent spread on \(10{,}000\) round trips but ends a volatile day with a large unhedged inventory whose price moved \(50\) cents. Sketch the P&L attribution. (c) Explain why tightening the spread to win more fills can reduce profit.
(a) \(r=s-q\gamma\sigma^2(T-t)\). For \(q\lt 0\) (short), \(-q\gt 0\) so \(r\gt s\): the reservation price is above the mid, both quotes rise, and the higher bid is more likely to be hit - the maker buys to cover the short and flatten inventory. Quotes always skew to mean-revert the position toward zero.
(b) Spread capture \(\approx 10{,}000\times\$0.01=\$100\) of gross edge (before adverse selection). Inventory P&L: if the maker was left holding, say, \(2{,}000\) shares and the price moved \(\$0.50\) against it, that is \(2{,}000\times(-\$0.50)=-\$1{,}000\) - an order of magnitude larger than the spread earned. Net P&L is dominated by the inventory term, illustrating that inventory risk, not spread, decides the day when positions are unmanaged.
(c) Tightening the spread increases fill volume but (i) lowers the edge per round trip and (ii) attracts more adverse-selected flow while accumulating inventory faster in trends. If the extra fills are disproportionately informed or build risky inventory, the marginal fills lose money and total profit falls - there is an interior optimal spread, not ‘tighter is always better.’
Lesson Summary
Formula Sheet Additions
- Did I skew quotes by inventory rather than quote symmetrically?
- Did I widen the spread with volatility (the \(\gamma\sigma^2(T-t)\) term)?
- Did I account for adverse selection, not just quoted spread capture?
- Did I impose inventory limits / risk controls?
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: To mean-revert the position: the reservation price \(r=s-q\gamma\sigma^2(T-t)\) shifts against the inventory (down when long, up when short), moving both quotes so the flattening side is more likely to fill.
A: Spread capture (+, from uninformed flow), inventory P&L (\(\pm\), price moves on the net position), and adverse selection (\(-\), fills to informed traders).
A: It widens with \(\sigma^2\) and \(\gamma\) through the \(\gamma\sigma^2(T-t)\) inventory-risk term; more risk demands more compensation per fill.
Flashcards
Click to flip. These feed the site-wide spaced-repetition queue.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
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.
- Algorithmic and High-Frequency Trading (Cartea, Jaimungal & Penalva, 2015) current - Ch. 8–10 - Ch. 8–10: market making, inventory control, and the Avellaneda–Stoikov / Ho–Stoll frameworks.
- Stochastic Calculus for Finance II (Steven Shreve, 2004) foundational - Ch. 5–6 - Ch. 5–6: stochastic control and utility maximization underlying the quoting problem.
- Time Series Analysis (James Hamilton, 1994) foundational - Ch. 3 - Ch. 3: modeling order-flow arrival and inventory dynamics as time series.