STA / Blog / Guides

Backtest trading: why past results mislead

Gopal SinghGopal Singh, co-founder of STA · 15/11/2026 · 5 min read
A brass compass resting on an old map of the world: backtest trading draws the past, but does not promise the territory to come
In short. Backtest trading is the test of a strategy on past prices. It helps you discard wrong ideas, but a perfect curve is often just a strategy fitted to the noise of that period. To trust it you need data it has never seen, real costs and a real time test, for example on a demo account.

Backtest trading: what is it and what is it for?

A backtest is a test done on the past: you take a strategy, written as precise rules (when I enter, where I put the stop, when I exit), and run it on historical prices to see what would have happened. It is a useful tool, because it tells you right away if an idea is completely wrong. The problem is the opposite use: using it to find out whether an idea is right.

A good looking backtest, with a curve that climbs almost straight, has a powerful effect on whoever sees it. It gives the impression of holding the proof. In reality all you have is proof that those rules, chosen by looking at that data, would have worked on that data.

Why do past results mislead?

Because the past has already happened and you know it. If you try a hundred combinations of rules on two years of prices, one of them will do very well by pure chance, just as among a hundred people flipping a coin ten times, someone will get ten heads in a row. That combination discovered nothing about the market: it memorized the noise of that period. It is called overfitting, overfitting.

Academic studies on the subject, starting from a 2014 paper by Bailey, Borwein, López de Prado and Zhu, say the same thing in mathematical form: the more configurations you try, the easier it is to find one with splendid results that is worth nothing out of sample. A figure that often nobody shows you is precisely how many variants were tried before arriving at the one on display.

What are the most common backtest mistakes?

The same five come back almost every time.

  1. Too many parameters. Every extra number to adjust (periods, thresholds, filters) is a knob you can use to fit the curve to the past.
  2. Looking into the future without noticing. It happens when a rule uses a piece of data that, at the time of the trade, was not yet available, for example the close of a candle that is still forming. The backtest looks perfect and in reality it cannot be executed.
  3. Forgetting the costs. Fees, slippage and funding eat part of the result, and for strategies that trade often the part is large.
  4. Counting only the survivors. If you test the coins that exist today, you have left out the ones that disappeared from the market. The sample is already rigged in favor of the strategy.
  5. A single period. A strategy tested in a rising market tells you nothing about what it does when the market falls. Telling a bull market from a bear market does this too.

How can you tell if a backtest deserves your trust?

No test can ensure it, and whoever says otherwise is selling something. There are checks, though, that raise or lower the suspicion.

The first is to set aside a portion of the data and not look at it until the strategy is finished: if it holds up there too, the suspicion drops. The second is to move the parameters a little. If going from 21 to 19 periods makes the curve collapse, you have found a stroke of luck, not a rule. A robust strategy works across a wide range of values, not at a single point. The third is walk forward testing: you optimize on one period, check on the next, and repeat while moving through time.

Then look at what the backtest tells you besides the final gain. The drawdown, that is the maximum drop from the highest point, matters as much as the result: a strategy that loses 40% in the test before recovering, could you really sit through it? And if results are measured in R, the risk unit of every trade, it is easier to compare them without being fooled by a high percentage of wins.

What do you do after the backtest: forward test and demo account?

The backtest is the first question, not the last. The most honest answer comes when the strategy runs on the present, without you being able to tweak it: it is called forward test. You can do it on a demo account, with real prices and no capital at risk, noting down every trade before you open it. After a few weeks you have data that no tweak can have prettified, and that is where many strategies with a splendid backtest show what they were really like.

If you are still building your path, the guide to mindful online trading puts the steps in order, from the demo to risk management.

How can you verify the history of a trading system?

The simplest rule is to ask who checks the results. A backtest is built by whoever shows it, and they can redo it until it looks good. A history made of real trades, recorded at the moment they are born and with a date nobody can move, is another thing: as boring as it may be, it is much harder to prettify.

Where STA fits in

STA does not show backtests as proof. It works on the OKX Europe markets, 175 in all, including 44 US stocks and ETFs: ten artificial intelligence agents analyze them twice a day, set a Bull against a Bear and turn the idea into a card with its stop. The history has been public since 17 October 2026: the hashes of the cards, losses included, are on GitHub (https://github.com/supertradingagents/storico) and are stamped every day with OpenTimestamps, so the date of every card can be checked from outside.

The DEMO is free forever, with real prices and the same cards as the REAL. You need an account. In REAL the STA fee is 18% of the positive net result of each day, with no offsetting of losses. Your funds stay in your OKX account.

Frequently asked questions

What is a backtest in trading?It is the test of a strategy on historical prices, to see what would have happened by applying its rules in the past. It helps you discard wrong ideas, but on its own it does not prove that a strategy will work in the future.
Why can a backtest be misleading?Because you can try many variants and keep only the one that does best, fitting the rules to the noise of the past. It is called overfitting. Other causes are forgotten costs, data that was not available at the time of the trade, and tests on a single period.
Does a good backtest promise future gains?No, no backtest does. It describes the past. To get one more clue you need to try the strategy on data it has never seen and then in real time, for example on a demo account, before risking real money.
Telegram channel

STA's cards, including the ones that went wrong

Every card as soon as it closes, with the result and what STA learned from it. It's free and you don't need to sign up.

Follow the channel

See how STA thinks, without risk

A DEMO account with virtual capital and real prices, the same cards as REAL users.

Try DEMO for free →

This article is for information only and is not investment advice. Trading crypto-assets involves a high risk, including the total loss of the capital used. Numerical examples are for illustration.

Keep reading
Sign inTry DEMO