trading strategy backtest

Why Costs Erase Your Trading Strategy Backtest Edge

November 26, 2026 · 8 min read · Synergy Trading research
Why Costs Erase Your Trading Strategy Backtest Edge | Synergy Trading

Most trading strategy backtests look better than real trading would, because they're run before costs. If a rule makes a small average gain on each trade and trades often, commissions, the bid-ask spread and slippage can wipe out the whole edge. The fix is simple. Charge a realistic cost on every simulated trade, then see if anything is left. This post explains how that works, what published research has found, and how to stress test your own numbers.

Why a backtest without costs flatters every strategy

A backtest compares the price where your rule would have entered with the price where it would have exited. The trouble is that those prices are usually the last traded price or a bar's close. You can't actually trade at those prices. You buy at the ask, you sell at the bid, and when you use a market order or a stop, you can get filled a little worse than you expected.

Here's a made-up example to show the arithmetic. These are not test results. Say a rule averages a gain of 0.08% per trade before costs. Now say the commission, half the spread and a bit of slippage add up to 0.04% on the way in and another 0.04% on the way out. The round trip costs 0.08%. The average trade is now zero, and a few hundred trades a year just add risk with nothing to pay for it.

That's the core problem. Costs don't change how often your rule is right. They take a fixed amount from every trade, so the smaller your average gain, the bigger the share they take.

The costs a backtest usually forgets

These are the main ones to put into any simulation:

  • Commission and fees. Some brokers charge zero commission on stocks, but exchange and regulatory fees can still apply, and futures traders pay per contract.
  • The bid-ask spread. The gap between the best price to buy and the best price to sell. Every round trip pays it in some form, even when the commission is zero.
  • Slippage. The gap between the price you expected and the price you got. Stops are a common source, because a triggered stop usually becomes a market order, and in a fast market it can fill well past your level.
  • Market impact. Bigger orders and thinner markets push the price against you as you fill.
  • Missed fills. A backtest often assumes your limit order filled just because price touched it. In live trading you may be at the back of the queue and never get filled, often on the trades that would have worked best.

Why strategies that trade often get hit hardest

The clearest research on this comes from stock market anomalies, the return patterns that academic papers say beat the market. In A Taxonomy of Anomalies and their Trading Costs, Robert Novy-Marx and Mihail Velikov looked at a large set of these patterns after costs. Their finding is blunt: in every case, transaction costs cut both the profit and its statistical significance.

The dividing line was turnover, meaning how much of the portfolio gets traded each month. Most of the patterns with one-sided monthly turnover below 50% still earned statistically significant spreads after costs, at least when they were built to keep costs down. Few of the strategies that traded more did. They also found that the most effective simple fix was a buy/hold spread. That means you set a stricter rule for opening a position than for keeping one, so you trade less.

The lesson carries over to retail rules. A strategy that trades every day has to pay costs far more often than one that trades once a month. Its average gain per trade has to be big enough to cover that.

Short-term reversal: costs depend on how you trade

Short-term reversal is the idea that stocks that fell hard recently tend to bounce, and recent winners tend to give some back. It's close to many popular buy-the-dip setups. Earlier studies found that its returns shrank once trading costs were counted.

Wilma de Groot, Joop Huij and Weili Zhou took another look at trading costs and short-term reversal profits in the Journal of Banking & Finance (2012). They argued that much of the cost problem came from trading too much in small-cap stocks. When they limited the strategy to large caps and used a portfolio method that traded less, costs fell a lot. They reported net returns of about 30 to 50 basis points per week (a basis point is one hundredth of a percent).

So the honest reading is not that costs always kill an idea. It's that the same idea can make money or lose it depending on which markets you trade, how often you trade, and how carefully you get in and out. Your backtest needs to model the way you'll actually trade.

What costs do to the statistics

Two numbers matter here. The t-statistic tells you how sure you can be that the average trade isn't really zero. Above about 2 is the usual bar. The Sharpe ratio is return per unit of risk, so it shows how bumpy the ride is compared with what you earn.

