dogabot dogabot

backtest

How to Create a Backtest

Step-by-step guide to creating a backtest on dogabot: choose exchange and pair, set date range and capital, configure strategy rules, and run the simulation.

backtesthow-tostrategy

A backtest simulates your strategy on historical price data so you can evaluate performance before going live. This guide walks through creating a single backtest from the Backtests page.

Before you start

Free plan: 3 backtests per cycle, date presets up to 1 month (longer presets appear but are locked). Pro plan: 500 backtests per cycle, all date presets, and optional credit packs.

Step 1: Open Backtests

  1. Sign in to dogabot.
  2. Open Backtests in the sidebar (or go to /backtest/).

Step 2: Start a new backtest

  1. Click Create backtest.
  2. Confirm you have remaining quota in the header counter.

The Create New Backtest dialog opens with Basic Parameters and Strategy Rules sections.

Step 3: Configure basic parameters

Expand Basic Parameters and fill in the fields:

FieldWhat to set
Backtest NameA unique label (e.g. ETH Trend Test)
ExchangeThe venue to simulate — only exchanges with backtestable symbols appear
SymbolTrading pair after you pick an exchange (e.g. ETHUSDT, BTCUSDT)
Initial capitalStarting simulation balance (default $1,000; minimum $100)
Execution timeframeHow often the engine evaluates conditions (1 minute to 1 day)
Candle timeframeDefault timeframe for indicators; individual rules can override
Order quantity multiplierScales order size (default 1)
Date rangeUse preset chips (1 week, 1 month, etc.) or set Start date and End date manually

On the free plan, 3 months, 6 months, and 1 year presets are visible but locked — upgrade to Pro for longer windows.

Step 4: Configure strategy rules

Expand Strategy Rules and build your setup:

Set trade direction (long, short, or both) and enable the rules you need. For a first backtest, start with one entry rule and one exit rule.

Learn more: Strategy rules overview, Strategy filters.

Step 5: Run the backtest

  1. Click Run Backtest.
  2. A toast confirms the job is queued; you are redirected to the results page (/backtest/{id}).
  3. Wait for status Queued → Running → Completed — the page updates automatically.

When the run finishes, see How to Read Backtest Results to interpret PnL, ROI, and drawdown.

Example: RSI mean-reversion backtest

Copy this setup to run a simple mean-reversion test on a free plan:

FieldValue
Backtest NameBTC RSI 1h — 1 month
Exchangebinance_usdm (or any backtestable exchange in the dropdown)
SymbolBTCUSDT
Initial capital1000
Execution timeframe1 hour
Candle timeframe1h
Order quantity multiplier1
Date range1 month preset (use 1 week for a quicker smoke test)

Strategy rules:

Click Run Backtest. When the job completes, review PnL and ROI on the results page, then read How to Read Backtest Results.

Example: Backtest from an existing automation

Reuse a live or copied strategy without re-entering every rule:

  1. Open an automation you run or copied from the leaderboard.
  2. Click Create Backtest on the detail page (or choose it from the create menu).
  3. Confirm pre-filled fields — name suffix - Backtest, same exchange, symbol, capital, and strategy params.
  4. Adjust only the date range (e.g. 3 months on Pro, or 1 month on Free) and click Run Backtest.

Next steps

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest