Optimization
A background search tries thousands of settings and brings back the best variants, ranked by score and by return.
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
- 01Open the settings
Optimize on the strategy page, or ask the agent.
- 02Search length
From 2 minutes to 4 hours of search.
- 03Speed
A faster search finishes the same work sooner.
- 04Start the search
It runs in the background; the operations drawer and the bell tell you when it is done.
- 05Thousands of backtests
Phases, backtests processed, best score and best return so far.
- 06The best variants
Each one with its return, drawdown, win rate, trades, score and Sharpe.
- 07Compare with the original
Pick a variant: its equity curve overlays the original backtest, metric by metric.
- 08Apply it
The variant becomes a new version of the strategy; the previous one stays in the history.
What it changes, and what it never touches
- There is no limit on the number of parameters it can change: 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 never changes the sizing, the timeframe or the market: those stay yours.
The variants it brings back
| Variant | Picked for |
|---|---|
| Best Score | The highest Runbot Score: the most balanced result. |
| Best APR | The highest annual return. |
| Safest | The lowest drawdown. |
| Most trades | The most active version. |
| Best win rate | The highest share of winning trades. |
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.
