Skip to main content
Back to Documentation

Backtesting

Evaluate strategies on historical candles before risking capital. OpenTrade supports native Python marketplace strategies and external Freqtrade strategies.

From the chart

  1. Open Chart and select an instrument
  2. Open the Strategies tab in the right sidebar
  3. Install or enable a strategy artifact
  4. Run backtest with parameters and date range
  5. Review markers on the chart and job results in the panel

Strategy types

TypeRuntimeNotes
Marketplace Pythonstrategy-workerAuthor in sidebar or versions page
Freqtrade catalogfreqtrade-workerGit-pinned IStrategy repos

Builtin examples ship in the marketplace seeds; Freqtrade strategies import via the strategy catalog API (operator workflow).

Freqtrade features (shipped)

  • Single backtest jobs
  • Backtest matrix — compare up to 50 versions across a pair list (caps apply)
  • Chart overlay markers for results
  • Async overlay preview for installed Freqtrade strategies (debounced on chart)

Native Python backtesting

Available for marketplace strategies with marker output. Narrower than the Freqtrade path in some edge cases — prefer Freqtrade for complex IStrategy ecosystems.

Paper trading

Related but separate: simulate fills on new candles. Partial — sessions can be created; full automated evaluation is not finished. Do not treat as production-ready.

Not available: live exchange execution from backtest results, Monte Carlo / walk-forward UI wizards, or guaranteed parity with Freqtrade live bots.

Metrics and analysis

Job results expose trade lists and summary stats depending on strategy output. Use chart markers for visual review. For deep quant metrics (Sharpe, Sortino, etc.), export or extend strategy output — not all metrics are shown in UI today.

Best practices

  1. Include realistic commission and slippage in strategy design where supported
  2. Test multiple time periods and pairs
  3. Watch for overfitting — keep parameter count modest
  4. For Freqtrade strategies, respect startup_candle_count and lookahead constraints from Freqtrade docs

Further reading

  • Marketplace authoring: create artifacts from the author dashboard
  • Technical docs: docs/reference/execution-jobs.md and docs/reference/freqtrade-strategies.md in the repository