Systematic Trading Field Guide
3.5 · Costs, capacity and the UK wrapper

Implementation shortfall; why paper factors die in practice

~13 min read
Mechanism

Implementation shortfall is the gap between the paper portfolio — which trades instantly, for free, at the price your signal saw — and the real one, measured trade by trade against the price at decision time. It is the one number that separates "my execution leaks" from "my edge is dead", and if you don't record decision prices at signal time, it is gone forever — no amount of later analysis can reconstruct it.

The idea

In 1988, André Perold put a name to something practitioners had been quietly suffering for years (Perold 1988). Investment newsletters and model portfolios — Value Line's famous stock rankings were the era's example — showed magnificent returns on paper, while real funds run on the same rankings earned visibly less, year after year. The temptation was to blame incompetent traders or bad luck. Perold's contribution was to show the gap was structural, to give it a clean definition, and — the part that matters for you — to show it could be measured, decomposed, and managed like any other engineering quantity.

His definition is beautifully simple. Run two portfolios in parallel. The paper portfolio trades the instant a decision is made, in unlimited size, at the price prevailing at that instant — the price your signal actually saw. The real portfolio is what your broker account did. The difference in their returns over any period is the implementation shortfall: everything lost between deciding and owning. The genius of the construction is what it automatically includes. Not just the visible tolls of lesson 3.1 — spread, commission, impact — but a cost component almost everyone forgets and which is frequently the largest of all: opportunity cost, the profit forgone on trades you decided to make and then didn't complete, because your limit order never filled, or you hesitated, or the price ran away and you abandoned the order.

