Backtesting

Know how a strategy performs before you risk a single dollar on it.

Equity curveSample backtest, January to December 2025
Total return
55.4%
Net profit
$55,400.22
Max drawdown
5.87%
Sharpe ratio
4.04
Win rate
60%
The account balance climbing in steps from January to December 2025

Every strategy you build in Botico can run against real historical price data first. Pick a date range, a starting balance and your risk settings. Botico replays the market candle by candle and generates every signal, buy and sell exactly as the live bot would have.

How it works

  1. Set up the run. Choose a pair, a strategy and an exit structure, the same way you would for a live bot.

  2. Replay the market. Botico walks through the historical candles and trades them exactly like your bot would.

  3. Read the results. Check the metrics, see every trade on the chart and compare runs. Then launch the winner.

Set it up exactly like a real bot

A backtest takes the same inputs as a live bot. Choose your exchange and pair, a candle size and candle type, a signal strategy and a starting balance. Then pick how the bot closes a position:

Bracket Order
Take-profit and stop-loss are placed together. Whichever fills first cancels the other.
One Buy One Sell
Buy once on a signal, then wait for a sell signal.
Multi Buy Single Sell
Buy several times on signals, then sell the whole position at once.

Each one has its own risk config for position size, take-profit and stop-loss. Use a saved time period or set your own start and end dates. Supported exchanges: Binance, Bybit, KuCoin and many more exchanges to come. You can backtest tokenized stock pairs too.

The New Simulation form: name and initial balance, the three sell types with One Buy One Sell selected, then the signal strategy and risk config pickers
The New Simulation form in the Botico app.

Every metric, grouped the way you’d ask for it

Results come in four groups instead of one long list, so the answer to your question is always in one place.

Did it make money?

Total return
55.4%
Net profit
$55,400.22
CAGR
55.56%
Profit factor
3.54
Expectancy
$1,582.86
Buy and hold
−5.74%

How rough was the ride?

Max drawdown
5.87%
Longest drawdown
23.8 days
Sharpe ratio
4.04
Sortino ratio
2.25
Calmar ratio
9.44
Volatility
0.28%
Annualized volatility
13.21%
Tracking error
3.8%

How does it trade?

Win rate
60%
Total trades
35
Winning trades
21
Losing trades
14
Longest win streak
5
Longest loss streak
4
Time in market
58.3%

Where did the money go?

Starting balance
$100,000.00
Final balance
$155,400.22
Gross profit
$77,181.86
Gross loss
$21,781.64
Average profit per trade
$3,675.33
Average loss per trade
$1,555.83
Reward to risk
2.36
Total fees
$8,805.59
Total slippage
$4,402.81
Funding paid
$0.00

Sample results from one backtest in the Botico app.

Key metrics in plain words

Max drawdown
The biggest drop from a peak to a low during the run. Check it before you check the profit.
Sharpe ratio
Return for each unit of volatility. Higher means smoother gains.
Sortino ratio
Like Sharpe, but it only counts the swings down.
Calmar ratio
Yearly return divided by max drawdown.
Profit factor
Gross profit divided by gross loss. Above 1 means your winners outweigh your losers.
Expectancy
What you can expect to make or lose on an average trade.
Buy and hold
What you’d have made by buying at the start and holding to the end. If a strategy can’t beat it, think twice.

See every trade on the chart, not just a number

The price chart marks every buy and sell signal on the candles and links each entry to its exit. Exits are colored by what closed them: green for take-profit, red for stop-loss and blue for anything else. A losing streak, and the reason behind it, is visible at a glance.

A separate equity curve tracks the account balance across the whole run, with the starting value, current value, high and low marked.

The backtest chart for BTC on 4 hour candles, with buy and sell signal markers along the top of the price line
The backtest chart for a sample BTC run on 4h candles.

Put runs side by side and see what actually won

