Skip to content

Running a backtest

How to run a backtest, what scenarios are available, and how to read the results.

Updated 2026-05-29·2 min read

Running a backtest takes a few clicks from a strategy's detail page. This article covers the steps to launch one, the three preset market scenarios available in the current beta, and a reference for each result metric shown in the output panel.

Admin beta

Backtesting is currently in admin-controlled beta. Access is enabled per-account. See Backtesting overview.

Running a backtest

  1. Open a strategy's detail page.
  2. Click Backtest (visible only if you have backtesting access).
  3. Choose a scenario (see below).
  4. The backtest runs and results appear inline.

Scenarios

Three fixed scenario presets are available:

ScenarioHistorical period
Bull marketA sustained uptrend period for the strategy's base asset
Bear marketA sustained downtrend period
Sideways marketA range-bound, low-directional period

The Coinrule team configures which historical date ranges map to each scenario. Custom date ranges and walk-forward analysis are not available in the current beta.

Result metrics

MetricDescription
Total P&L (USD)Sum of all realized P&L from closes
Win ratePercentage of closed positions that were profitable
Max drawdownLargest peak-to-trough decline in the equity curve
Total tradesNumber of entries (open events)
Average hold timeAverage time between open and close

Equity curve

The equity chart shows cumulative USD P&L over the backtest period. Each trade is a point on the curve.

Was this article helpful?

Related articles

Still stuck?

Contact support