Returns are uncertain; costs are guaranteed. They arrive as a stack of small tolls — spread, commission, stamp duty, FX conversion, financing, borrow, impact — each individually negligible-looking, each multiplied by your turnover or your leverage. Most backtested edges are smaller than the stack, and the same strategy can be viable or dead depending purely on which tolls your implementation pays.
The idea
Here is the experience that turns paper traders into cost accountants. You run a strategy in backtest: 9% a year, pleasingly steady. You run the same strategy live for six months and it tracks the backtest's shape almost perfectly — same trades, same timing, same wins and losses — but sits stubbornly a couple of percent below it, as though someone were siphoning off a thin, continuous stream. Someone is. Several someones, in fact, and this lesson is the audit that names each of them.
The right mental model: between your decision and your position stands a row of toll booths. Nobody at any booth cares whether your signal is good. Each collects a fee that is tiny per transaction and mechanical in how it scales — some with how often you trade, some with how big you are, some with how long you hold, one just for showing up in the wrong country's shares. Let's walk the row in the order you meet them.
The spread. Every liquid instrument has two prices: the bid (where you can sell immediately) and the ask (where you can buy immediately). The gap is the market maker's toll for immediacy — their compensation for standing there all day getting occasionally run over by better-informed traders, which is a story we take seriously in module 8. When you cross the spread you pay roughly half of it relative to the "fair" mid price, per side. Half a spread on the way in, half on the way out: one full spread per round trip. In FTSE 100 or S&P 500 mega-caps that's small — mid-single-digit basis points round trip. Walk down the size spectrum and it grows viciously: UK small-caps routinely quote spreads of 1–3% — a round trip there starts you 1–3% underwater before anything else happens.
Commission. The explicit, honest toll, and at today's retail brokers often the least important line — a fixed few pounds per trade at traditional UK platforms, pennies or nothing at US-style discount brokers. Its danger is different: because it's fixed per trade, it is regressive in account size. £10 per trade is 4 basis points on a £25,000 order and 100 basis points on a £1,000 order. Small accounts trading many small positions get eaten by commission before anything else; the same account at a per-share-priced broker pays twenty times less. "Commission-free" platforms, meanwhile, are not charities — the toll migrates into wider effective spreads and, especially, FX fees. Which brings us to the booth almost every UK backtest forgets.
FX conversion. You live in sterling; half of what you'll want to trade is in dollars. Mainstream UK platforms charge 0.25%–1.5% per conversion — per conversion, so a strategy that recycles dollars back to pounds on every trade pays it constantly, while an account that keeps a standing dollar balance pays it once. At the cheap end (interactive brokers of the world) it's a few basis points. The difference between those two implementations, for a monthly-turnover US strategy, can exceed the entire factor premium being harvested. This line item has killed more UK retail strategies than any signal flaw.
Stamp duty. Buy shares in a UK-incorporated company electronically and you pay 0.5% stamp duty reserve tax, collected automatically at purchase (HM Government ). It's buy-side only, but do the turnover arithmetic: replace your whole UK-share book three times a year and you've donated 1.5% of NAV to HMRC before spread or commission. Now notice what it doesn't apply to: non-UK shares, index futures, CFDs, spread bets, and — because most UK-listed ETFs are legally Irish or Luxembourg companies — most ETFs either. The same exposure, wrapped differently, dodges the whole booth. Lesson 3.6 makes this a design rule; for now, register that a high-turnover strategy in UK single names carries a structural 0.5%-per-buy handicap that the identical strategy in ETFs or futures does not.
Financing. Any position bigger than your cash is borrowed money, and the borrowing rate is a cost that scales with gross exposure × time — uniquely among the booths, it charges you for holding, not trading. Retail margin loans typically price at a benchmark rate plus roughly 1–3% depending on broker and size; spread-bet overnight funding similarly. The cheap route is futures, where financing is embedded in the price near institutional rates. The lesson learned painfully in 5.5's arithmetic holds generally: any strategy whose theoretical version borrows at the risk-free rate loses the spread between theory and your actual funding line on every levered pound, every day.
Borrow fees. Short selling means borrowing shares, and the lender charges rent. General-collateral large-caps cost a fraction of a percent a year; hard-to-borrow names — which are disproportionately exactly the volatile, storied, overpriced names your short signals will select — can cost 5%, 20%, occasionally more than 100% annualised, when borrow exists at all. A short book's alpha estimate that ignores borrow is fiction until proven otherwise.
Slippage and impact. Everything above is visible on a statement. The last toll is not: it's the price moving against you because you are trading — partly the mechanical eating-through of the order book, partly other participants reacting to your flow. At small retail size in liquid names it rounds to zero; it grows with the square root of your size relative to daily volume, and it is the subject of lesson 3.2.
Two framing facts to carry. First, the academic anomaly literature largely reports returns before this stack, and when Novy-Marx and Velikov (Novy-Marx & Velikov 2016) re-ran the standard anomalies net of realistic trading costs, the high-turnover ones mostly stopped working — cost handling isn't a refinement, it decides what exists. Second, costs are not a law of nature but a function of execution skill: AQR's analysis of over a trillion dollars of their own live trades (Frazzini, Israel & Moskowitz 2018) found real-world costs far below what the pessimistic academic estimates assume, because patient, well-engineered execution avoids most of the tolls. The stack is real, and the stack is negotiable. Both true; your job is to know your own numbers.
The maths
One formula, mostly bookkeeping. Define annual one-sided turnover : the total notional you buy in a year divided by average NAV (a book that replaces a quarter of itself monthly has ). Let be the proportional cost per side (half-spread plus proportional commission plus impact), the fixed cost per trade in currency, the number of trades per year, the stamp rate on the fraction of buys that attract it, average gross leverage in excess of 1, your financing spread over the risk-free rate, average short book as a fraction of NAV, and the average borrow fee. Then the annual drag on NAV is approximately
The structure is the message: three terms multiply turnover, two multiply exposure. Fast strategies are taxed through the first three; levered and short strategies through the last two. A slow, unlevered, long-only book in cheap instruments slips past almost every booth — which is why such boring constructions keep beating clever ones after costs.
Worked example
Take one strategy and price it twice. A £25,000 account holds 20 positions, rebalances monthly, replacing about a quarter of the book each time: , roughly 120 trades a year (5 sells plus 5 buys, monthly), average trade size £1,250.
Implementation A — US large-caps at a cheap broker. Half-spread ~2.5bp, commission ~£1 per trade, one FX conversion of the stake amortised over the year, no stamp, no leverage, no shorts.
Implementation B — UK mid-caps at a traditional platform. Half-spread ~25bp, commission £10 per trade, stamp on every buy, no leverage, no shorts.
| Line | A: US large-cap, cheap broker | B: UK mid-cap, platform |
|---|---|---|
| Spread () | 2 × 3 × 0.025% = 0.15% | 2 × 3 × 0.25% = 1.50% |
| Commission () | 120 × £1 / £25k = 0.48% | 120 × £10 / £25k = 4.80% |
| Stamp () | — | 3 × 0.5% = 1.50% |
| FX | ~0.10% (one-off, cheap) | — |
| Total annual drag | ≈ 0.7% | ≈ 7.8% |
Every rate above is indicative — spreads move with volatility, brokers change tariffs, and your trade sizes differ. The point survives any reasonable re-estimation: the two columns differ by an order of magnitude.
Same signal, same turnover, same account size. Implementation A costs less than 1% a year — survivable for a strategy with a few percent of expected edge. Implementation B costs nearly 8% — more than almost any honest edge you will ever find. Notice where B bleeds: fixed commissions on small trades (fewer, larger positions would help), stamp (ETFs or futures would dodge it), and mid-cap spreads (patience and limit orders would claw some back). The cost stack isn't a fate; it's a series of design choices.
A cost model belongs in your framework as a first-class citizen:
def annual_drag(T, half_spread, n_trades, fee, nav,
stamp=0.0, stamp_share=0.0, lev_excess=0.0,
fin_spread=0.0, short_frac=0.0, borrow=0.0):
"""All inputs as decimals; returns expected annual cost as fraction of NAV.
Illustrative — calibrate each argument from your own fills and statements."""
return (2 * T * half_spread
+ n_trades * fee / nav
+ T * stamp_share * stamp
+ lev_excess * fin_spread
+ short_frac * borrow)How you'd use it
Price the strategy before you backtest it. The screening funnel of lesson 1.8 puts cost sensitivity before the backtest for a reason: the inputs to the drag formula are knowable in advance — your turnover is a design choice, spreads are observable, tariffs are published. If projected drag exceeds half the plausible gross edge, redesign or discard; no backtest will rescue it.
Backtest net, always. Wire the cost model into your simulator so every reported number is net of the stack at your actual broker's rates. A backtest that reports gross returns is reporting someone else's strategy.
Audit quarterly against reality. Your broker statements contain every explicit cost, and your fills versus decision prices contain the implicit ones (lesson 3.5 builds this measurement properly). Reconcile the model's predicted drag against realised drag every quarter; a widening gap means a booth you haven't modelled.
Attack the largest line, not the most annoying one. The worked example's order matters: for small accounts it's usually fixed fees, then FX, then spread. Fewer, larger positions; a standing FX balance; instruments that dodge stamp — each is worth more than any amount of signal tuning.
What goes wrong
The zero-commission illusion. Free trades are a pricing decision, not an absence of cost. The platform recovers its toll in FX conversion margins, wider effective spreads, or interest on your idle cash. Measure your all-in cost per round trip — fill price versus independent mid at decision time — and free platforms often price mid-pack.
Calm-weather calibration. Spreads measured in a quiet backtest period double or worse in stressed markets — precisely when your strategy is likely to be trading most. If your strategy trades on volatility spikes, cost it at spike-time spreads, not average spreads.
Institutional numbers in a retail model. Papers and fund documents quote costs achieved with algorithmic execution, direct market access and institutional financing (Frazzini, Israel & Moskowitz 2018). Your broker's margin rate is not SOFR, and your market order is not a patient VWAP slice. Flatter yourself with nobody's cost assumptions but your own measured ones.
Forgetting the booths that charge by position. Traders obsess over per-trade costs and then hold a 2× levered position all year at benchmark plus 2.5% — a guaranteed −2.5% on the borrowed half that no amount of execution skill reduces. The stack has five lines; audit all five.
Letting the tail booth wag the strategy. The opposite failure: becoming so cost-phobic that you refuse to trade at all, hold losers to avoid "paying the toll again", or force every idea into the cheapest wrapper regardless of fit. Costs are one term in the objective function. The point of knowing the stack precisely is to spend it deliberately where the edge justifies it — not to never spend it.