Skip to content
Finance Lessons

Causal Inference for Alpha & Execution

Market Impact as Causal TCA

The flagship application: your own trade moves the price, so realised cost is a treatment effect — and naive transaction-cost analysis is confounded because you trade more aggressively exactly when the market is already moving. The link to optimal execution, and the honest limits of causal inference in markets.

22 min Updated Jun 23, 2026

For six lessons you have been hunting causal effects you can never fully observe: does the signal cause the return, or merely co-move with it? You squinted at backtests, drew DAGs, and begged the market for natural experiments. This lesson hands you the one causal effect you do not have to beg for — because you produce it yourself, every single time you trade. When you buy, the price tends to rise; when you sell, it tends to fall. That move is not someone else’s alpha leaking out. It is your own footprint, your treatment, your effect. Market impact is the cleanest causal question in all of finance, and — in the cruellest twist of the course — measuring it honestly is still confounded, because you do not trade at random. You stomp hardest exactly when the floor was already shaking.

This is the capstone: causal inference turned on the one experiment you are guaranteed to run, transaction-cost analysis (TCA) done as a treatment-effect estimate instead of a naive regression, and finally — having taught you all the machinery — an honest accounting of what causal inference in markets cannot deliver.

Market impact is a causal effect

Before you read — take a guess

You buy a large block and the price rises 12 bps while you work the order. In causal language, what is the price move?

Analogy. Step into a still pond and the water rises around your ankles. The cost of getting wet is not the pond’s total level — it is how much higher the water sits because you are standing in it. To bill yourself honestly you would need the water level in a parallel pond you never entered. You never get that pond. You only ever observe the one you are standing in, ripples and all.

Definition. Implementation shortfall is the gap between the price at your decision and the average price you actually realised, including the part of the move your own order caused. Split it into two pieces:

  • Temporary impact — the part that comes from demanding immediacy: you consume the order book’s near-side liquidity, the price ticks against you while you trade, and it relaxes back once you stop. This is a rent you pay for speed.
  • Permanent impact — the part that stays after you finish, because the market reads your trade as information (“someone knows something”) and re-prices accordingly.

Formally, the causal cost of your order is the realised price path minus the counterfactual price path had you not traded. That counterfactual is unobservable — it is the fundamental problem of causal inference (one unit, only one of its two potential outcomes is ever seen) wearing an execution costume.

Worked example. You buy 100,000 shares; the decision price is $50.00. You realise an average fill of $50.05, and after you finish the price settles at $50.02 (the rest of the market having drifted nowhere on its own).

  • Total realised cost per share: 50.0550.00=0.0550.05 - 50.00 = 0.05 dollars, i.e. 0.05/50.00=100.05 / 50.00 = 10 bps.
  • Permanent impact: the price stuck at 50.0250.02, so 50.0250.00=0.0250.02 - 50.00 = 0.02 dollars, which is 44 bps that stayed.
  • Temporary impact: the rest, 104=610 - 4 = 6 bps, relaxed away after you stopped pressing.

Dollar cost: 100000×0.05=5000100000 \times 0.05 = 5000, so $5000 of implementation shortfall, of which roughly $2000 is permanent and $3000 is the temporary rent for trading fast.

Warning:

The counterfactual is invisible — don't pretend otherwise

The decision price is not the counterfactual. Between your decision and your last fill, the whole market drifts for reasons that have nothing to do with you — news, other flow, the open. Charging that drift to your “impact” inflates the estimate; crediting yourself with favourable drift flatters it. Honest TCA has to separate your footprint from the market’s own motion, and the market never labels which is which.

When to use it

Reach for the treatment-effect framing whenever you are about to attribute a cost or a benefit to your own action — sizing a block, choosing an algo, judging a broker. The moment the question is “what did my trading do to the price?”, you are estimating a causal effect with an unobservable counterfactual, and you should reach for the identification toolkit, not a spreadsheet of raw averages.

Name the two halves of impact.

Pick the right option for each blank, then check.

The piece of price impact that relaxes back once you stop trading is impact; the piece that stays because the market treats your trade as information is impact.

Why naive TCA is confounded

Before you read — take a guess

A desk regresses realised cost on order size across a year of trades and finds a steep positive slope. Why might this OVERSTATE the true causal impact of size?

