Research by conversation
Ask the agent to investigate markets, companies, filings, strategies, and your connected account context.
Trading strategy validation guide
Control the full research process: define the hypothesis and search space first, log every variant, keep strategy selection separate from final evaluation, and prefer stable behavior over one winning configuration.
Ask the agent to investigate markets, companies, filings, strategies, and your connected account context.
When direct trading is enabled, request a one-time trade in plain English, inspect the order, and approve it before submission.
Create, revise, backtest, connect, and operate Lumibot strategies without assembling the full application stack yourself.
Work in BotSpot or connect through ChatGPT, Claude, Cursor, Codex, and other compatible MCP clients.
Overfitting does not require an obviously complex model. It can happen when a researcher tries many indicators, parameters, universes, date ranges, filters, or scoring rules and then reports the strongest historical result.
The selected strategy may fit repeatable structure, historical noise, or both. A smooth equity curve cannot distinguish them by itself.
Write the economic or behavioral hypothesis before viewing optimized results. Define what evidence would support it, what evidence would reject it, and which choices the search may change.
Set a research budget. A search with explicit bounds is easier to evaluate than an open-ended loop that stops when an attractive result appears.
Use earlier data for development, later data for validation, and a final untouched period for evaluation. Keep every split chronological because random splitting can train on future observations and evaluate on earlier ones.
A holdout period stops being untouched when its result influences another rule, parameter, or feature choice. Move that period into the research record and obtain new evidence instead of continuing to call it a final test.
One holdout is not a complete cure. Research on investment backtests shows that broad strategy selection can still overfit finite historical samples, especially when the same history supports many decisions.
Testing more alternatives raises the chance that one looks successful through chance. Trial count includes more than explicit parameter combinations: changing universes, date windows, indicators, filters, objectives, or benchmarks also creates selection opportunities.
Record the complete search family. When statistical claims matter, use methods designed for multiple testing or selection bias rather than interpreting the winning unadjusted metric as if it were the only strategy tested.
Inspect nearby parameter values rather than selecting only the historical maximum. A strategy whose behavior remains similar across a reasonable neighborhood provides stronger robustness evidence than one that works at one exact threshold.
Repeat sensitivity checks across different start dates, subperiods, market conditions, and eligible universes. CFA Institute guidance treats sensitivity and scenario analysis as complements to historical backtesting because one observed history cannot represent every possible future.
Every additional parameter, filter, exception, or model branch creates another way to fit historical noise. Complexity should earn its place through a stated mechanism and better validation evidence, not only a stronger development backtest.
When a test fails, return to the hypothesis. Repeatedly adding exceptions until the same historical sample passes converts evaluation data into training data.
Publish the hypothesis, data periods, benchmark, primary metric, number of trials, selected configuration, nearby configurations, and limitations. Reporting only the best run hides information needed to judge selection bias.
Move surviving strategies to walk-forward and paper testing. These stages add evidence about changing data and operational behavior, but neither proves future profitability.
No holdout, cross-validation method, robustness check, or multiple-testing adjustment can guarantee live performance. Financial samples are finite, observations can be dependent, and market structure can change.
Formal measures such as Probability of Backtest Overfitting and Deflated Sharpe Ratio require assumptions, sufficient observations, and a defensible record of the strategies tested. They should support judgment, not become another number to optimize.
No universal cutoff exists. Risk depends on sample size, parameter ranges, dependence between trials, strategy complexity, and total search breadth. Track every free choice and require each added parameter to improve unseen evidence, not only development results.
No. It provides stronger evidence only when the sample remained untouched during selection. Repeatedly checking and reacting to the same out-of-sample period turns it into development data.
Not by itself. The highest observed Sharpe ratio can reflect selection from many trials, non-normal returns, or dependence on a narrow period. Review search count, robustness, drawdowns, trade behavior, and untouched evaluation evidence.
Yes. AI can generate and test more alternatives faster, increasing selection opportunities. Bound the search, preserve an experiment log, and keep final evaluation data outside the optimization loop.
Sources verified 2026-08-14.
Past performance does not guarantee future results. Automated trading involves risk of loss.