Order Flow Imbalance (OFI) & Price Impact Lab
Explore Rama Cont, Arseniy Kukanov, and Sasha Stoikov's (2014) celebrated framework for limit order book event decomposition, contemporaneous price impact, and high-frequency market depth estimation.
Limit Order Book Parameters
Theoretical Foundations & Mathematical Formulation
1. Order Flow Imbalance (OFI) Definition
In modern electronic limit order books, price changes do not occur in continuous time; rather, they arise from discrete events: limit order additions, market order executions, and order cancellations. Rama Cont, Arseniy Kukanov, and Sasha Stoikov (2014) defined the Level 1 Order Flow Imbalance between events \(t-1\) and \(t\) as:
where the bid event flow \(e_{b,t}\) and ask event flow \(e_{a,t}\) are conditionally decomposed based on price changes:
2. Contemporaneous Price Impact & Market Depth
Cont, Kukanov, and Stoikov demonstrated that contemporaneous mid-price changes \(\Delta P_t = M_t - M_{t-1}\) exhibit a remarkably tight linear relationship with \(OFI_t\):
where the price impact coefficient \(\beta = \frac{\text{Cov}(\Delta P, OFI)}{\text{Var}(OFI)}\) measures the price sensitivity per unit of volume imbalance. Inverting this coefficient yields the Market Depth / Liquidity Resilience:
Unlike static book volume imbalance (VOI) which ignores the velocity and direction of incoming orders, OFI captures the exact transition dynamics, resulting in empirical \(R^2\) values exceeding 70% to 85% in major equity and futures markets.
Dual Institutional Sensitivity Analysis
Sensitivity 1: Spread Width vs Order Size on Price Impact β (¢ / 1k shs)
Evaluates how quoted bid-ask spread and average order sizes affect the marginal price impact per 1,000 shares of order flow imbalance.
| Spread \ Order Size | 100 shs | 200 shs | 300 shs | 400 shs | 500 shs |
|---|
Sensitivity 2: Flow Bias (θ) vs Cancellation Rate (γ) on Regression R² (%)
Analyzes how directional order flow accumulation and quote cancellation noise alter the explanatory power \(R^2\) of the OFI price impact regression.
| Flow Bias \ Cancel Rate | 10% | 20% | 30% | 40% | 50% |
|---|
Institutional Mastery Quiz: Order Flow Imbalance
Frequently Asked Questions
Related Microstructure & Algorithmic Execution Simulators
Cont-de Larrard (2013) Lab
Heavy-traffic diffusion limit, conformal harmonic exit probability $\frac{2}{\pi}\arctan(q_b / q_a)$, and micro-volatility $\sigma^2 = \frac{\pi\mu\delta^2}{4D^2}$.
Cont-Stoikov (2010) Lab
Discrete birth-death queue transitions, cancellation scaling, and 2D discrete harmonic depletion probabilities.
Gatheral Transient Impact Lab
Model optimal execution under decaying transient impact, order book resilience kernels, and absence of price manipulation.
Avellaneda-Stoikov Market Making Lab
Model high-frequency optimal quote placement, reservation price indifference, and inventory control.
VPIN Order Flow Toxicity Lab
Calculate Volume-Synchronized Probability of Toxicity and forecast toxic order flow runs.
Bipower Variation & Jump Test Lab
Disentangle high-frequency continuous integrated volatility from discrete jumps using BNS tests.