π§ AI Agent Optimiser
Runbot AI Agent Optimizer
Let the AI do the optimizing. You focus on the strategy.
π Overview
The AI Agent Optimizer is a smart assistant designed to automate and simplify the strategy optimization process on Runbot. Instead of manually setting parameters and tuning for hours, the AI Agent guides you through a few quick prompts, understands your goals (APR, drawdown, winrate, etc.), and then handles the entire optimization process using the built-in Optimizer tool.
This feature is ideal for traders who want results fast, without diving into the complexity of backtest logic, parameter grids, or optimization engines.
βοΈ How It Works
Launch the AI Agent from any strategy
The Agent will ask:
Which parameters should be optimized? (e.g. RSI period, trigger levels)
What is your goal? (e.g. reduce drawdown, maximize APR, optimize Runbot Score)
What duration and depth of optimization? (e.g. 1 year backtest, 10 min compute time)
The AI calculates the number of backtests that can be executed, then runs them in parallel based on server load and selected compute power (x1 to x4).
After processing hundreds of tests, it selects and summarizes the five best strategies from the top 20 candidates.
β
Optimization Results
Each optimization session always returns five curated strategies, based on multiple risk/reward trade-offs:
Best overall balance (Pareto frontier)
Lowest drawdown
Highest APR
Highest Runbot Score
Highest number of trades
You can instantly click to clone any of these into your strategy list.
π§ͺ Optimisation Duration & Speed & Backtest History
When launching the AI Optimizer, you can choose:
Backtest history: (This determines how much historical market data the AI will use to evaluate each strategy variant, e.g. 1 month, 3 months, 1 year, 3 years...)
Optimization duration: (1min to 24 hours, the longer the duration, the more backtests can be processed)
Optimisation performance: (x1 to x4): This multiplier will increase the number of backtests that will be processed during the optimisation duration
Shorter durations (1β3 months) are useful for scalping strategies, highly reactive bots, or quickly adapting to current market conditions.
Longer durations (1β3 years) help validate strategies across different cycles, including bull, bear, and sideways markets, essential for detecting overfitting and stress-testing strategy robustness.
The higher the speed multiplier, the more compute power (CPUs) your task gets, the higher the cost get.
You can also use free optimization coupons to run sessions at no cost.
π Behind the Scenes (How AI Computes)
The system first runs a test backtest to estimate how long one iteration takes.
Then it calculates:
Total number of CPUs allocated (based on speed multiplier)
Total backtests that fit within the allotted compute time
Example:
You select: 1h duration, x2 speed
That allocates 10 CPUs (5 base Γ 2)
If each backtest takes 1 minute, the AI can run approx. 600 backtests
Those 600 variants are then scored and filtered to return only the top 5 results
π§ Why Use the AI Agent?
Save time: No need to manually run 500+ tests
Better results: AI considers multiple objectives at once
No code needed: Choose what you want, Runbot AI does the rest
Consistent output: Always get the most balanced and extreme variants
π FAQ
β What parameters can I optimize with the AI Agent?
Anything adjustable inside your strategy: indicator periods, trigger thresholds, stop loss, entries and exit, etc.
β Why did my backtest take more or less time than expected?
The "optimization duration" refers to compute time, not real-time minutes. You pay for CPU calculation time.
Runbot allocates CPU power depending on:
Server load
Selected optimization peformance
The AI first measures how long one backtest takes, then estimates how many backtests fit into that window. So if a backtest takes 60 seconds:
1 hour Γ 10 CPUs = 600 backtests
β οΈ Depending on server load, these can run faster or slower in wall time, but you always get what you paid for in compute time.
β Will this replace the Optimizer tool?
No. The AI Agent uses the Optimizer engine, but in a guided, automated way. Advanced users can still access the Optimizer manually.
β How do I launch it?
Open any strategy β Click AI Agent - Optimiser on the top of Strategies box
Answer the prompt questions
Choose backtest duration, optimization duration, speed
Confirm β AI takes over
Last updated
Was this helpful?