The Generator's Curse: Search-Size Scaling of Backtest Overfitting in Technical FX Rule Libraries

No-code and large-language-model generators have made it inexpensive to synthesise large libraries of technical trading rules, and vendors routinely advertise a champion backtest drawn from such a search. The scientific question is not whether that champion looks attractive in sample, but how the quality of the selection itself behaves as the search intensity N grows. We study this question on EURUSD, GBPUSD, USDJPY and AUDUSD, measuring the combinatorial probability of backtest overfitting (PBO) and the in-sample and out-of-sample Sharpe ratios of the selected winner, net of round-turn transaction costs and under next-bar execution. On a declared library of 92 hand-specified rules built from European Central Bank reference rates over 2010–2025, increasing N raises the in-sample Sharpe of the selected rule on EURUSD and GBPUSD while the PBO of the search approaches 0.79 and the mean out-of-sample Sharpe of that rule is negative; the same library is rank-stable on AUDUSD, where the PBO is approximately 0.21. A single 2019 holdout can disagree with the combinatorial estimate. Replicating the protocol on a declared moving-average-and-RSI strategy family (N=500, S=16) on two independent daily tapes, Yahoo Finance and Twelve Data, confirms that the mean out-of-sample Sharpe of selected winners across combinatorial paths, rather than the holdout of a single champion, is the quantity of interest, and that heterogeneity across pairs and across data vendors is itself part of the finding. We make no claim of deployable alpha and we do not evaluate a commercial product. The results are reported at the level of historical, prototype evaluation. The author is CEO of Techain.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-08-25
DOI
https://doi.org/10.5281/zenodo.22096154
Primary Topic
Auction Theory and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

The Generator's Curse: Search-Size Scaling of Backtest Overfitting in Technical FX Rule Libraries

Ignacio N. Ayago Trigo
Zenodo (CERN European Organization for Nuclear Research)
Auction Theory and Applications
preprint

The Generator's Curse: Search-Size Scaling of Backtest Overfitting in Technical FX Rule Libraries

Ignacio N. Ayago Trigo
preprint en

Abstract

No-code and large-language-model generators have made it inexpensive to synthesise large libraries of technical trading rules, and vendors routinely advertise a champion backtest drawn from such a search. The scientific question is not whether that champion looks attractive in sample, but how the quality of the selection itself behaves as the search intensity N grows. We study this question on EURUSD, GBPUSD, USDJPY and AUDUSD, measuring the combinatorial probability of backtest overfitting (PBO) and the in-sample and out-of-sample Sharpe ratios of the selected winner, net of round-turn transaction costs and under next-bar execution. On a declared library of 92 hand-specified rules built from European Central Bank reference rates over 2010–2025, increasing N raises the in-sample Sharpe of the selected rule on EURUSD and GBPUSD while the PBO of the search approaches 0.79 and the mean out-of-sample Sharpe of that rule is negative; the same library is rank-stable on AUDUSD, where the PBO is approximately 0.21. A single 2019 holdout can disagree with the combinatorial estimate. Replicating the protocol on a declared moving-average-and-RSI strategy family (N=500, S=16) on two independent daily tapes, Yahoo Finance and Twelve Data, confirms that the mean out-of-sample Sharpe of selected winners across combinatorial paths, rather than the holdout of a single champion, is the quantity of interest, and that heterogeneity across pairs and across data vendors is itself part of the finding. We make no claim of deployable alpha and we do not evaluate a commercial product. The results are reported at the level of historical, prototype evaluation. The author is CEO of Techain.

Zenodo (CERN European Organization for Nuclear Research)
Synergy University Dubai (AE)
Auction Theory and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.