Trading costs

Estimating impact

∞structural
By . Reviewed 22 October 2026. As of 2026: a permanent feature of the market, not an edge that decays.

Calibrating an impact model from your own fills and public TCA data, and the traps (selection bias, regime change) that make naive estimates flatter you.

The idea

Measuring impact: windows and the regression annotated diagramDG-IMPACTFIT
Displacement of the mid in fixed windows bps arrival mid (reference) 9 bps 3 bps temporary, relaxed: 6 bps arrival+5 min+2 hr reference peak: temp + perm permanent residual Regress on signed root-volume bps Ŷ ≈ 0.9 naive (over-states) Ŷ ≈ 0.6 signal-controlled (honest) signed root-volume, √(Q/V)·σ slope = impact constant Y

What this shows. You estimate impact by measuring signed displacement of the mid from the arrival reference in fixed windows: the +5-minute peak captures temporary plus permanent impact, the +2-hour residual isolates the permanent part. Regress those displacements on signed root-volume and the slope is your impact constant. A naive fit (steeper) charges your cost model for drift your signal predicted; controlling for that signal gives the honest, flatter slope.

How do you measure impact at all?

You measure it as price displacement: the change in a reference price (the mid) from just before your order starts to a chosen point during or after it, signed by your trade direction. Aggregate enough of those measurements and you can fit how displacement scales with size, but only if you fix your windows and reference price first.

On a single trade impact is invisible, because the price was going to move anyway, through noise and through whatever signal you traded on. Averaged over many trades the random moves cancel and the direction-correlated move remains. The procedure therefore rests on three primitives: a reference price, a signed displacement, and measurement windows.

The reference is the mid just before the order arrives; displacement is the signed change of the mid from that arrival point, with ε=+1\varepsilon = +1 for buys and −1-1 for sells so buy and sell impacts add rather than cancel.
d(t)=ε⋅(m(t)−m(tarr)),ε∈{+1,−1}d(t) = \varepsilon \cdot \big(m(t) - m(t_{\text{arr}})\big), \qquad \varepsilon \in \{+1, -1\}

Sample the displacement at two points. A reading at the end of the order captures peak displacement, temporary plus permanent together. A later post-trade reading, taken once temporary impact has relaxed, leaves the permanent residual. How late is late enough depends on the horizon: Bucci, Benzaquen, Lillo and Bouchaud (2018), using the ANcerno database of US institutional orders, find impact has fallen to about two-thirds of its peak by the close and to roughly half of that after about 50 days.

The unit of analysis is the metaorder, a parent decision worked as many child orders, not the individual fill. That is how Almgren, Thum, Hauptmann and Li (2005) built their study from Citigroup's own US equity orders, and how Bacry, Iuga, Lasnier and Lehalle (2015) follow an order's life cycle from the rise during execution to the partial decay afterwards. The square-root law on market impact is stated in the same terms.

Everything depends on trade signs. Yours are known, but to build the volume VV and the surrounding flow you usually have to classify other traders' signs with the tick rule or Lee and Ready (1991), which brings in every accuracy caveat from trade-sign inference.

Regressing displacement on signed volume

With displacements in hand you fit a functional form: a linear fit on signed size recovers Kyle's lambda for small orders, and a fit on signed Q/V\sqrt{Q/V} recovers the square-root constant YY. The slope of the end-of-order reading is your total impact coefficient, and the slope of the post-trade reading is the permanent one.

Plot how far the price moved against how much you traded and fit a line: straight for small orders, square-root for large ones (a crossover that Bucci and co-authors measured in US institutional orders). The linear form sets displacement ≈λ⋅(signed order flow)\approx \lambda \cdot (\text{signed order flow}), and its slope λ\lambda is Kyle's lambda. The square-root form is the one you use to cost large orders and to feed an execution schedule such as Almgren–Chriss. Choose the form deliberately and report it: Almgren et al. (2005) found a 3/5 power for temporary impact, and Zarinelli, Treccani, Farmer and Lillo (2015) show that a logarithmic dependence on size and participation rate can fit better than a pure square root.

Regress measured displacement on σ ε Q/V\sigma\,\varepsilon\,\sqrt{Q/V}; the slope is the impact constant YY. Fit the during-trade window for total impact and the post-decay window for permanent impact; temporary is the difference.
di=Y⋅σi εi Qi/Vi+noisei,Y^=∑ixidi∑ixi2d_i = Y \cdot \sigma_i\,\varepsilon_i\,\sqrt{Q_i/V_i} + \text{noise}_i, \qquad \hat{Y} = \frac{\sum_i x_i d_i}{\sum_i x_i^2}

