> PARAMETERS

[CONFIG]
Controls inventory risk penalty. Higher values force inventory closer to zero.
Annualized volatility of the asset price process.
Drift rate of the asset price (trend).
Total duration of the trading session (fraction of year, e.g., 1.0 = 1 year).
Decay rate of order arrival intensity vs. spread distance.
Base order arrival intensity at mid-price.
Starting mid-price of the asset.
Number of discrete time steps in the simulation.
/ ANALYZING_STRATEGY...
Model Definition: The Avellaneda Stoikov (A-S):
r(s,t) = s - qγσ²(T-t)
δ(t) = (2/γ)ln(1 + γ/κ) + γσ²(T-t)
Its closed-form solution yields Optimal Quotes that quantify sensitivity to market microstructure: q (inventory skew), γ (risk aversion), σ (volatility), and κ (order flow liquidity).

Ready to Simulate

> Configure A-S parameters on left sidebar
> Click "Run Simulation" to see the market making strategy in action.