Analogy. Imagine measuring whether umbrellas cause rain by noting that on every day people carried umbrellas, it rained. The umbrella didn’t summon the clouds — people chose to carry one because the forecast was already grim. Naive TCA does the same thing in reverse: you “carry the big order” (trade aggressively) precisely on the days the price was already going your way. Blame the order for the whole move and you have credited the umbrella with the storm.

Definition. Naive TCA regresses realised cost on observed order characteristics (size, participation rate, urgency) as if those characteristics were assigned. They are not — they are chosen by a trader reacting to the same information that drives the price. The trading decision is a confounder: it causally influences both the treatment (how big and fast you trade) and the outcome (the price move). The clean back-door story from earlier lessons applies exactly: size \leftarrow signal \rightarrow return opens a non-causal path, so the regression coefficient mixes (a) the genuine causal impact of trading with (b) the alpha/momentum you selected on.

Worked example. Decompose the realised cost on aggressive versus passive orders. Suppose the true causal impact of going aggressive is +6 bps. But aggressive orders were *fired specifically when momentum was already pushing +5 bps in your favour during the trade — favourable drift you would have captured regardless. Passive orders were used on quiet, driftless names.

Order styleTrue causal impactFavourable drift you selected intoNaive measured “impact”
Aggressive (chosen on momentum)+6 bps+5 bps65=+16 - 5 = +1 bps
Passive (chosen on quiet names)+2 bps0 bps+2 bps
Naive slope (aggressive vs passive)true: +4+4measured: 12=11 - 2 = -1 bps

The naive comparison says aggressive trading is cheaper (−1 bps) when its true causal impact is more expensive (+4 bps). The confounder didn’t merely inflate the estimate — it flipped its sign. A desk trusting this would conclude “trade more aggressively, it’s free,” and proceed to set fire to its execution budget.

Warning:

Selection on the signal is the execution confounder

The deadliest TCA mistake is treating order size or urgency as if a coin flip set it. It didn’t — you set it, reacting to alpha and momentum. So size carries the alpha’s fingerprint, and a raw regression of cost on size measures impact-plus-selection, not impact. You can get a slope that is too steep, too flat, or the wrong sign entirely. Without breaking the link between the trading decision and the price move, the number is uninterpretable.

When to use it

Treat every raw cost-versus-size or cost-versus-urgency number as confounded until proven otherwise — especially flattering ones (“our aggressive orders are cheap!”). Before acting on a TCA regression, ask the lesson-3 question: what decided the order size, and does that same thing move the price? If the answer is “our own alpha,” you are looking at selection, and you need an identification strategy, not a fitted line.

Sort each statement: is it a naive (confounded) TCA claim, or a properly causal one?

Place each item in the right group.

  • Holding alpha and momentum fixed, doubling participation added impact
  • Scheduled index rebalances forced size unrelated to our view; impact was estimated from those
  • Our aggressive orders showed lower cost, so urgency is free
  • When the algo wheel randomly routed to broker A vs B, A cost 3 bps less
  • Costly trades and big trades happen together, so trading big is the cause
  • Across last year, bigger orders had higher realised cost, so size drives cost

The square-root law of impact

Before you read — take a guess

The canonical 'square-root law' says expected impact cost per share scales roughly with which of these?

Analogy. Pouring sand into a bucket of water: the first scoop raises the level the most, the tenth scoop barely registers because the water has spread out to accommodate it. Liquidity behaves the same way — the market absorbs additional size with diminishing marginal pain. Impact is concave, not a straight ramp.

Definition. The square-root law of market impact, the most robust empirical regularity in execution, models expected impact cost as

ImpactYσQV\text{Impact} \approx Y \cdot \sigma \cdot \sqrt{\frac{Q}{V}}

where σ\sigma is the asset’s volatility, QQ is the order size, VV is average daily volume (ADV), and YY is a dimensionless constant of order one. The \sqrt{\,\cdot\,} is the punchline: cost grows with the square root of participation, so it is concave — steep for the first percent of volume, then flattening. Crucially, this is a relationship people work hard to estimate causally (from controlled or quasi-controlled variation in QQ), not a naive regression of cost on whatever sizes traders happened to choose.

Worked example. Take σ=2%\sigma = 2\% daily volatility (200 bps), Y=0.5Y = 0.5, and you trade Q/V=10%Q/V = 10\% of ADV.

  • 0.100.316\sqrt{0.10} \approx 0.316.
  • Impact 0.5×200 bps×0.31631.6\approx 0.5 \times 200 \text{ bps} \times 0.316 \approx 31.6 bps.