Then condition the regression. One global YY is a starting point; the real edge is conditional impact, letting YY or λ\lambda depend on book depth at arrival, recent signed flow, spread, time of day and volatility regime. A learned, state-dependent impact function beats a constant, letting you size up when the book is deep and back off when it is thin.

▸ Show the estimator and its standard error optional

Stack NN metaorders with regressors xi=σi εi Qi/Vix_i = \sigma_i\,\varepsilon_i\,\sqrt{Q_i/V_i} and response did_i the signed post-arrival displacement. OLS gives the slope, and its variance falls only as 1/N1/N in the count of orders.

Y^=∑ixidi∑ixi2,Var⁡(Y^)≈σnoise2∑ixi2\hat{Y} = \frac{\sum_i x_i d_i}{\sum_i x_i^2}, \qquad \operatorname{Var}(\hat{Y}) \approx \frac{\sigma_{\text{noise}}^2}{\sum_i x_i^2}

Each did_i is dominated by price noise of size ≈σ\approx \sigma over the window, so the per-observation signal-to-noise is low (impact is a few basis points; window noise is tens of basis points). The standard error on Y^\hat{Y} shrinks only as 1/N1/\sqrt{N}, so you need many metaorders for a tight estimate.

Heteroskedasticity (noise scales with σ\sigma and window length) and autocorrelation (overlapping orders in the same name) inflate naive standard errors, so use a block bootstrap or standard errors that allow correlation within each name. Bucci et al. (2018) add a further warning: institutional metaorders are sign-correlated across days, which has to be deconvolved before reading long-horizon impact. The permanent-coefficient estimate is noisier still, because it lives in the long-time tail where accumulated noise is largest.

Why estimating impact is genuinely hard

Impact is small next to price noise, and it is confounded with the signal that made you trade. The price often moves with your order for reasons your order did not cause, so a naive regression credits drift to impact.

Signal and impact confounding is the big one. If you buy because you forecast a rise, the price rises partly because you were right. A regression of displacement on your signed volume then overstates impact, charging your cost model for moves your alpha produced. Mitigations: measure on uninformed flow where you have it (execution-only orders with no alpha), include the signal as a control, or use the post-trade residual, which isolates what your order leaked.

Tiny signal, large noise. The mid wanders tens of basis points over any decay window while impact is a few, so the estimate converges only as 1/N1/\sqrt{N}, and a small desk may lack the trade count for a tight YY. Endogenous size and timing. Traders send more when liquidity is deep, so size correlates with the conditions that reduce impact, and a naive fit shows less impact than you will pay when you are forced to trade in bad conditions.

Trade-sign error. Lee–Ready and the tick rule misclassify a meaningful share of trades. Odders-White (2000) and Ellis, Michaely and O'Hara (2000) put the classic accuracy at roughly 81 to 85%, which means about one trade in six or seven is signed wrongly, and that error propagates into your regressors; see trade-sign inference. Regime dependence. YY and λ\lambda drift with volatility, tick-size changes and venue structure, so a coefficient fitted last year can be wrong today; refit on a schedule. Cross-impact. In correlated instruments, trading one moves the others, and the cross-impact matrix has far more parameters to estimate from the same noisy data.

What data you need to do this

You need your own fills time-stamped and aligned to the book at execution, the trade-and-quote stream around each order, and enough metaorders for the 1/N1/\sqrt{N} estimator to converge. Clean, reconstructable order-book data with reliable trade signs is the binding constraint.

The minimum set is: your fills, each with venue timestamp, side, size and price, aligned to the mid at arrival and at each reading; TAQ or L2 quotes around every order to rebuild the reference mid and the post-trade path, ideally L3/MBO data to control for book depth, the best conditioning feature; signed volume for VV, meaning a trade-sign classifier and its error budget unless you have native sign data; and a clean volatility σ\sigma per instrument per window, mindful that the bid-ask bounce inflates a naive σ\sigma.

How the stream is recorded is covered in the HF-data guides. The model form is public; the calibration is private, and it is only as good as the aligned data behind it. Frazzini, Israel and Moskowitz (2018) show what is possible with a large proprietary record, fitting costs on about $1.7 trillion of live trades. Most public or retail data cannot recover the book state at your fill, which is why this estimation is so hard to do well outside a desk.

