LONA™
New: walk-forward analysis

The trading validation infrastructure for agents

Tell your agent the strategy. LONA backtests, optimizes and walk-forward tests it on more than 80,000 symbols. Use it over MCP or in the app.

Use it via MCP
Works with

Join more than 20,000 ambitious traders

From idea to a tested strategy, step by step.

  1. Describe it in plain words. Your agent writes the Python strategy.

  2. Run it on US and China equities, ETFs, crypto and forex. Trades, equity curve and every metric in one report.

  3. Test every parameter combination to find the optimal region inside the graph.

  4. Check the optimized parameters on data that was not used to optimize them.

Strategy Code

class SmaTrend(bt.Strategy):
params = (('fast', 20), ('slow', 100), ('order_size_pct', 0.95))
def __init__(self):
self.inds = {}
self.orders = {}
for d in self.datas:
sma_fast = bt.indicators.SMA(d, period=self.p.fast)
sma_slow = bt.indicators.SMA(d, period=self.p.slow)
self.inds[d] = {
'sma_fast': sma_fast,
'sma_slow': sma_slow,
'crossover': bt.indicators.CrossOver(sma_fast, sma_slow),
}
self.orders[d] = None
def notify_order(self, order):
if not order.alive():
self.orders[order.data] = None
def next(self):
for d in self.datas:
if self.orders[d]:
continue
if not self.getposition(data=d):
if self.inds[d]['crossover'][0] > 0:
self.orders[d] = self.order_target_percent(data=d, target=self.p.order_size_pct)
else:
if self.inds[d]['crossover'][0] < 0:
self.orders[d] = self.order_target_percent(data=d, target=0.0)

The fastest way to backtest a trading idea

Real timings from LONA, on SPY's full daily history.

One backtest

1.0s

33 years of daily SPY, every trade and metric in the report.

Optimization

14.9s

1,000 backtests, one per parameter combination, each on the full history.

67 backtests per second

Walk-forward analysis

15.0s

28 windows, each optimized on 5 years and tested on the next one: 2,828 shorter backtests.

189 backtests per second

Start free, upgrade when you need more

Paid plans add monthly credits, Walk-Forward Analysis, intraday data and top-ups.

Free

$0

To get started

Pro

$49USD/mo

Active traders

Premium

$99USD/mo

Most popular

Quant

$249USD/mo

Professional - invite-only

Frequently Asked Questions

Get In Touch

Join thousands of traders who've revolutionized their strategies with LONA. Get in touch and let's discuss how AI can elevate your trading game.

Why Choose LONA?

AI-Powered Guidance

Our intelligent agents guide you through every step of strategy creation and optimization.

No Coding Required

Transform your trading ideas into executable strategies using plain English.

Professional Results

Get hedge fund-quality analytics and TradingView-compatible visualizations.