Pick two or more backtests and Botico lines them up in one table: Returns, Risk and Trade Stats, one column per run, measured against a baseline you choose. The best value in every row is highlighted, and each run shows its difference from the baseline. The better setup is obvious, no spreadsheet needed.

Use it to test one change at a time: a different candle size, a different pair or a tighter stop-loss.

Three sample backtests of one strategy compared against a baseline run
MetricATOM/USDT, 1hBaselineATOM/USDT, 30mZEC/USDT, 6h
Returns
Net profit$20,994.26$21,295.94better by $301.68$21,790.86better by $796.60
Total return209.94%212.96%better by 3.02 pp217.91%better by 7.97 pp
Gross profit$29,743.83$38,911.83better by $9,168.00$38,718.56better by $8,974.73
Gross loss$8,781.14$17,615.90worse by $8,834.75$16,975.41worse by $8,194.27
Buy and hold return−16.96%−17.01%worse by 0.05 pp68.03%better by 84.98 pp
Risk
Max drawdown4.42%9.56%worse by 5.14 pp27.05%worse by 22.62 pp
Sharpe ratio11.5511.28worse by 0.272.52worse by 9.03
Sortino ratio12.3712.11worse by 0.264.15worse by 8.23
Profit factor3.392.21worse by 1.182.28worse by 1.11
Sample runs from the Botico app: the same Channel Breakout strategy on ATOM/USDT (1h and 30m candles) and ZEC/USDT (6h).

Stress test leverage before you use it live

On futures pairs a backtest also takes leverage from 1x to 125x, isolated margin and a position side: long, short or both. It shows the estimated distance to liquidation for the leverage you picked, so you can see how much room a position really has before real margin is on the line.

Leverage multiplies losses as well as gains. At 10x, a move of less than 10% against a position can be enough to liquidate it, and a strategy that rides out every dip at 1x can be liquidated by the same dips at 20x. With isolated margin, only the margin assigned to that position is at stake, not the rest of your balance.

Run the same strategy at a few leverage levels and compare the backtests side by side to find where drawdown and liquidation distance stop being comfortable. Funding payments on leveraged runs are listed next to fees and slippage in your results, so you can see what holding those positions cost.

From backtest to bot, same settings

Once a run convinces you, turn it into a paper or live bot with the same strategy, exit structure and risk config you just tested. Nothing to re-enter by hand. Start on paper to watch it trade live prices with simulated funds, then go live when you’re ready.

Every paper order is recorded, so you can check it against what the backtest showed before any real money is involved. The same measurements follow the bot the whole way, from Sharpe and max drawdown to win rate and fees. When live results drift from the backtest, you can see exactly where the two parted ways.

When you go live, the bot trades on your own exchange account through an API key you create yourself. The key can trade but never withdraw, so your funds stay where they are.

Export what you ran

Export a backtest’s results as a PDF to read and share, or as a CSV file of the full run or a specific time range, optionally filtered by strategy. Keep them for your records or share them before you commit real capital.

Open the CSV in a spreadsheet or your own scripts to run checks of your own, or keep one for every version of a strategy to see how each change played out. Your bots’ trade history exports to CSV too, so your records cover both what you tested and what actually traded.

Common questions

Yes. Backtests replay actual historical candles for the pair and exchange you choose, not a simulation or an approximation.

Yes. Bracket Order, One Buy One Sell and Multi Buy Single Sell are all supported, with the exact risk settings you’d use live.

Crypto pairs have no fixed start date, so you can go as far back as the exchange has candle data. Tokenized stock pairs were listed between June and August 2026, so a backtest that starts before a stock’s listing date comes back partial or empty.

Yes. Every run reports total fees and slippage, plus funding paid on leveraged runs.

Yes. Select two or more backtests to see them side by side against a baseline, with the best value in each row highlighted.

Yes. Launch a paper or live bot from the run with the same strategy, exit structure and risk config.

No. No backtest can promise future performance, because markets change. What it does is rule out strategies that clearly don’t work before you risk real money on them.

More features