Optimization

A background search tries thousands of settings and brings back two variants: the best Runbot Score and the best APR.

Video demo0:5110 stepsGuided mode available

0:00 / 0:50

It starts on its own

After the first backtest of a new strategy, a short optimization runs in the background. When it finishes, its results appear in the chat and on the strategy page. Nothing changes in your strategy until you choose to apply a variant.

You can also launch a longer search yourself and choose its length and speed. A faster search finishes the same work sooner.

Step by step

  1. 01
    Open the settings

    Optimize on the strategy page, or ask the agent.

  2. 02
    Search length

    From 2 minutes to 4 hours of search.

  3. 03
    Speed

    A faster search finishes the same work sooner.

  4. 04
    Start the search

    It runs in the background; the operations drawer and the bell tell you when it is done.

  5. 05
    Thousands of backtests

    Phases, backtests processed, best score and best return so far.

  6. 06
    The two variants

    Best Score and Best APR, each with its return, drawdown, win rate, trades, score and Sharpe.

  7. 07
    Compare with the original

    Pick a variant: its equity curve overlays the original backtest, metric by metric.

  8. 08
    Apply it

    The variant becomes a new version of the strategy; the previous one stays in the history.

What it changes, and what it leaves alone

  • There is no limit on the number of parameters it can tune: the settings of the indicators, entry rules, exits, mid-trade rules and order methods.
  • It ranks results with up to 5 weighted criteria, chosen among 12: win rate, drawdown, flat drawdown, Sharpe, profit factor, Runbot Score, monthly performance, risk/reward, number of trades, time in position, drawdown variance and PnL variance.
  • It does not change the sizing, the timeframe or the market unless you explicitly ask for it: those stay yours.

The variants it brings back

VariantPicked for
Best ScoreThe highest Runbot Score: the most balanced result.
Best APRThe highest annual return.

Open a variant to compare it with the original backtest: both equity curves on one chart, and each metric before and after. Apply the one you prefer; it becomes a new version of the strategy.