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.
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.
The same five come back almost every time.
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.
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.
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.
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.
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 channelA 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.
Revenge trading: what the urge to win back a loss is, why it leads to losing more, and five rules to stop you before you open the next position.
Panic selling: what it is, why it happens right when the market falls, and five rules to write down beforehand so you can decide calmly.
Exchange API keys: what they are, the permissions (read, trading, withdrawal), how to bind them to an IP and what to do if a key ends up in the wrong hands.