Now double the order to Q/V=20%Q/V = 20\%:

  • 0.200.447\sqrt{0.20} \approx 0.447.
  • Impact 0.5×200×0.44744.7\approx 0.5 \times 200 \times 0.447 \approx 44.7 bps.

Doubling the order raised cost per share by a factor of only 0.447/0.3161.410.447 / 0.316 \approx 1.41 — that is 2\sqrt{2}, not 22. The total dollar cost still rises (you are trading twice the shares at 1.41x the rate), but the per-share penalty grows sub-linearly. That concavity is exactly why working a large order in slices, and why strategy capacity, both scale better than the naive linear intuition fears.

Market impact: the square-root law
Square-root law (real)Linear (naive)
Order size (% of ADV)Impact cost (bps)
Order size (% of daily volume)10%impact28.5 bps

Drag the order size: the solid square-root curve is steep for the first slices then flattens, while the dashed naive linear line keeps climbing in a straight ramp. The gap is the concavity — doubling an already-large order multiplies its per-share cost by about 1.41, not 2.

Participation (Q/V)sqrt(Q/V)Impact (bps), Y=0.5, sigma=200 bps
1%0.10010.0
5%0.22422.4
10%0.31631.6
20%0.44744.7
40%0.63263.2
Warning:

The law is calibrated, not assumed — and only causal if its inputs are clean

The square-root law is an estimated relationship, and it inherits every confounding worry from the last section. If you fit Y on historical trades whose sizes were chosen on alpha, your Y absorbs the selection bias and the “law” silently encodes your trading habits, not the market’s response. The shape (concave, sqrt) is robust across markets; the coefficient is where the causal work — and the bias — lives. Calibrate Y from variation in size that is exogenous to your view.

When to use it

Use the square-root law as the default impact model for pre-trade cost estimates, capacity analysis, and the impact term inside an execution optimiser. Lean on its shape with confidence — concavity is one of the few near-universal facts in microstructure. Distrust its coefficient until you can show YY was calibrated from size variation that wasn’t itself driven by alpha; otherwise you have baked the confounder into the model you optimise against.

Why concave? Where does the square root actually come from?

Answer. Several mechanisms converge on the same exponent. One intuition: latent liquidity is deep — for every order resting on the book there is far more hidden supply that materialises as the price moves, so each additional unit of size meets fresh liquidity and the marginal cost falls. Another: information-based models show that a trader splitting an order optimally over time, with other participants inferring and providing liquidity, produces an impact that scales with the square root of traded quantity. The empirical fact is sturdier than any single derivation — square-root-ish impact shows up across equities, futures, FX and crypto — which is why practitioners trust the shape even while they argue about the why and fight over the coefficient.

Identifying impact cleanly

Before you read — take a guess

Which design gives the cleanest, least-confounded estimate of your trading's causal impact?

Analogy. Recall the whole arc of this course. You wanted a coin-flip to decide who got the treatment; markets almost never flip the coin for you, so you learned to manufacture as-good-as-random variation — instruments, discontinuities, natural experiments. Execution is the one corner of finance where you can sometimes flip the coin yourself: route orders at random and watch what the price does. When you can’t, you fall back on every quasi-experimental trick from lessons 4 through 6.

Definition. A ladder of identification strategies for impact, cleanest first:

  • Randomised algo wheel (a real RCT). Take a stream of statistically similar parent orders and randomly assign each to broker/algo A or B (or to a higher/lower participation rate). Random assignment makes the trading decision independent of alpha and momentum, so the average cost difference is the unconfounded causal effect. This is the luxury the rest of the course kept telling you markets withhold — and execution is where you occasionally get it.
  • Instrumented order size. When you cannot randomise, find an instrument (lesson 5): something that shifts your order size but does not touch the price except through that size. A risk-limit cap or a fund-flow-driven rebalance can move how much you must trade for reasons unrelated to your alpha.
  • Natural experiments / exogenous flow. Scheduled index reconstitutions, passive-fund creation/redemption, and dividend reinvestment force trades on a calendar, with sizes set by index weights rather than by anyone’s view — quasi-random size variation (lesson 4).
  • Difference-in-differences across venues. When a rule, fee, or tick-size change hits one venue and not another, compare the cost change on the treated venue to the change on an untreated one (lesson 6), differencing out common market-wide moves.

