Cartea-Jaimungal (2014) Market Making Lab
Simulate Álvaro Cartea and Sebastian Jaimungal's (2014) optimal market making framework. Model Ornstein-Uhlenbeck short-term alpha signals, asymmetric quote leaning, toxic flow defense, and multi-agent PnL benchmarking.
1. Price Process with Mean-Reverting Alpha Drift
The mid-price $S_t$ exhibits stochastic volatility and an instantaneous predictive drift signal $\alpha_t$ governed by an Ornstein-Uhlenbeck process:
The parameter $\kappa_\alpha$ governs the signal's mean-reversion speed with memory half-life $t_{1/2} = \frac{\ln 2}{\kappa_\alpha}$, reflecting ephemeral order flow imbalance (OFI) dynamics.
2. HJB Optimal Quoting Offsets & Directional Leaning
Solving the Hamilton-Jacobi-Bellman PDE with inventory penalty $\phi q^2$ yields the closed-form optimal half-spreads $\delta_a^*$ and $\delta_b^*$:
When $\alpha_t > 0$ (bullish signal), quotes lean upward: $\delta_a^*$ widens to avoid adverse selection, while $\delta_b^*$ tightens to aggressively buy inventory ahead of the price jump.
HFT Order Flow Imbalance (OFI) Desk: Fast mean-reverting alpha (κ = 4.0, half-life = 0.17s) typical of short-term order book imbalance signals.
Sensitivity Grid 1: Inventory $q$ vs Alpha Drift $\alpha$ → Quote Skew $(\delta_a^* - \delta_b^*)$
Demonstrates how predictive alpha drift offsets inventory shading to lean quotes competitively:
Sensitivity Grid 2: Signal Decay $\kappa_\alpha$ vs Signal Vol $\sigma_\alpha$ → Alpha Edge (bps)
Quantifies expected alpha information value across signal persistence and volatility:
Ho-Stoll (1981) Market Making Lab
Optimal dealer pricing, inventory risk management, CARA reservation prices, and asymmetric bid-ask quote shading.
Explore Ho-Stoll LabAvellaneda-Stoikov Market Making Lab
Stochastic optimal control, Poisson fill intensities, reservation price skewing, and inventory risk control.
Explore Avellaneda-Stoikov LabRough Volatility & Bergomi Lab
Gatheral et al. (2018) fractional Brownian motion, Hurst parameter H < 0.5, Rough Bergomi, and ATM skew power-law explosion.
Explore Rough Volatility Lab