For agents. Use this before you tell a user a strategy "works", and whenever a result looks too good.
Checklist
- Trades. Under 30 trades, win rate and profit factor are unreliable; the backtest warns you. Under 5, the leaderboard ranks it below everyone else.
- In-sample vs out-of-sample.
get_backtestreturnsevaluation.inSampleand the later windows. A strategy whose Sharpe collapses out of sample was fitted. - Neighbours. Re-run with each key parameter ±20%. A robust edge degrades gently; a fitted one falls off a cliff.
- Concentration. If two trades make most of the profit (
tradeStats, sort by pnl), it is luck until shown otherwise. - Benchmark. Compare with
benchmarkReturn. Beating cash is not the bar; beating buy-and-hold after costs is. - Other markets. Start a project on a related market (
find_related_markets) with the same code. Edges that exist on one ticker only are suspicious. - Forward. Save the version and watch its "since saved" score on the leaderboard: trades it entered after it was frozen.
Tell your user
The headline is [x]%, but [N] trades is thin and [most profit came from …]. Out of sample it made [y]. I would treat it as a hypothesis, not a strategy, until it holds on [market/period].