Worked example — the algo wheel as an A/B test. Route 1000 statistically matched orders, 500 to broker A and 500 to broker B at random. A’s average shortfall is 7.5 bps; B’s is 9.0 bps. Because assignment was random, the 1.5 bps difference is causal — no need to worry that A “got the easy orders,” since the coin flip guaranteed both got the same mix. Compare that to the naive alternative: brokers self-select which orders they pitch for, so a non-randomised comparison would tell you which broker is the better salesman, not the better executor.

ApproachWhat it comparesConfounded?Lesson it draws on
Algo wheel (randomised routing)Cost of A vs B on randomly assigned ordersNo — assignment is randomLesson on RCTs / potential outcomes
Instrumented sizeCost vs size driven by a risk-limit instrumentNo, if the exclusion restriction holdsInstrumental variables
Index-rebalance flowCost of forced rebalance tradesNo, if the calendar is exogenous to your alphaNatural experiments
DiD across venuesCost change, treated venue vs control venueNo, if parallel trends holdDifference-in-differences
Naive cost-vs-size regressionCost vs trader-chosen sizeYes — selection on alpha(the trap this course exists to avoid)
Warning:

Even the algo wheel can leak — randomise the right thing

An algo wheel only identifies the causal effect if the orders entering the wheel are not themselves selected. If your traders hand the wheel only the “easy” orders and route the hard ones manually, the wheel’s clean comparison applies to a non-representative slice, and you have positivity/overlap trouble (some order types never get randomised). Randomisation purifies whatever enters the experiment — it cannot fix a biased gate at the door.

When to use it

Default to the highest rung of the ladder your governance allows. If compliance and your brokers permit an algo wheel, run one continuously — it is the rare free RCT and it compounds into the best impact data you will ever own. When you cannot randomise, reach down the ladder to an instrument, a forced-flow natural experiment, or a venue DiD, and be explicit about the assumption each one rests on. The further down the ladder, the louder you should state the assumption you are buying.

Pick a term, then click its definition.

Before you read — take a guess

If your calibrated impact estimate is biased, what does that do to an Almgren-Chriss-style optimal execution schedule (which trades off impact against timing risk)?

Analogy. Optimal execution is a thermostat: trade too fast and you cook the order in impact; trade too slow and you freeze, exposed to the price wandering off (timing risk). The thermostat’s setting is your impact estimate. Feed it a miscalibrated thermometer — one biased by selection — and it will hold the room at confidently the wrong temperature, certain it is comfortable while everyone sweats.

Definition. Optimal execution (the Almgren-Chriss tradition) chooses a trading schedule to minimise expected impact cost plus a risk penalty on timing risk: trade quickly and you pay more impact but carry less exposure to adverse price moves; trade slowly and you cut impact but sit longer in the market’s path. The impact coefficient — your calibrated YY from the square-root law — is the pivotal input. So every confounding sin from the earlier sections flows straight downstream: a biased impact estimate yields a biased trade-off, and you systematically over- or under-trade.

Worked example. Two desks calibrate the same square-root law on the same trades. Desk A naively fits YY on alpha-selected orders and, because favourable drift was credited to small orders, understates impact, landing at Y=0.3Y = 0.3. Desk B uses algo-wheel-randomised data and recovers the honest Y=0.5Y = 0.5.

  • Desk A’s optimiser sees cheap impact, so it front-loads aggressively — say targeting 20% of ADV per interval. Real impact at that pace (true Y=0.5Y = 0.5) is 0.5×200×0.2044.70.5 \times 200 \times \sqrt{0.20} \approx 44.7 bps, far more than the 26.8\approx 26.8 bps it budgeted.
  • Desk B, with the honest coefficient, schedules a gentler 10% pace, pays 31.6\approx 31.6 bps, and avoids overpaying for speed it didn’t need.

Same market, same law, same shape — but a confounded coefficient led Desk A to trade too fast and overspend by roughly 13 bps on the aggressive slices. The bias didn’t stay in the spreadsheet; it walked into the market and cost real money.

Execution schedules: TWAP vs VWAP vs POV
Child ordersMarket volume
Trading day (open → close)

VWAP shapes the slices to the historical volume curve: trade big when the market is deep (open and close), small in the midday lull. Matching the volume profile minimises footprint and tracks the VWAP benchmark — the classic agency-execution default.

Toggle the algorithms: the schedule bends the order's slices toward where liquidity actually is, trading the impact-versus-timing-risk trade-off. Whatever shape you pick, the impact coefficient feeding the optimiser has to be calibrated causally — a confounded estimate makes the whole schedule confidently wrong.

