Browse topics

Backtests: running and reading a result

A Backtest replays a validated strategy over its test window, bar by bar, using only data known at each decision, and simulates fills with your costs. The result is one continuous report in five tabs: Overview, Performance, Robustness, Trades and Methodology. It is a simulation of history, not an account statement.

On this page · 13 sections

Run a backtest

  1. In Strategy Builder, choose Continue to Backtests after validating.

    ResultBacktests opens with Ready to run: the identity (for example BTCUSDT · 1D · Long), period, entry, exit, execution model and a Validated status.

  2. Review the summary.

    ResultThe exact request — market, rules, period, capital and costs — is under Advanced / Exact Request if you want to check it.

  3. Choose Run backtest. It re-validates, then runs in the background; you can leave the page.

    ResultThe result page shows the run as queued, preparing or running, with Refresh, then the completed report.

The Backtests library

Your backtests lists every run in a table: its rule (the link to the report), the market and a short run ID that tells apart runs with the same rule, the period and execution model, Return · realized, Max drawdown · realized, the closed-trade count (Low sample under 30), and the run's status and date. Queued, running, failed or cancelled rows show no figures. The full run ID can be copied on the report, under Methodology.

  • Search backtests matches the backtest reference or text saved in its request, such as BTCUSDT or a feature id like volume_quote. It is not a plain-language search of the rule sentence.
  • Select a column header to sort all your runs, not just the page: realized return, realized drawdown, closed trades or run date (when the run was submitted); select it again to reverse. Last updated is the default. A run without a figure, such as a failed one, sorts last.
  • Direction, Status and Execution model filters combine. Filters and sort live in the URL, so reload and Back keep them.
  • Check for updates reloads the list. It never reruns a strategy.

Headline metrics

The report's title is the entry rule; the market, exit rule, window, execution, sizing and run date sit under it.

CardMeaning
Total return · marked dailyEquity at the final daily close versus starting equity, after modeled costs, with any position still open valued at that close. The realized return (closed trades only) is beneath it.
Max drawdown · marked dailyThe largest fall from a previous high in equity valued at each daily close, with its peak and low dates and whether it recovered.
Price change · same windowThe run's symbol from the first day's open to the last day's close: a market reference with no costs, not a comparison.
Closed tradesThe count, with wins and losses. Low sample under 30.

When daily marks aren't available for a run (an earlier engine version, a non-daily timeframe, or funding modeled), the first two cards show the realized figures, labelled realized, and say why. Under the cards: time in market, average entry size, the longest time below a previous high and the marked Sharpe; then what the result rests on — one historical window, no held-out validation, and whether funding was included. A missing figure reads Not available, never 0; a stored figure that doesn't match the trades reads Not verified.

Backtest report for a Quote Volume rule with a 7-bar hold over Jul 31, 2023 to Jul 31, 2024: the title and run line, the report tabs, and the Overview's four headline cards.
The report header, headline metrics and section navigator. Illustrative example — fixture data, not market results.

Historical inputs

A Backtest pins the accepted publication it read when it was submitted, so it can be reproduced exactly. One line under the metrics reports the pinned inputs' quality: Inputs checked against the pinned dataset; Historical data notes when the pinned data records source discrepancies or reconstructed days; or a warning that the inputs couldn't be verified. Details are under Methodology › Historical data and quality. A later data correction doesn't change an existing backtest; a new run uses current data.

Equity versus price

Overview's chart shows the strategy's equity and buy-and-hold of the same symbol, both as % change from the window start. Marked daily (the default) values an open position at each daily close; Realized only moves only when a trade closes; Compare both draws the two. Buy-and-hold starts from the first day's open, so its last point equals the price change card. Bands under the chart mark days with a position open at the daily close. If the pinned price data can't be read, only the price line is left out, with the reason.

What stands out

Under the Overview chart, up to three measured facts chosen by fixed rules, in this order: a data issue that could affect the signal, funding left out of the result, a large move against an open position, profit concentrated in the three best trades, exit reasons pulling in opposite directions, and few trades in one 200-day average group while the other has enough to read. At most one of each kind; each links to where it's shown. A check whose data didn't load is listed as Couldn't check, with Retry when retrying can help. None is a verdict or a forecast.

Report actions

  • Research in Explore opens the entry condition on current accepted data, which can differ from the data this run is pinned to. Matches there aren't backtested trades.
  • Adjust strategy copies this run's rules, timing, sizing, costs and dates into an editable draft. Nothing runs until you validate and start a new backtest. A run whose request can't be copied (failed, still running) offers Open Strategy Builder instead, which copies nothing.

Performance

  • Equity and drawdown — marked daily by default, realized only, or both; the subtitle says which basis is drawn. Realized closures are marked green (gain) or red (loss).
  • Risk · full backtest — beside the chart, for the whole window: max drawdown with its dates and recovery, the longest time and the share of daily closes below a previous high, the worst adverse price move inside a trade (with the stop loss, if any), the longest losing streak, time in market, and Sharpe · Sortino. Marked daily leads when it exists; Realized-only figures holds the realized ones. Sharpe and Sortino read Insufficient observations for display under 30 return observations: a display rule, not a failed calculation.
  • Accounting · USDT — gross PnL at fill prices, funding, trading fees and net realized PnL, each with how it's treated; slippage is already inside the fill prices and isn't subtracted twice. When daily marks exist, the open position and the total marked change follow; a funding estimate is a labelled row that never enters reported PnL.
  • Trade outcomes — win rate, profit factor, average win and loss, win / loss size, expectancy and median trade return. Annualized return sits apart: a full-window portfolio figure, not a trade statistic. Select a term's name for its definition.