Sit with the limit-order case, because it is the retail trader's central execution pathology and it hides in plain sight. You decide to buy at mid, place a limit slightly below to "save the spread". Two futures now exist. In one, the price dips through your limit: you're filled — and note that you have disproportionately been filled in the states where the price was heading down anyway (module 8's adverse selection, arriving on schedule). In the other, the stock runs up without you: no fill, no visible cost on any statement — and the missed gain was precisely the alpha your signal predicted. Filled when it's bad for you, absent when it's good: a strategy of passive limit orders can show negative visible trading costs and still bleed badly in shortfall terms. Only Perold's two-portfolio comparison catches this, because only the paper portfolio remembers what you meant to do.

This is also the honest answer to a question that puzzles every reader of the anomaly literature: why do paper factors — momentum especially — so reliably shrink on contact with reality? The published backtest is a paper portfolio: it rebalances at the closing price of the formation day, free, in any size, never missing a trade. Every step from that fiction to a real account — trading the open after the signal, paying the stack, missing fills, capping participation — subtracts something, and shortfall accounting is where the subtraction becomes visible line by line. When AQR measured their real momentum trading costs across a trillion dollars of orders (Frazzini, Israel & Moskowitz 2018), the live factor survived — but visibly diminished, and only because patient execution kept the shortfall small. The paper number was never on offer. It never is.

The discipline this lesson installs: your framework must snapshot the decision price at signal time — the mid, timestamped, at the moment the order is conceived — and log it with every order, filled or not. That one engineering habit converts execution from a vibe into a dataset.

The maths

Notation for one rebalance. Your signal fires at time 00; the mid price at that instant is p0p_0 — the decision price. You intend to trade QQ shares (positive for buys). You actually fill q≤Qq \leq Q shares at volume-weighted price pˉ\bar{p}, paying explicit fees FF (commission, stamp). At your evaluation horizon (end of day, or the next rebalance) the price is p1p_1.

IS  =  q (pˉ−p0)⏟execution cost  +  (Q−q) (p1−p0)⏟opportunity cost  +  F⏟fees\text{IS} \;=\; \underbrace{q\,(\bar{p} - p_0)}_{\text{execution cost}} \;+\; \underbrace{(Q - q)\,(p_1 - p_0)}_{\text{opportunity cost}} \;+\; \underbrace{F}_{\text{fees}}
Perold's decomposition for a buy. The first term is what filled trades cost versus the decision price; the second is what the unfilled remainder would have earned; the third is the visible fees. Sells flip the signs.

Divide by Q p0Q\,p_0 to express it in basis points of the intended trade — the unit in which you'll track it. Two properties worth internalising. First, the execution term contains the whole visible stack without double counting: fill price versus decision mid already includes the half-spread you crossed and the impact you caused; there is nothing to add. Second, the opportunity term uses the price move on the unfilled quantity — this is where the limit-order pathology above turns into a number, and where a "cheap" execution style gets charged for the trades it silently failed to do.

The framework generalises: Almgren and Chriss (Almgren & Chriss 2000) built the standard execution-scheduling model by treating expected shortfall and its variance as the two-axis trade-off — trade fast and pay impact with certainty, trade slow and gamble the shortfall on price drift. You don't need their optimiser at retail size; you do need their frame: every execution choice is a point on that curve, and shortfall is the coordinate system.

Worked example

Worked example — one rebalance, audited

Monthly rebalance, five orders, decision prices snapped at the 10:00 signal. By the close: four filled (one only partly), one missed entirely. Explicit fees: £5 per executed order.

OrderIntent Q×p0Q \times p_0Filledpˉ\bar{p} vs p0p_0p1p_1 vs p0p_0Exec costOpp. costFees
Buy A£5,000all+0.20%—£10.0—£5
Buy B£5,000all+0.45%—£22.5—£5
Sell C£5,000all−0.15%—£7.5—£5
Buy D£5,00060%+0.10%+1.2%£3.0£24.0£5
Buy E (limit, unfilled)£5,000none—+2.0%—£100.0—
Totals£25,000£43£124£20

Walk the punchline rows. Order D filled 60% cheaply, but the price then ran 1.2% — the unfilled 40% (£2,000 of intent) forwent £24. Order E is the silent killer: the limit never filled, the stock did exactly what the signal predicted (+2%), and the £100 of forgone profit appears on no statement anywhere — it exists only because we logged the intent. Total shortfall: £187 on £25,000 of intended trading, or 75bp of intent — of which the invisible opportunity component is two-thirds. A trader auditing only fills would congratulate themselves on 17bp visible costs (£43 + £20) while actually leaking four times that.

def shortfall_bp(side, Q, q, p0, p_fill, p1, fees):
    """Perold shortfall for one order, in bp of intended notional.
    side: +1 buy, -1 sell. Log p0 (decision mid) at signal time or lose it."""
    exec_cost = side * q * (p_fill - p0) if q else 0.0
    opp_cost  = side * (Q - q) * (p1 - p0)
    return (exec_cost + opp_cost + fees) / (Q * p0) * 1e4

How you'd use it

Instrument first, interpret later. The non-negotiable engineering: at signal time, snapshot the mid and timestamp into the order record; at horizon, snapshot p1p_1 for anything unfilled. Your framework already routes orders — this is one extra column, and it is the entire prerequisite for everything below.

Run the report nightly, judge it quarterly. Per-trade shortfall is mostly noise — a single fill's number is dominated by luck. Aggregate by month and by bucket (instrument type, order type, time of day) and watch the running mean. Tens of trades give you a real signal about a leak; single trades give you anxiety.

Feed it back into the backtest. Your measured average shortfall, by bucket, is the cost assumption your simulator should be using (closing the loop opened in lesson 3.1). This is the whole reconciliation chain: backtest assumes X bp, live measures Y bp, and the gap is a to-do list — not a mystery.

Use it to diagnose live-vs-backtest gaps. When the live strategy trails the backtest (module 10's central anxiety), shortfall accounting is the tool that splits the divergence into "execution leaks" (shortfall above budget — fix your trading) versus "the edge itself is weaker" (shortfall on budget, returns still short — reread lesson 1.7). Without it, every drawdown becomes an unanswerable argument with yourself.

Choose order types with both terms visible. Market orders load cost into the execution term; limit orders shift it, partly hidden, into opportunity. Neither is free; the shortfall report prices both honestly, and the right mix is an empirical question your own data answers — typically: cross the spread when the signal is fresh and decaying, rest passively when it's slow.

What goes wrong

No decision prices. The fatal, irreversible one. Fill prices can be reconstructed from statements; decision prices cannot. If the snapshot isn't in the order log from day one, your shortfall history starts the day you add it.

Benchmarking against the close (or VWAP) instead of decision. Comparing fills to the day's close or VWAP feels rigorous and answers the wrong question — "did I trade well relative to the day?" rather than "what did implementation cost versus what my signal saw?". A fill can beat VWAP handsomely while the strategy bleeds shortfall, and an execution desk benchmarked on VWAP will learn to game VWAP, not to capture your alpha.

Ignoring unfilled orders. Auditing only fills is survivorship bias applied to your own trading — the orders that got away carried the most alpha, and dropping them flatters exactly the execution styles that leak most. If your report has no opportunity-cost column, it isn't a shortfall report; it's an accessory to the crime.

Reading noise as signal. The opposite failure: one bad month of shortfall triggers a panicked redesign of execution that was actually fine. The variance of per-trade shortfall is large (it contains price moves, not just costs); apply lesson 2.6's sampling discipline to your own execution data exactly as you would to a strategy's returns.

Optimising shortfall to zero. You can always reduce measured shortfall: trade less, trade slower, only rest limits. Taken far enough this stops implementing the strategy at all — the paper portfolio and real portfolio stop diverging because the real one stopped doing anything. Shortfall is a cost to be budgeted — spent deliberately where the signal justifies urgency — not a score to minimise. The objective is net alpha, and net alpha sometimes requires paying up.

Further reading