Spot Terminal Pro

How to backtest a crypto trading strategy

Updated 25 October 2026 · 3 min read

Backtesting means running your trading rules over past candles to see which trades they would have made and how those trades ended. It takes minutes and costs nothing — and a bad idea found here costs you no money.

On this page
  1. Step 1: write rules a computer can follow
  2. Step 2: choose the coin, timeframe and period
  3. Step 3: include the fees
  4. Step 4: read the results the right way
  5. Mistakes that make a bad strategy look good

Step 1: write rules a computer can follow

"Buy when it looks strong" cannot be tested. Every rule must be exact:

Step 2: choose the coin, timeframe and period

Test several months and more than one coin. The period should hold rises, falls and flat weeks — a strategy that only worked in one rally will fail when the market changes.

Step 3: include the fees

Binance's standard Spot fee is 0.1 % per buy and 0.1 % per sell — about 0.2 % per trade. The smaller your stop, the bigger the part fees take. With a 1 : 2 risk : reward:

Stop distanceWin after feesLoss after feesWin rate needed to break even
2 %+3.8 %−2.2 %about 37 %
1 %+1.8 %−1.2 %about 40 %
0.3 %+0.4 %−0.5 %about 56 %

Without fees, 1 : 2 needs only 33 % winners. With a 0.3 % stop — common on 1-minute charts — it needs more than half. A test without fees would hide this completely.

Step 4: read the results the right way

A win rate alone says nothing — compare it with the risk : reward. Before fees, the win rate you need to break even is 1 ÷ (1 + R):

Risk : rewardBreak-even win rate (before fees)
1 : 150 %
1 : 233 %
1 : 325 %

Then look at:

Mistakes that make a bad strategy look good

Backtest in Spot Terminal Pro

The Strategy Tester (Pro) runs a strategy on real Binance candles of any USDT pair, from 1 minute to 1 day and up to 6 months back. It draws every trade on the chart with entry, TP and SL, and shows trades, wins, losses and PnL with fees (0.2 % per round trip) included. You choose the risk : reward (1 : 1 to 1 : 20) and the risk per trade. Have your own idea? Press + Add strategy, give the format to an AI such as ChatGPT or Claude with your idea, and paste the code it writes. When the results look right, Auto Trade can run it for you 24/7.

Questions

How many trades are enough?

There is no magic number, but dozens at the very least, spread over different months and more than one coin.

Does a good backtest promise profit?

No. It shows how the rules did on past candles. The future can be different — start small with real money.

Do I need to know programming?

Not with Spot Terminal Pro: an AI writes the code from your description, in the format the terminal gives you.

Read next

Crypto strategy testerBacktest on up to 6 months of real Binance candles, fees included. How to set a stop-loss on Binance SpotStop-limit, stop market or OCO — which one to use, step by step, and where to put the stop.

Trading is risky and you can lose money. This article is general information, not financial advice. Spot Terminal Pro is an independent tool and is not affiliated with Binance.