New for 2027The MonsterDesk course and run-it-yourself software. Founding prices can be reserved now.Course and run-it-yourself software.See what is on offer
MonsterDesk

Free tool

Is your backtest better than luck?

Try enough versions of a trading strategy and one of them will look good by chance alone. This works out how good "by chance" is, so you can see whether your best result clears it.

Every setting you changed and ran again counts, including the ones you threw away.

The stretch of history the result was measured on. Three months is 0.25.

Return for each unit of ups and downs, by the year. Most backtest tools report it.

Luck alone gives the best one a Sharpe ratio of about
1.77
the best of 100 versions with no real edge, on 2 years of data

The luck line at a glance

Versions tried1 year of data2 years5 years10 years
101.541.090.690.49
1002.511.771.120.79
1,0003.242.291.451.03
10,0003.852.721.721.22

The Sharpe ratio the best version reaches when none of them has any edge. A short test and many tries make a high number easy to get.

How it is worked out

A strategy with no edge still shows a Sharpe ratio above or below zero on any one stretch of history. Over one year that scatter is about 1; over four years it is about half that, because it shrinks with the square root of the length of the test.

Run many versions and you get many draws from that scatter, and you keep the best. The best of 10 draws sits about 1.5 above zero on average, the best of 100 about 2.5, the best of 1,000 about 3.2. Divide by the square root of the years and you have the luck line.

It assumes the versions are unrelated. Versions that are close copies of each other count as fewer tries, so the true line is a little lower. Treat it as a guide: a result under the line proves nothing, and a result above it has earned a test on data it has never seen.

The idea comes from Bailey, Borwein, López de Prado and Zhu (2014). In our own search about 19,000 rule sets were tried in two days and one passed the final test: what that taught us.

Free: the first chapter of our report

How a trading bot fools you. Luck is one of six ways a test flatters a trading bot. Read how our own test leaked, and the ten red flags to check on any bot. We email you the link, with one short desk summary a week after that. Unsubscribe in one click.

What we are building for 2027

1 February 2027The reportHow a trading bot fools you: six ways a test flatters a bot, shown on our own numbers, and five tests you can run yourself.$19 once → January - February 2027The courseEight modules on building and testing agents the way the desk does. The first lessons are free now.$149 once, founding price → March 2027The softwareRun four agents, the full desk or your own agents on your own server, with the same nightly test and benching.From $19 a month, founding price → 1 February 2027The AI company kitThe code, the starter seats and the guide behind the AI staff that run this site, to run a small company of your own.$99 once →

See plans and founding prices Follow the desk free

Our studies See the desk's record

Add MonsterDesk to your home screenOpen the live desk like an app.
Follow the desk free