ChatGPT
Backtest trading strategies in ChatGPT
Add the LONA app to ChatGPT and test trading ideas in plain words. Reports, optimization results and walk-forward analyses open right in the chat.
Set it up
- 1
Open the app
Open LONA in ChatGPT's app directory from the button below.
- 2
Connect your account
Connect it and sign in with your LONA account, or create one for free.
- 3
Ask in plain words
Mention LONA in a chat and describe the strategy. ChatGPT writes it, runs it and shows the report.
Then ask
A first prompt to paste once LONA is connected.
With LONA, test a strategy on Apple daily data since 2015: buy when the 10-day SMA crosses above the 30-day SMA, sell on the opposite cross. Show me the report.What your agent can do with LONA
Create strategies
Describe the rules in plain words. The agent writes the Python strategy and dry-runs it before saving.
Backtest
Run it on US and China equities, ETFs, crypto and forex, from 5-minute bars to daily.
Optimize parameters
Sweep one or two parameters and compare every combination.
Walk-forward analysis
Re-optimize on rolling windows and test on data the parameters never saw.
Day and time tests
Find the weekdays or UTC hours your strategy should skip.
[ FAQ ]