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
Coinrule

AI-powered trading automation. Your keys, your coins.
Backed by Y Combinator.

© 2026 Coinrule. All rights reserved.

No information here constitutes investment advice. Coinrule does not take any liability for rule performance. Trade at your own risk. Terms · Privacy

The services, products, and content available on coinrule.com are not intended for, directed at, or marketed to residents of the European Union (EU) or the European Economic Area (EEA). Coinrule does not hold a Crypto-Asset Service Provider (CASP) license under the EU Markets in Crypto-Assets (MiCA) regulation. Any access to our services by users residing within the EU/EEA is done solely at the user's own exclusive initiative and request (passive provision of services/reverse solicitation).