Skip to content

Test

Run your first backtest and read the results

With your algorithm created, it’s time to see how it would have performed on historical data. Test mode is where you backtest, inspect trades, compare runs, and check whether the strategy generalizes.

  1. Select an Algorithm

    Switch to Test from the header mode selector. Open the algorithm picker and choose the strategy you want to test.

    The Test workspace loads the saved strategy and shows its current version, symbol, entry rules, exit rules, protection rules, and any launch blockers.

  2. Configure the Backtest

    In the Setup tab, choose the run context:

    SettingSuggested Start
    Start6 months ago
    EndToday
    SymbolBTC/USDC or your market
    CapitalYour intended test budget
    LeverageStart low
    Trades limit200
  3. Make Local Test Edits

    The Entry, Exit, and Reset tabs let you tune the local test draft:

    • Entry — position size, long/short entry conditions, and session gate behavior
    • Exit — long/short exit conditions, stop behavior, and protection context
    • Reset — cooldown, timeout mode, and follow-up chain behavior
  4. Run the Backtest

    Click Run Backtest. Reversion submits the test, tracks progress, and loads results when the run completes.

    The engine uses the same strategy logic as live execution — entries, exits, stop loss, take profit, trailing logic, fees, slippage, and state transitions are all simulated through the same model.

  5. Read the Summary

    Start with the Summary tab:

    MetricWhat It Tells YouGood Range
    Win Rate% of trades that were profitable> 40% (depends on R:R)
    Profit FactorGross profit / gross loss> 1.5
    Sharpe RatioRisk-adjusted return> 1.0
    Max DrawdownLargest peak-to-trough decline< 20%
    Total PnLNet profit or loss after costsPositive

    Ask yourself:

    • Sharpe > 1.0? The strategy has risk-adjusted edge.
    • Max drawdown < 20%? The risk is manageable.
    • Win rate + profit factor make sense together? A 35% win rate with 3:1 R:R can be fine.
    • Equity curve smooth? Or does all profit come from a few lucky trades?
  6. Inspect Trades

    Open the Trades tab to see every completed trade. Click a row to open Detail, where you can inspect:

    • Entry and exit price
    • P&L and P&L %
    • Exit reason
    • Stop owner and trail mode
    • Position sizing diagnostics
    • Adaptive stop or take-profit resolution, when used

    This is where you find out why a strategy made money or lost money, not just whether it did.

  7. Replay the Run

    Use the replay controls under the chart to walk through the backtest over time. The chart and equity curve move together, so you can see where entries, exits, stops, and drawdowns happened.

    Replay is especially useful when the headline metrics look good but the equity curve has sharp drops. Watch the losing periods and decide whether the strategy behavior still makes sense.

  8. Compare Runs

    After a completed backtest, switch to Compare. Run another backtest after changing settings, then compare:

    • Current run vs previous run
    • P&L, drawdown, Sharpe, and trade count
    • Exit mix
    • Diagnostics coverage
  9. Run Optimize

    Switch the Test workspace from Backtest to Optimize. Optimize runs rolling cross-validation: it slices the date range into repeated train and test windows so you can see whether the strategy holds up across different periods.

    Configure:

    SettingWhat It DoesSuggested Start
    Train DaysWindow used to establish behavior30
    Test DaysOut-of-sample window checked after each train7
    Step DaysHow far the window slides forward between folds7

    Click Run Optimize. When it finishes, review the aggregate test metrics and the Folds tab.


Want to…Go to
Run your algorithm liveRun Walkthrough →
Learn all Test metrics in depthTest Features →
Tune the saved strategy permanentlyBuild Features →