What Survives Honest Evaluation? LLM-Driven Strategy Discovery
Citation. Eray Gençay (independent researcher, Stuttgart). "What survives honest evaluation? Leakage-safe, search-aware assessment of LLM-driven trading strategy discovery." Preprint, arXiv:2608.27734, v1, 27 August 2026, q-fin.ST, CC BY 4.0. No venue. Code, configurations, run manifests and search traces are on Zenodo (DOI 10.5281/zenodo.21261868). The full discovery platform is "available from the author on reasonable request". The market data (Tiingo, SEC EDGAR, GDELT, FRED) can't be redistributed, but scripts rebuild them, with content hashes. The paper reports no funding and no competing interests. The models are OpenAI gpt-4.1, primary, and Anthropic claude-sonnet-5 for a replication.
Status. Planned. The verdict (#12) and the trial ledger (#7) would use its design. That design is one evaluation entry point that records every trial, and a held-out interval beside DSR. No code in the repo uses the paper yet.
Read. Read on 2026-11-27 through a web-fetch subagent, from the arXiv HTML. It read the abstract and Sections 1 to 9 in the source's own words, with the data and funding statements. The reference list after Lo (2010) came back only as a summary. It saw the figures only as captions. It found no prompt text, no seeds or temperatures, and no statement of the models' training cut-offs. I didn't run the Zenodo code.
Summary
Claim. An LLM agent that searches for trading strategies finds designs that look good in sample. None of them survives a leakage-safe, search-aware evaluation. Deflation can't catch leaked inputs, and only structural controls can.
Method.
- The agent. The LLM acts only through registry-checked tools that build a declarative plan. The tools add a feature, a node or a signal term, choose a strategy, set a combination and finalise. It writes no code. Each iteration composes a strategy under one of twenty rotating economic hypotheses, such as momentum, reversal or low volatility. The search sees only the design window.
- Leakage controls. Signals at day t use bars up to t and trade from t + 1. A leaky "tomorrow's return" feature is in the registry but can't be selected. An audit rejects event data that ignores publication delays. The headline runs use price features only.
- The ledger. Every distinct evaluation, refinements and experimental arms included, goes into one ledger. The ledger is complete "by construction", because all candidates pass one evaluation entry point.
- The tests. DSR (Bailey & López de Prado 2014) with N the ledger count. PBO by CSCV with S = 16. An "evaporation curve" of the best design Sharpe against its k-dependent DSR threshold. Certification needs a stationary-bootstrap Sharpe interval on the held-out window that excludes zero.
- The data. E1 to E4: 453 large-cap US stocks and SPY from Tiingo, the top 200 by trailing dollar volume, design 2017–2021, evaluation 2022–2025. E5 and E6: 39 multi-asset ETFs, bitcoin included, design 2007–2016, evaluation 2017–2025.
- Costs. 1 bp commission, 2 bp spread, square-root impact, and a 50 bp a year short borrow. E4 halves and doubles them.
- Baselines. A random-weights floor, equal-weight and SPY buy-and-hold, and classic momentum, low-volatility and reversal factors. E6 adds the author's own production system on gold.
Findings, as the source reports them.
| Setting | Number | Value |
|---|---|---|
| E1: a planted look-ahead oracle | design and evaluation Sharpe, and DSR | 34.7, 51.5 and 1.00 |
| E2: classic factors, N = 9 | best active DSR, and PBO | ≤ 0.32 and 0.83 |
| E3: gpt-4.1, 100 composed strategies, ledger N = 102 | best design Sharpe, and evaluation Sharpe | 1.69 and 0.18 |
| The same | evaluation 95% interval, DSR and PBO | [−0.80, +1.14], 0.86 and 0.01 |
| The same | equal-weight and SPY buy-and-hold, evaluation Sharpe | 0.60 and 0.67 |
| E3, claude-sonnet-5 replication | valid plans, and evaluation Sharpe of the best | 80 of 100, and −0.33 |
| E4: five gpt-4.1 runs, N = 18 each | runs that survive DSR | 0 of 5 (DSR 0.15 to 0.29) |
| E5: 39 ETFs, N = 20 | agent's evaluation Sharpe, and 95% interval | −0.23 and [−0.82, +0.33] |
| The same | random floor's evaluation Sharpe | 0.55 |
| E5 | arms whose interval excludes zero | only the two passive benchmarks |
| E6: the author's production system on gold | evaluation Sharpe, against gold buy-and-hold | −0.12 against 1.04 (paired p < 0.001) |
| Section 7: a true Sharpe of 0.6 | years for t ≈ 2 | about 11 |
The last row is simple arithmetic: t ≈ SR · √years, so √years ≈ 2 / 0.6 and years ≈ 11.1.
Where the claims go beyond the evidence
LLM memorisation is not addressed. The evaluation windows end in 2025, and the paper states no training cut-off for either model. If the models saw news or prices from the evaluation years, their hypotheses could carry that knowledge. The structural controls stop leaked features, but not leaked priors. The null result makes this less pressing, but a positive result would need it.
PBO missed the E3 failure. The winner went from a Sharpe of 1.69 to 0.18 with a PBO of 0.01. The author says so, and leans on the held-out interval instead. That shows a limit of PBO here, but not a general one: the interval is wide ([−0.80, +1.14]) and would also fail many real edges.
The benchmarks are deflated by the agent's search. In E3, buy-and-hold gets a DSR of 0.45 and SPY 0.31, because the agent's N = 102 is applied to arms that weren't searched. The same arms get 0.99 and 0.97 in E1. The paper calls this conservative, but it mixes two questions in one table.
One evaluation regime. Both evaluation windows are bull markets for equities and gold. The author states this limit. The power argument (about 11 years for a Sharpe of 0.6) also means the four-year equity window can't certify most real edges.
The trials aren't exchangeable. DSR assumes trials from one distribution, but the rotating hypotheses make them heterogeneous, and duplicates count at face value. The author states this.
Survivorship. The equity list is a fixed current list, and eight names delist in the sample. The author argues this favours the active strategies, so it biases against the null result.
No seeds. Five repeat runs are the only replication, at default temperature, with no seeds reported.
Credit. The ledger is built into the system, not kept by hand. The paper plants a look-ahead oracle to show what deflation can't catch. It releases its search traces, and reports its own production system's failure.
Use in this repo
The ledger should have one entry point. The paper's ledger is complete because every candidate passes one evaluation function. #7 should do the same: the harness (#87) records a trial each time it evaluates, and nothing else can run a backtest. A ledger that relies on authors or agents to log their runs will miss trials. I note this on #7.
Leakage needs structural checks, not statistics. The E1 oracle passes DSR and PBO "completely". The repo's strategy contract already gives targets() the data "up to now, and nothing later" (open_familyoffice/strategies/__init__.py). The harness should keep that guarantee in backtests, and plant its own look-ahead oracle as a test that the guarantee holds. For external series, publication delays need the same audit. That bears on the datasets' point-in-time rules.
The verdict needs a held-out interval as well as DSR. In E3, DSR 0.86 and PBO 0.01 looked acceptable, and the held-out interval was what failed the winner. The verdict (#12) could require a held-out or forward Sharpe interval that excludes zero, beside DSR. The hourly tick's paper trading gives such a window.
Pre-registration is cheap. At N = 1, DSR is PSR. A strategy that a human or agent registers before any backtest, and tests once, faces almost no deflation. The registry could mark strategies as pre-registered, with their ledger count at 1.
Agent-written strategies. In this repo, agents write strategy code. The paper's agent builds only declarative plans from a checked tool registry, so the ledger and the leakage audit see every choice. Whether agents here should do the same is a question for the maintainer.
Questions for the maintainer.
- Should agent-proposed strategies be declarative plans checked against a registry, as in the paper, or Python modules, as now?
- Should the verdict (#12) require a held-out or paper-trading Sharpe interval that excludes zero, beside DSR?