Basic Prerequisites: Probability & Measure Theory (a normal distribution and a conditional expectation are all you need).
1. Intuition & Practical Objective
This page builds the why of market impact with no prior microstructure knowledge needed. The objective is one idea: when you trade, you move the price against yourself, and the average price you get is worse than the price you saw before you started - because somebody on the other side must be compensated for taking the other side of your order.
Start with the dumbest question: why should the price move at all just because I buy? A stock’s price is supposed to reflect information about its future cash flows. You, a fund manager buying a million shares to rebalance, add no information. Yet the price rises. Why?
Three steps:
-
Immediacy is a service, and services cost money. Somebody must hold the shares you are dumping, or give up the shares you want, right now. In an orderly market that counterparty is a market maker or a patient seller who demands a better price to transact urgently. The gap between the price “before you arrive” and the price you actually pay is the cost of immediacy. That gap is market impact.
-
Depth measures how much it costs to move the price. If the order book is deep, a million shares barely tick the price; if it is thin, the same order walks the book for dollars. The natural scoreboard is: how much order flow moves the price by one dollar? Call that quantity the market depth, i.e. where is the price move per unit of signed order flow - Kyle’s lambda. High = shallow market.
-
Not all impact is forever. Some of the price move is permanent (the market has genuinely learned something, or a large imbalance has re-priced the asset) and some is temporary (the price bounces back once you stop pushing). The two behave completely differently: permanent impact is unavoidable and scales with size; temporary impact is a transaction cost you can schedule away by trading slowly. Confusing the two is the single most common practical error - and the reason a page in this folder exists for each.
A picture. Imagine wading across a shallow river. Each step displaces water (impact); the water rushes back in behind you (resilience). How hard the wading is depends on how deep the river is (market depth), how fast you walk (execution speed) and how big you are (order size). The river’s depth is ; the size of the splash is the temporary impact; whatever current you permanently shift downstream is the permanent impact. This folder is a quantitative treatment of that picture.
2. Mathematical Ground Truth & Derivations
From one trade to a price rule. Let the asset have a true value and suppose the market’s current best estimate is . You submit signed order flow (positive = you are a net buyer). The simplest possible model of the market’s response is linear:
The coefficient has units of dollars per share of order flow, and it is exactly the price impact of one unit of flow. Its reciprocal is the market depth:
Why should the response be linear? It need not be in general - empirically it is concave (the square-root law, page 04). But linearity is the remarkable, and remarkably robust, prediction at the short horizon and for small/aggregated flow, and it is what makes the equilibrium model of page 02 exactly solvable. It also matches the empirical finding that the mid-price change over short intervals is linear in order-flow imbalance (Cont, Kukanov & Stoikov 2014).
Where does come from? The whole of page 02 is one answer: in a market with an informed trader and noise traders, competitive market makers set so that price equals the expected value conditional on the observed flow, and the resulting closed form is
where is the prior variance of the value (how much private information exists) and is the variance of noise trading (how much camouflage exists). Read it economically: more information in the world larger (impact up, depth down); more noise trading smaller (impact down, depth up). The market is liquid when it is noisy and illiquid when it is full of insiders.
Depth is a property of the whole book, not just the top. The quoted best bid/ask give the spread; depth is what lies behind it. Hasbrouck’s definition of liquidity - “depth, breadth, and resiliency” - is worth holding in mind: depth = the quantity available just off the current price; breadth = the number of participants, none dominant; resiliency = how fast the price effects of trading die out. Market impact is the price of depth and resilience combined.
The two components. Write the observed price as the sum of two pieces:
where is signed trade direction and is public news. The permanent part () is the random-walk “efficient price” - once it moves, it does not come back. The transient part () is the bid/ask bounce and the temporary pressure of your own trading - it decays. Roll’s classic model is the degenerate case with spread ; the generalized Roll adds the permanent-adverse-selection term (Hasbrouck Ch 8, eq. 8.1).
3. Computational Implementation - linear impact and the depth dollar
The smallest useful experiment: a book with a given , a series of trades, and the resulting price path showing how impact accumulates and how depth translates a flow into a move. Stdlib only.
Read the last line: the price change equals times the net signed flow, and a single 5-unit buy moves the price by $2.50. Depth units means two units of net buying is exactly a dollar of price. That is the whole vocabulary of this folder in one experiment.
4. Failure Modes & First-Principles Breakdowns
- Confusing the spread with the cost of size. The quoted spread is the impact of one small trade. Trading a large order costs the spread plus the depth you consume walking the book. The two are different objects - the spread is a cost per share, depth is a cost per share that grows with size.
- Assuming impact is linear forever. Linearity is an excellent approximation at short horizons and moderate sizes, but it is empirically wrong at scale: the true response is concave. A linear model overestimates the cost of very large orders (the true law is concave) while understating it at small sizes - page 04.
- Treating the price you see as the price you get. The pre-trade price is not attainable for size. The realized VWAP is worse by the amount of impact; a backtest that fills at systematically overstates a strategy’s profitability.
- Forgetting that impact is a flow quantity, not a stock quantity. What moves the price is signed order flow (in the Kyle sense), not the size of your order per se. Trading the same size more slowly produces less instantaneous impact but not less permanent impact - the seed of the temporary/permanent distinction (page 03).
- Ignoring that “the stock does not know you own it.” Impact is a statement about information and immediacy, not about you personally: a market maker’s response to your order is a response to the flow, and its magnitude is governed by how much the flow could be informed.
5. References
- Kyle, A. S. (1985), Continuous auctions and insider trading, Econometrica 53(6), 1315–1335. The origin of and as depth. Primary PDF in corpus.
- Hasbrouck, J. (2007), Empirical Market Microstructure, OUP
- Cont, R., Kukanov, A. & Stoikov, S. (2014), The price impact of order book events, J. Financial Econometrics 12(1), 47–88. Linear flow–price relation and impact depth. Primary PDF in corpus.
- Bouchaud, J.-P., Farmer, J. D. & Lillo, F. (2009), How markets slowly digest changes in supply and demand. The empirical impact landscape. Primary PDF in corpus.
6. Connected Graph Bridges
- Base: Limit Order Book Mechanics · Probability & Measure Theory
- Sibling: Adverse Selection & Glosten–Milgrom (the informational reason the spread exists) · Spread Decomposition & the Roll Model (the permanent/transitory split)
- Continue: 02 · The Kyle Model · Index Hub