Observations and a configured stop aren't guarantees of future limits.

Returns over time

The annual table sits beside a monthly heatmap; Heatmap basis picks one of three different questions:

  • Equity change (the default when daily marks exist) — each month's change in marked equity in %, open positions included. Months chain to years and years to the whole window. Selecting a month shows its marked change and, separately, the realized PnL of trades exited that month, with View trades exited in this month: the two needn't add up, because an open position moves the marked figure before it closes.
  • Realized at exit — completed trades' net PnL in USDT, counted in the month they closed. The only basis for runs without daily marks.
  • By entry month — the same trades' final PnL in USDT, grouped by the month they opened: for research, not money earned in that month.

On the realized bases the annual table follows the basis, and selecting a month lists exactly its trades. The breakdown is withheld rather than shown in part if its totals don't match the stored result.

Robustness

Everything here is in-sample: the same historical window as the backtest. Four numbered cards, each marked Descriptive:

  • 1 Market and sample — how many trades were decided with the symbol above or not above its 200-day average, against how many of the window's days were in each group, and the run's two halves with their dates. Shares count only grouped trades and classified days; the first 199 days of pinned history can't be grouped and are stated apart. A group's median needs 10 trades. Compare with the same-hold reference (fixed-hold runs with a fixed amount per trade) sets this run's average trade beside holding the symbol for the same number of days, at the same costs, from every day of the window, per group and overall, and says how much of the difference comes from where the trades were decided. These describe the sample; they aren't regime tests or proof of skill.
  • 2 Profit concentration — net PnL without the best trades and their share of realized net PnL, a bar for every closed trade (each opens it), and the best exit month with net PnL without it. Subtracting trades or a month is arithmetic on the ledger, not a rerun. If the figures don't match this run's window or couldn't be checked, none is shown.
  • 3 Cost sensitivity — the same fills repriced with higher costs in a few scenarios, the break-even: the added fee on every entry and exit fill that would take realized net PnL to zero, fills and slippage unchanged, and the full fee × slippage grid. It isn't a forecast; when it can't be stated, the reason is.
  • 4 Entry and exit timing (on request) — how often each re-entry after an exit was at a more or less favorable price, the median price change from exit to re-entry, and the symbol's change while held and while out. These describe what happened; they aren't a score.
  • Entry timing vs random timing — before you ask, whether this run can be compared and, if not, why (for example too few closed trades). Only an eligible run offers Compare entry timing, which uses one research request.

Trades

A line says what the closed trades have in common.

  • Return per trade, after costs — below 60 trades, one dot per trade with the median; a dot opens its trade. From 60, a histogram whose bars filter the ledger to that return range. Inspect worst trade and Inspect best trade open either one.
  • The selected trade — shown in the same card: entry and exit, exit reason and the best and worst price moves while open, with Zoom to trade and Clear selection. Signal, fills and costs opens the full inspector: its entry → exit timeline, Why it entered (the rule evaluated at the signal bar), Why it exited, How PnL was modeled, previous and next trade, and View price period in Explore. Selecting a ledger row opens the full inspector directly. The selection is in the URL, so you can share or return to it.
  • Price chart — daily candles with entries (blue) and exits (amber); click a candle or use the arrow keys on the focused chart to list its executions.
  • Trade ledger — All / Winners / Losers with the run's counts; More filters holds exit reason, side and the chart's dates, plus each exit reason's count and net PnL for the whole run. 50 rows per page with server-side sorting; Best and Worst while open are each trade's largest favorable and adverse price moves. Hold and Exit reason appear when trades can differ on them. Scheduled trades show the actual fill minute in ET, for example 9:03 AM ET when a fallback minute was used.
Backtest Trades section: return per trade after costs as one dot per trade with Inspect worst and best trade, above the price chart with entries and exits.
The Trades section: return per trade, the price chart and the ledger. Illustrative example — fixture data, not market results.

Methodology

Methodology is the method record, read from the stored request — never recomputed:

  1. How fills are timed — when signals are decided and when entries and exits fill, as recorded.
  2. Strategy configuration — market, daily UTC candles, direction, test period, the entry rule, one exit row naming every configured exit (exit condition, take profit, stop loss, maximum hold; the first to trigger closes the trade) and one position at a time.
  3. Execution and costs — starting equity, position size and whether profits are reinvested, fees, slippage (already in fill prices), funding as the run recorded it (not modeled; modeled from provided rates with their recorded source; not recorded when the stored request doesn't establish it; or a stated disagreement when the stored request and the verified ledger conflict — never a guessed amount), and how a position open at the end is valued.
  4. Historical data and quality — the pinned dataset and its standing, the recorded source notes in this window and whether any could affect an input this run reads (unverified, with why), reconstructed days, and the one-exchange limit. All notes and identities lists every note verbatim beside the currently accepted dataset.
  5. Limits of this result — one historical window, simulated fills, daily marks, and funding.
  6. Technical reproducibility — closed disclosures: Identifiers (each with Copy), Skipped signals audit (with the recorded reason for each skipped signal), Exact request and Raw result metadata.

What a backtest doesn't tell you

See Methodology › Limitations and No look-ahead.