Basic Prerequisites: 01 · From Zero and Probability.


1. Intuition & Practical Objective

Before choosing quotes, you must understand what inventory does to you. This page quantifies the two costs of holding a position and derives the optimal inventory position - the target the skew drives toward. The practical objective: three numbers you should be able to state for any position - the P&L standard deviation , the certainty-equivalent cost , and the resulting reservation-price shift per share.

The economics, in one line each:

  1. Inventory risk grows linearly in position size, in volatility, and in the square root of holding time. Hold 40 shares of a asset for a year and the P&L swings (std ). The risk is proportional to , not - but the cost of bearing it is quadratic.
  2. The cost of a position is quadratic in size. A risk-averse dealer with risk aversion pays a certainty-equivalent penalty for holding . The marginal share (moving from to ) costs - so the next share you buy costs more than the last. This increasing marginal cost is exactly why there is an optimal inventory.
  3. The optimal inventory is zero (in a zero-drift market). With no forecast, every dollar of inventory is pure unremunerated risk; the expected P&L is zero and the variance positive, so . All deviation from zero is an accident of order flow that the skew must correct.

The core identity. “A position held for horizon has P&L standard deviation and certainty-equivalent cost ; the marginal cost is the reservation-price skew - so the quote shift that makes a dealer indifferent to one more share is exactly the inventory risk that share adds.”


2. Mathematical Ground Truth & Derivations

Inventory risk is variance. If the reference price follows over horizon , a fixed position of shares has terminal wealth with variance

This is the directional risk you take by being a dealer instead of a pure spread collector: linear in , linear in , square-root in time.

The certainty-equivalent cost. Under CARA utility , holding a position with P&L variance and zero mean is worth where the certainty equivalent satisfies

so the dealer’s personal valuation of a share at inventory is the reservation price

and the total cost of the position, in certainty-equivalent dollars, is . Differentiating in :

The optimal inventory position. The dealer maximizes expected CARA utility of terminal wealth. Over a horizon with no drift the objective reduces to

Because spread revenue does not require holding a position (you earn it round-trip), the variance penalty is minimized at , i.e. . Any forecast pulls the target away from zero: with drift, the optimal position shifts to (risk-adjusted trade of return vs. variance).

Inventory mean-reversion. An unmanaged position is a random walk: with . Quote skewing injects a restoring drift: the probability of the inventory-reducing trade rises with , so the position satisfies an Ornstein–Uhlenbeck-type equation

where the reversion speed is set by the skew strength and the fill elasticity . The optimal liquidation of a large position is the controlled version of this mean reversion (06 · Advanced Extensions).


3. Computational Implementation - the cost of a position, verified

We hold a fixed position to time (no rebalancing, pure price risk) and measure the P&L distribution across 600 000 paths, checking the two identities above.

The simulated P&L std matches to three decimals () and the certainty-equivalent cost matches () exactly. The mean P&L is ~0 (the position earns nothing on average - pure risk). Doubling the position quadruples the cost (quadratic in ); the optimal target is , and every share above it is exactly what the skew of 04 must bleed off.


4. Failure Modes & First-Principles Breakdowns

  1. Treating inventory risk as linear. The P&L std is linear in , but the cost is quadratic - a 2x position is 4x as costly. Position limits set on the linear scale systematically understate the pain of the tail.
  2. “I’ll hold it, it’ll come back” - no mean reversion. Without skewing, inventory is a driftless random walk; there is no force returning it to zero, and holding longer only adds more variance.
  3. Zero drift is an assumption, not a fact. The target assumes no forecast. A real signal moves the optimal position to ; a maker who ignores a real drift is knowingly short or long the market. But a maker who believes in a spurious drift becomes a directional bet - the calibration failure mode of 06.
  4. Risk aversion is a choice. sets how fast the skew fights inventory. Too small, and positions run to the limit (05); too large, and the desk quotes itself out of the market to avoid .

5. References

  • Ho & Stoll (1981), Optimal dealer pricing under transactions and return uncertainty, JFE 9(1)
  • Stoll (1978), The supply of dealer services in securities markets, JFE 3(2), 113–124
  • Avellaneda & Stoikov (2008), High-frequency trading in a limit order book, Quantitative Finance 8(3)
  • Garman (1976), Market microstructure, JFE 3(3)

6. Connected Graph Bridges