What you will learn
- Name the four main costs of trading
- Compute a strategy's net edge after costs
- Understand the tyranny of turnover
- See why ignoring costs can flip a strategy from winning to losing
A backtest that ignores the costs of trading is dangerously optimistic, and transaction costs are where many good-looking strategies quietly die. Real trading is not free, and the gap between a strategy's performance before costs and after costs can be the difference between a profitable system and a losing one. This lesson examines the costs of trading and why accounting for them realistically is essential to honest backtesting.
What is slippage and how to manage it (BlackBull Markets)
Explains slippage and why the fill price differs from the expected price. Focus on how this erodes returns.
The costs of trading
- Commissions and fees are the explicit charges for executing a trade. Although they have fallen substantially over time, they still matter, especially for strategies that trade frequently.
- The bid-ask spread, from Unit 1, is a cost on every round trip, because you typically buy at the higher ask price and sell at the lower bid price, losing the spread each time you enter and exit.
- Slippage is the difference between the price you expected when you decided to trade and the price at which the trade actually executes, since the market can move in the interval between decision and execution.
- Market impact is the effect of your own order on the price, because a large order consumes available liquidity and pushes the price against you, so you cannot always trade significant size at the quoted price.
Why costs are so consequential
Transaction costs matter because they directly erode the thin edges that real strategies depend on. As the signals lesson stressed, genuine edges are usually small, often just a slight tilt in the odds, and such a small edge can easily be entirely consumed by the costs of trading. A strategy that appears clearly profitable before costs can become unprofitable once realistic commissions, spreads, slippage, and market impact are subtracted. The costs are not a minor adjustment to be waved away, they can flip the entire conclusion about whether a strategy works.
Key terms
- Slippage
- The gap between the price you expected and the price you actually got.
- Market impact
- The way your own order pushes the price against you by consuming liquidity.
- Basis point (bp)
- One hundredth of a percent. 100 bps equals 1 percent.
- Turnover
- How often a strategy trades, higher turnover pays costs more often.
- gross edge = profit per trade before costs
- round-trip cost = spread + slippage + commissions to enter and exit
Costs eating the edge
A strategy earns a gross edge of 20 basis points per trade, but the round-trip cost is 15 basis points. What is the net edge, and what does it mean for a strategy that trades 200 times a year?
- Net edge per trade. 20 bps gross minus 15 bps cost is 5 bps.
- Over the year. 200 trades times 5 bps is 1,000 bps net, which is 10 percent.
- Compare to gross. Gross would have been 200 times 20, which is 40 percent, so costs ate 30 percentage points.
Why it matters: A thin edge is easily devoured by costs. The more a strategy trades, the larger its gross edge per trade must be just to survive the bill.
Net edge after costs
A strategy has a gross edge of 25 basis points per trade, and the round-trip cost is 18 basis points. What is the net edge per trade, in basis points?
The tyranny of turnover
The damage from transaction costs scales with how often a strategy trades, a relationship sometimes called the tyranny of turnover. Every trade incurs costs, so a high-frequency strategy that trades constantly pays those costs over and over, and the cumulative drag can be enormous. A strategy that trades rapidly must have an edge per trade large enough to exceed the costs of that trade, a demanding requirement that many fast strategies fail to meet once costs are honestly counted. This is why low-turnover strategies are often more robust to costs, and why the appealing-looking results of high-frequency backtests so often collapse when realistic costs are applied. The more a strategy trades, the higher the bar its raw edge must clear.
Transaction costs are where great-looking backtests go to die. A thin edge measured before costs can vanish entirely once the real bill of trading comes due.
Slippage in trading explained for beginners (The Duomo Initiative)
A second angle on slippage and trading costs. Reinforces why backtests must include realistic costs.
The danger of ignoring costs
A backtest run without realistic transaction costs is not just slightly optimistic. It can be profoundly misleading, presenting a losing strategy as a winning one. This is one of the most common reasons that backtested strategies fail in live trading: the backtest assumed costless or cheap execution, while reality imposed spreads, slippage, and market impact that the strategy's thin edge could not survive. Including conservative, realistic estimates of all the relevant costs is therefore not an optional extra but a basic requirement of any trustworthy backtest. A strategy must be profitable after realistic costs and slippage, not merely before them, and any analysis that omits these costs has answered the wrong question entirely. This connects directly to the broader theme that a backtest must reflect the real conditions of live trading as faithfully as possible, a theme that culminates in the lessons on going from backtest to live.
Winner or loser?
A high-frequency strategy shows a wonderful backtest, but it was run assuming zero trading costs. It trades thousands of times a day with a tiny edge per trade. What is the likely reality?
A high-turnover strategy pays costs on every one of its thousands of trades. With only a tiny edge per trade, realistic spreads, slippage, and commissions can easily exceed that edge, turning a gorgeous zero-cost backtest into a live loser. This is the tyranny of turnover, and it is why costs must be modeled realistically.The bill of trading
In your own words, explain why the tyranny of turnover means a fast-trading strategy needs a much larger raw edge than a slow one.
Write an answer before comparing it with the model response.
Model answer
Every trade incurs costs: the bid-ask spread, slippage, commissions, and market impact. Those costs are paid each time the strategy enters and exits, so the total cost drag scales with how often it trades. A slow, low-turnover strategy pays the bill only a few times, so even a modest edge per trade can survive. A fast, high-turnover strategy pays the bill over and over, so the cumulative cost can be enormous. That means each individual trade's gross edge must clear a much higher bar, exceeding the round-trip cost, just to break even, and then more to profit. Since real edges are usually thin, many fast strategies that look great before costs collapse once realistic costs are subtracted. The more a strategy trades, the larger its raw edge per trade has to be, which is the tyranny of turnover.