Was your backtest skill, or luck?
BotGauntlet is a statistical check for trading bots and strategies, including bots built with ChatGPT or Claude. You write your pass/fail criteria first, lock them with a hash, then run them on your own list of trades. You get a plain report that shows what held up and what did not.
How it works
Most strategies come with a great backtest and no honest test behind it. BotGauntlet fixes the rules before you look at results. You write down what you expect and what counts as a pass. The tool fingerprints your criteria and your data. Then it runs the checks once.
- Export your trades as a simple CSV: date and return.
- Write the protocol and lock it.
- Run. Read the report. The method page explains every check and its limits.
What you get
- A command-line test kit: protocol and data locked with hashes; permutation test, split-half check, best-days check and cost stress test; uncertainty intervals and a "how much data would you need" line.
- A complete paper-trading bot (paper mode only) as a worked example of execution and risk code. Its own strategy showed no edge in our tests: it is an example, not a signal.
- A step-by-step guide for non-programmers.
- Case studies from our own pre-registered tests, including the ones that failed.
Three demos on synthetic data
The data below is generated, so we know the true answer. Each demo is the real, unedited output of the tool. Seeds were fixed in advance (11, 12, 13), one run each.
A. Pure noise
No edge exists. The tool says NOT PASSED: t=1.04, p=0.15, negative after costs.
B. A real edge
0.30% per trade planted in noise. The tool says ALL PASSED: t=7.86, p=0.0001, still positive after costs.
C. Three lucky days
Looks like +0.21% per date, but the result is carried by three huge days. Without them the mean is negative. NOT PASSED.
Show the full report for demo A (noise)
BOTGAUNTLET REPORT Hypothesis: Demo A: pure noise, no edge Trades: 400 Dates: 200 Mean per date: 0.00052 PASS enough independent dates (n >= 50) (n=200) FAIL t-statistic >= 3.0 (t=1.04) FAIL sign-flip p-value <= 0.010 (p=0.1532) PASS mean > 0 in first half of dates (mean=0.00151) FAIL mean > 0 in second half of dates (mean=-0.00047) PASS median of date means > 0 (median=0.00120) PASS mean > 0 without the 3 best dates (mean=0.00026) FAIL mean > 0 after extra cost 0.0020 per trade (mean=-0.00148) Uncertainty (information only, not a pass/fail criterion): 95% interval of mean per date, resampling single dates (200 blocks): -0.00048 to 0.00154 95% interval of mean per date, resampling whole weeks (29 blocks): -0.00036 to 0.00141 Smallest true mean per date this data could reliably detect (80% power): about 0.00140 (2.8 standard errors, using the wider of the date-level and week-level error; assumes future data behaves like this sample.) If your real edge is smaller than that, this data cannot confirm or reject it. VERDICT: NOT ALL CRITERIA PASSED Criteria were fixed before the run (see LOCK.txt). This report is not financial advice and does not predict future results. A pass is not proof: confirm on data collected after the lock before risking money.
Show the full report for demo B (planted edge)
BOTGAUNTLET REPORT Hypothesis: Demo B: a real edge of 0.30% per trade planted in noise Trades: 400 Dates: 200 Mean per date: 0.00384 PASS enough independent dates (n >= 50) (n=200) PASS t-statistic >= 3.0 (t=7.86) PASS sign-flip p-value <= 0.010 (p=0.0001) PASS mean > 0 in first half of dates (mean=0.00413) PASS mean > 0 in second half of dates (mean=0.00355) PASS median of date means > 0 (median=0.00385) PASS mean > 0 without the 3 best dates (mean=0.00362) PASS mean > 0 after extra cost 0.0020 per trade (mean=0.00184) Uncertainty (information only, not a pass/fail criterion): 95% interval of mean per date, resampling single dates (200 blocks): 0.00289 to 0.00479 95% interval of mean per date, resampling whole weeks (29 blocks): 0.00294 to 0.00474 Smallest true mean per date this data could reliably detect (80% power): about 0.00137 (2.8 standard errors, using the wider of the date-level and week-level error; assumes future data behaves like this sample.) If your real edge is smaller than that, this data cannot confirm or reject it. VERDICT: ALL CRITERIA PASSED Criteria were fixed before the run (see LOCK.txt). This report is not financial advice and does not predict future results. A pass is not proof: confirm on data collected after the lock before risking money.
Show the full report for demo C (three huge days)
BOTGAUNTLET REPORT Hypothesis: Demo C: noise plus three huge winning days Trades: 400 Dates: 200 Mean per date: 0.00208 PASS enough independent dates (n >= 50) (n=200) FAIL t-statistic >= 3.0 (t=1.51) FAIL sign-flip p-value <= 0.010 (p=0.0764) PASS mean > 0 in first half of dates (mean=0.00203) PASS mean > 0 in second half of dates (mean=0.00213) PASS median of date means > 0 (median=0.00016) FAIL mean > 0 without the 3 best dates (mean=-0.00013) PASS mean > 0 after extra cost 0.0020 per trade (mean=0.00008) Uncertainty (information only, not a pass/fail criterion): 95% interval of mean per date, resampling single dates (200 blocks): -0.00030 to 0.00512 95% interval of mean per date, resampling whole weeks (29 blocks): -0.00029 to 0.00488 Smallest true mean per date this data could reliably detect (80% power): about 0.00386 (2.8 standard errors, using the wider of the date-level and week-level error; assumes future data behaves like this sample.) If your real edge is smaller than that, this data cannot confirm or reject it. VERDICT: NOT ALL CRITERIA PASSED Criteria were fixed before the run (see LOCK.txt). This report is not financial advice and does not predict future results. A pass is not proof: confirm on data collected after the lock before risking money.
How often is it wrong?
We measured it, using a protocol written and hashed before the first run (protocol, raw results). Default settings, 500 independent datasets per row, 2 trades per date.
| Data with no real edge | Said PASS |
|---|---|
| Gaussian noise, 100 dates | 0 of 500 |
| Gaussian noise, 200 dates | 1 of 500 (0.2%) |
| Gaussian noise, 400 dates | 0 of 500 |
| Fat-tailed noise, 200 dates | 0 of 500 |
| Noise plus 3 huge winning dates | 0 of 500 |
| Edge in first half, reversed in second half | 0 of 500 |
| Data with a real edge (200 dates) | Said PASS |
|---|---|
| 0.10% per trade | 3.6% |
| 0.15% per trade | 15.6% |
| 0.20% per trade | 50.4% |
| 0.30% per trade | 98.2% |
| 0.50% per trade | 100% |
What this means: the tool is strict. It almost never passes noise, but it will not confirm a small real edge on a short history. A FAIL does not prove there is no edge; it means the data cannot show one. The 0.20% row sits near 50% partly because one check subtracts an extra cost of exactly 0.20% per trade. The simulation used 2,000 permutations instead of the default 10,000, to finish quickly.
Correction (16 Oct 2026): a reader pointed out that the 0.20% per-trade cost is subtracted in only one criterion (mean after cost above zero). The t-statistic and the sign-flip p-value are computed before cost. A version that applies the cost before the t-test is planned, with a new locked calibration run. Details: https://dev.to/botgauntlet/i-tested-my-backtest-validator-on-6000-fake-datasets-it-lied-once-290m
Who it is for
Good fit
- You have a bot or strategy and a backtest you want to check honestly
- You want a clear verdict, not a nicer chart
- You can export your trades as a simple CSV (date, return)
Not for you if
- You want trading signals or tips
- You want a promise of profit
- You want someone to run your bot for you
What a PASS does not prove
- It does not prove the strategy will make money in the future.
- It does not know how many variants you tried before picking this one. If you tried many, divide the p-value limit by that number when you write your protocol (see the method page).
- It does not find look-ahead errors in your code, survivorship in your instrument list, or realistic slippage. Costs are one flat number you choose.
- It assumes dates are roughly independent. Overlapping trades and long regimes can make results look stronger than they are.
See the method on a real case
We ran it on our own bot first. Read the full write-up: the bot failed, a control group turned out to be our own bug, and a reader's critique made us correct the numbers in public.
Questions
Is this trading signals or financial advice?
No. It checks whether a test result is believable. It does not tell you what to trade, and it does not promise profit. Trading involves risk of loss.
Does my data leave my computer?
No. The validation script reads your CSV and prints a report. It imports no networking modules (a one-line check is included). The separate example bot is a different program and does use market data.
Do I need to know how to code?
The kit runs from a command line and needs Python installed. The guide walks non-programmers through each step.
What data does it use?
Your own list of trades (date and return). No market data is included.
Why not use a free library?
Libraries give you metrics and charts. BotGauntlet is about the process: criteria fixed before you look, a refusal to run if anything changed, and a report that says what it cannot tell you. If a library already does what you need, use it.
What does it cost, and when is it ready?
The kit is being finished. Founder price is 19 EUR for the first buyers (planned price 29 EUR), with a 30-day money-back promise. Joining the waitlist costs nothing, and you will be told before anything is charged.
Will it tell me my bot works?
Most likely it will tell you your idea does not work yet, and that is the point. A pass is not proof either: confirm on data collected after the lock before risking money.
Leave your email. You will be told before anything is charged. You can also tell us what you use today to check a backtest.