Now the close. You have a complete toolkit — potential outcomes, DAGs, confounding, instruments, discontinuities, difference-in-differences, and TCA as a treatment effect. It would be dishonest to send you off thinking it proves anything. It does not. Here are the limits, stated plainly:

LimitWhat it meansWhy it never fully goes away
Unobserved confoundersA common cause you didn’t measure can bias any observational estimateYou can never prove a confounder is absent — only argue it is implausible
Untestable assumptionsExclusion (IV), parallel trends (DiD), ignorability (matching)These are assumptions about counterfactuals, which are by definition unobserved
Positivity / overlapYou need treated and untreated units at every covariate valueIn markets, some regimes or sizes are simply never randomised — no overlap, no estimate
Non-stationarityThe effect itself drifts as microstructure, regimes, and crowding changeA causal estimate is a snapshot; markets refuse to hold still for the photo
No true RCTRandom assignment is the only design that needs no untestable assumptionMarkets almost never let you randomise allocation — execution is the rare exception
Warning:

Causal inference in markets buys degree of belief, not proof

Every method in this course rests on an assumption you cannot test from the data alone — because the counterfactual is, by definition, never observed. Instruments need an exclusion restriction you must argue; DiD needs parallel trends you can only partially check; matching needs ignorability you can only hope for. None of this delivers proof. What it delivers is a defensible degree of belief, raised by triangulating several imperfect designs that fail in different ways. When an algo wheel, an instrument, and a venue DiD all point the same direction, you should believe harder — not because any one proved it, but because the confounders that could fool one would have to fool all three at once.

When to use it

Treat causal inference as a tool for sizing your conviction, not for certifying truth. Use it before every allocation and every execution decision to ask “is this a treatment effect or a back-door artefact, and how would I know?” — then act in proportion to how many independent, differently-flawed designs agree. Reserve your largest bets and your most aggressive schedules for effects that survive triangulation; haircut everything that rests on a single untestable assumption. The discipline is not certainty. It is knowing exactly which assumption you are betting the book on, and pricing it.

State the course's final posture.

Pick the right option for each blank, then check.

Because the counterfactual is never observed, causal inference in markets yields a defensible degree of , raised by several imperfect designs that fail in different ways.

Recap

You arrived at the one causal effect you cannot dodge: trade, and you move the price. Implementation shortfall is that footprint — temporary impact (the rent for immediacy that relaxes back) plus permanent impact (the information the market reads into your order) — measured against a counterfactual price you never get to see. And in the course’s final twist, even this clean causal question is confounded: you size up and speed up exactly when alpha or momentum is already in your favour, so naive cost-on-size TCA mixes your real footprint with the drift you selected into — and can flip sign entirely. The square-root law gives you a robust concave shape but a coefficient that absorbs selection unless you calibrate it from exogenous size variation. The cleanest fix is the rare market RCT — an algo wheel — with instruments, forced-flow natural experiments, and venue DiD as the fallback ladder. Get the impact coefficient wrong and the optimal-execution schedule trades too fast or too slow with total confidence. And underneath all of it: no observational design proves anything, because the counterfactual is forever unseen. Causal inference in markets is the art of triangulating imperfect designs into a defensible degree of belief — and knowing precisely which untestable assumption you are betting on.

Big picture

Market impact as causal TCA

  • Impact = causal TCA
    • Your trade is the treatment
      • Implementation shortfall = footprint
      • Temporary (rent for speed)
      • Permanent (information)
      • Counterfactual price is unobservable
    • Naive TCA is confounded
      • You size up on alpha / momentum
      • Trading decision = confounder
      • Slope can flip sign
    • Square-root law
      • Cost ~ vol times sqrt(Q/V)
      • Concave: first slices hurt most
      • Coefficient must be calibrated causally
    • Identification ladder
      • Algo wheel = rare RCT
      • Instrumented size
      • Rebalance / flow natural experiments
      • Venue difference-in-differences
    • Limits + close
      • Biased impact corrupts execution schedule
      • Untestable assumptions, no overlap, non-stationarity
      • Degree of belief, not proof
      • Triangulate, then size your conviction
Build the map: impact as a treatment effect, the confounded naive TCA, the square-root law, the identification ladder, and the honest limits.

Capstone check: impact, confounding, and the limits

Question 1 of 50 correct

You buy a block at a 10 bps total realised cost; after you finish, 4 bps of the move sticks while the rest relaxes away. How do you label the two pieces?

Check your answer to continue.

Mark lesson as complete