Costs lower the average trade but barely change how much individual trades vary. That pushes both numbers down. A rule with a t-statistic of 2.5 before costs can drop below 2 after them, and then you can't tell it apart from noise.

There's a second trap. If you try dozens of versions of a rule and keep the best, some will look good by chance. Campbell Harvey, Yan Liu and Heqing Zhu make this point in ... and the Cross-Section of Expected Returns. They argue that, after so much searching, a newly discovered factor should clear a t-statistic above 3.0, not 2. Costs and too much searching together explain why so many backtests that looked strong fail in live trading.

How to stress test your own trading strategy backtest

A few checks catch most of the damage:

First, compare your average trade with your round-trip cost. If the average gain per trade is only one or two times the cost, small errors in your cost estimate can turn a win into a loss.

Second, double your cost estimate and run it again. A real edge should bend, not break.

Third, run a random-entry control. Take the same trade, with the same size, stops and holding period, but at random times. That shows you what luck alone produces. Once costs are included, random trades usually lose about the cost of each trade, so your rule has to beat that baseline clearly, not just stay above zero.

Fourth, be strict about fills. Assume stops fill past your level in fast markets, and don't assume a limit order filled just because price touched it.

How our lab treats costs

Synergy Trading runs a private research lab that tests popular strategies with the same rules for every idea: realistic costs, a random-entry control, a check for look-ahead bias (accidentally using information the rule couldn't have known at the time), and a correction for testing many variants. About 290 strategy ideas have been tested this way so far, and only 2 are clean survivors. We haven't run a dedicated test for this article, so there are no lab numbers here.

What this test can't tell you

This post isn't a lab verdict. It explains how costs work and summarises published research. The per-trade numbers above are a made-up example, not measured costs. The studies cited mostly cover US stock strategies over their own sample periods, so their findings may not carry over to futures such as ES or NQ, to gold, or to other markets. Your own costs depend on your broker, your order size, the market you trade and the time of day, and they can change. There are no forward results for anything discussed here.

Frequently asked questions

How much slippage should I assume in a backtest?

There's no single right number, because slippage depends on your broker, order size, market and time of day. A practical approach is to estimate your real round-trip cost, then rerun the test with double that cost. If the edge disappears, it was probably too thin to trade live.

Do zero-commission brokers make trading costs irrelevant?

No. Zero commission removes one cost, but you still pay the bid-ask spread on every round trip, and you can still get slippage on market and stop orders. Some exchange and regulatory fees can also apply, so a backtest with zero costs still flatters the strategy.

Why do day trading strategies fail after costs more often?

They trade much more often, so they pay costs many more times. Research on stock market anomalies found that most strategies with one-sided monthly turnover below 50% stayed significant after costs, while few strategies that traded more did. Small average gains can't cover frequent costs.

What is a random-entry control in backtesting?

It's the same trade, with the same stops, size and holding period, taken at random times. It shows what luck alone would produce. With costs included, random trades usually lose about the cost of each trade, so a real strategy needs to beat that baseline clearly.

If you'd like us to test a strategy you've seen, email hello@synergytrading.net with the subject "Verdict request". It's a waitlist: there's no price and no promised date, and nothing is sold yet. Synergy is not a registered broker-dealer or investment adviser, and nothing here is a recommendation to buy or sell.

Educational research only, not investment advice. Past results do not guarantee future results.

Sources

backtestingtrading costsslippagecommissionsresearch

Want your strategy tested?

We run the same test on any rule set: realistic costs, a random-entry control and a look-ahead check. Email us the rules to join the waitlist. Nothing is for sale yet.

Request a verdict

More verdicts

How to Read a Footprint Chart, Step by Step | Synergy Trading
how to read footprint chart

How to Read a Footprint Chart, Step by Step

What Is Delta Trading? Bar Delta, CVD and Divergence | Synergy Chart
what is delta trading

What Is Delta Trading? Bar Delta, CVD and Divergence

Volume Profile vs Market Profile: A Day Trader's Guide | Synergy Chart
volume profile vs market profile

Volume Profile vs Market Profile: A Day Trader's Guide