Parameter optimization
Optimize strategy parameters without the guesswork
Sweep one or two parameters over a grid and see the result of every combination. 1,000 backtests of SPY's full daily history finish in 26.6 seconds.
How it works
- 1
Choose the parameters
Pick one or two numeric parameters and set a min, max and step for each. Every other parameter stays fixed.
- 2
Pick a target metric
Choose the metric to maximize or minimize, such as the Sharpe ratio, and track others alongside it.
- 3
Compare every combination
A results table lists each run, and a 2D chart or 3D surface shows the metric across the grid.
What you get
See stable regions
The surface shows whether a good result sits on a broad plateau or on an isolated peak that is likely overfit.
Know the cost first
The iteration count and credit estimate show before you run: 0.2 credits per iteration on paid plans.
Stop anytime
Cancel a run halfway and keep every result that already finished.
[ FAQ ]
Questions
More LONA features
Backtesting
Backtest Python trading strategies on 80,000+ symbols from Claude, ChatGPT, Codex or the LONA app. Trades, equity curve and every metric in one report.
Walk-forward analysis
Re-optimize a strategy on rolling or anchored in-sample windows, then test it on unseen out-of-sample data. Get stitched equity and walk-forward efficiency.
Day and time optimization
Find the weekdays or UTC hours that hurt your strategy. LONA backtests it with new entries blocked on one day or time slot at a time and compares the results.
MT5 export
Turn a LONA strategy into a compiled MetaTrader 5 Expert Advisor. LONA translates Python to MQL5, compiles it with MetaEditor and returns .mq5 and .ex5 files.