Day 25 — Market making is an inventory business

Monday, 31 August 2026 · Week 4 of 52 · Markets · Study day · 60 min

The second source of returns, and the one that pays for a service rather than for risk: you are being compensated for standing there, and charged by anyone who knows more than you.

What you should be able to do tonight

  • State the two costs a market maker’s spread has to cover, and say which of the two a fast quote update reduces.
  • Simulate one day of quoting and show how inventory risk moves your quotes even when your view has not changed.

Tasks 60 min

30 min Watch the Copenhagen microstructure lectures on dealer markets and the components of the spread. The decomposition into order-processing, inventory and adverse-selection costs is the framework you use again in week 42.

30 min Simulate: a mid-price random walk, you quote one tick either side, you fill with some probability per side, and your inventory accumulates. Run 1,000 steps. Plot profit and inventory. Then add a rule that skews your quotes against your inventory and show what it does to the variance of the outcome.

Resources

Deliverable

notebooks/day-025-market-making.ipynb with a quoting simulation, before and after inventory skewing, and the variance of profit reported for both.

Checkpoint

You quote two-sided and get lifted on the offer six times in a row. What do you do to your quotes, and what are you assuming when you do it?

Prepare for tomorrow

Ten minutes tonight so Day 26, Tuesday, 1 September 2026 starts clean. This is what the evening email sends you.

Download the Gatev, Goetzmann and Rouwenhorst pairs trading paper from NBER. Read only the abstract tonight.

Pick two pairs you would guess are related and pull their price histories: KO and PEP is the canonical one, and one more of your own choosing.

Plot the two price series of each pair on one axis. Do not compute anything; just look.