Solutions · Backtesting

Crypto backtesting with costs on every trade.

Test a crypto strategy on up to five years of Binance USD-M futures candles before you risk anything. Velator charges a commission and slippage on every simulated fill, and you can write the rules in plain English instead of code.

By Velator Updated

1. What you can backtest

Any strategy you build in Velator, whether Vela drafted it from a sentence or you placed the blocks yourself. The same strategy graph runs in the backtest, on paper and live.

  • Markets: 50 Binance USD-M perpetuals, including BTC, ETH, SOL, BNB, XRP, DOGE, LINK, AVAX, SUI and PEPE.
  • Timeframes: 15 minutes, 30 minutes, 1 hour, 4 hours, 1 day and 1 week.
  • History: the last 1, 2, 4 or 5 years, or all available data. Two years is the default.
  • Data: candles refreshed every day from closed intervals.
  • Baskets: test one rule across several coins and timeframes in a single run.

2. Costs in every simulated trade

A backtest without costs flatters every strategy that trades often. Velator charges each simulated entry and exit a commission and slippage.

CostDefaultYou can set
Commission per side0.04% (4 basis points)0% to 10%
Slippage per fill0.02% (2 basis points)0% to 10%

Set the values to match your venue and fee tier; the same assumptions carry into paper trading. Live trading can still add costs a backtest does not model exactly, such as funding payments, wider spreads in thin markets and partial fills.

3. How to backtest a crypto strategy

  1. Describe the strategy to Vela, or build it in the visual builder.
  2. Choose the markets and timeframe the rules should trade.
  3. Pick the history range: 1, 2, 4 or 5 years, or all time.
  4. Set position sizing, leverage, maximum open positions and the cost assumptions.
  5. Run the backtest and read the metrics together with the trade list.
  6. Change one assumption at a time and run again.

4. What the results show

Each run reports 8+ risk metrics with costs included, next to the trades that produced them:

  • Net P&L and return
  • Win rate and profit factor
  • Maximum drawdown
  • Sharpe and Sortino ratios
  • Trade count
  • Entry details and the exit reason for every trade

Read them together. A high win rate can still lose money overall, and a small trade count leaves wide uncertainty. The guide to reading a backtest walks through each check.

A daily EMA crossover backtest

The 1D EMA Cross strategy goes long when the 5-day exponential moving average crosses above the 13-day average and short on the reverse cross. It requires daily volume above 1.5 times the previous 20-day average and an Average Directional Index (ADX) of at least 15.

In its October 2019 to September 2026 backtest, 50.5% of 200 closed trades were winners. Its separate paper record tracks the same rules on live prices. For example, a simulated long on POL hit its stop on 12 November 2026. Both records show results per trade before fees. Compare the EMA backtest and paper trades.

5. Backtest with AI instead of Python

Most backtesting tools expect Python or Pine Script. In Velator you describe the rules, for example "short ETH on the 1-hour chart when the 20 EMA crosses below the 50 EMA and volume is above its 20-bar average", and Vela builds the strategy graph. You read the exact conditions before anything runs, so the backtest tests what you meant.

You can change any block by hand in the drag-and-drop builder, which offers 50+ blocks across indicators, filters, logic, risk and price action. See how the AI trading bot flow continues after the test.

6. How not to fool yourself

  • Keep the sample large. Prefer rules that produce dozens of trades across different market conditions.
  • Do not tune on the result. Every change you keep because it improved the same history makes the test less honest.
  • Hold data back. Choose the rules on one period, then check them on another.
  • Watch the worst case. Maximum drawdown and the longest losing run matter more than the headline return.

A backtest is evidence about the past, not a promise. Velator does not guarantee that any strategy will be profitable; read the risk disclosure before trading.

7. From backtest to paper trade

When a backtest holds up, run the same strategy on paper. Paper trading follows live markets with simulated fills and the same cost assumptions, so you can see whether live behaviour matches the test before any capital is involved.

8. Backtesting questions

Is crypto backtesting free on Velator?

Yes. The Free plan includes backtests and paper trading for two AI strategies, with no card.

How much history can I backtest on Velator?

Up to the last five years, or all available history, on 50 Binance USD-M perpetual markets. Two years is the default.

Does the backtest include trading fees?

Yes. Every simulated fill pays a commission and slippage, 0.04% and 0.02% by default, and you can change both.

Can I backtest a crypto strategy without coding?

Yes. Describe the strategy in plain English or build it from blocks; no Python or Pine Script is needed.

Does a good backtest mean the strategy will make money?

No. A backtest describes how rules behaved on past data under stated assumptions. Paper trade the strategy and read the risk disclosure before using real money.

Test your idea on years of data.

Write it in plain English, backtest it with costs, then watch it on paper.