Worked example: calibrating from 2,000 metaorders

A back-of-envelope calibration to show the shape of the procedure, not a real fit. Collect 2,000 of your own buy and sell metaorders in one liquid name with daily volume V=5,000,000V = 5{,}000{,}000 shares, daily volatility σ=150\sigma = 150 bps and price $50. For each, record signed Q/V\sqrt{Q/V} and the signed mid displacement from arrival, sampled at +5 minutes (standing in for the end of the order, temporary plus permanent) and +2 hours (the permanent residual).

Fit total impact on the +5-minute reading. Suppose the slope comes out Y^≈0.6\hat{Y} \approx 0.6. Sanity-check against market impact: a 1%-of-volume order has 0.01=0.10\sqrt{0.01} = 0.10, so it costs about 0.6×150×0.10=90.6 \times 150 \times 0.10 = 9 bps, in the right ballpark.

Calibrated total impact, and the permanent split from the +2-hour residual: about a third of the 9 bps is permanent (the market kept it); the rest was temporary and relaxed.
I≈0.6 σ Q/V=9 bps;Y^perm≈0.2  ⇒  3 bps perm,  6 bps temp\mathcal{I} \approx 0.6\,\sigma\,\sqrt{Q/V} = 9\ \text{bps}; \quad \hat{Y}_{\text{perm}} \approx 0.2 \;\Rightarrow\; 3\ \text{bps perm}, \; 6\ \text{bps temp}

The split depends on the horizon. Impact only falls to about two-thirds of peak by the close and to roughly a third after weeks (Bucci et al.), so a +2-hour residual need not match the long-run share. Treat the 3 bps as a number for this reading and not a constant.

Now the error bar. Per-order window noise is about σ\sigma over 5 minutes, 5/390×150≈17\sqrt{5/390}\times 150 \approx 17 bps, against a signal of about 9 bps, a per-observation signal-to-noise of roughly 0.5. Over N=2,000N = 2{,}000 orders the standard error on Y^\hat{Y} is roughly 17/(∣x∣‾ 2000)17 / (\overline{|x|}\,\sqrt{2000}). With every regressor at 15 bps (150 × 0.10) that is about 0.025, so a 95% interval of roughly 0.6 ± 0.05.

That interval is tight on paper, but the bias is not in the error bar. Alpha confounding and endogenous timing can shift the estimated YY by far more than ±0.05, so report a confidence interval and also say what you controlled for. Your calibrated cost model is I(bps)≈0.6 σ Q/V\mathcal{I}(\text{bps}) \approx 0.6\,\sigma\,\sqrt{Q/V}, conditional on this regime and as trustworthy as your alignment of fills to the book. A sharper estimate is, directly, a higher safe capacity. The transferable part is the sequence: windows, then the signed-\sqrt{}-volume regression, then the temporary and permanent split, then the error bound, then conditioning on book state.

Sources

  1. Lee, C. M. C. and Ready, M. J. (1991). "Inferring trade direction from intraday data". Journal of Finance 46(2), 733–746. doi.org
  2. Odders-White, E. R. (2000). "On the occurrence and consequences of inaccurate trade classification". Journal of Financial Markets 3(3), 259–286. doi.org
  3. Ellis, K., Michaely, R. and O'Hara, M. (2000). "The accuracy of trade classification rules: evidence from Nasdaq". Journal of Financial and Quantitative Analysis 35(4), 529–551. doi.org
  4. Almgren, R., Thum, C., Hauptmann, E. and Li, H. (2005). "Direct estimation of equity market impact". Risk 18(7). preprint
  5. Bacry, E., Iuga, A., Lasnier, M. and Lehalle, C.-A. (2015). "Market impacts and the life cycle of investors orders". Market Microstructure and Liquidity 1(2), 1550009. doi.org
  6. Zarinelli, E., Treccani, M., Farmer, J. D. and Lillo, F. (2015). "Beyond the square root: evidence for logarithmic dependence of market impact on size and participation rate". Market Microstructure and Liquidity 1(2), 1550004. doi.org
  7. Bucci, F., Benzaquen, M., Lillo, F. and Bouchaud, J.-P. (2018). "Slow decay of impact in equity markets: insights from the ANcerno database". Market Microstructure and Liquidity 4(3–4), 1950006. arxiv.org
  8. Frazzini, A., Israel, R. and Moskowitz, T. J. (2018). "Trading Costs". SSRN working paper. doi.org

Where this fits