Key takeaways
- A crypto trading bot (mean-reversion strategy on BTC and ETH) showed +3.2% in simulation over 90 days, then -2.1% in a live pilot over 30 days, staked at 10% of the simulated size.
- Execution fees alone account for nearly 4 points of the gap, because the simulation did not model them.
- The same mechanism skews most ROI estimates for business automation: the demo ignores exceptions, manual rework and maintenance.
- The remedy tested on this project: a scaled-down pilot, a circuit breaker, and publishing the results, including the bad ones.
The problem: a flattering simulation is not a result
This is a personal project, not a client engagement. The starting hypothesis is simple: short-term crypto pairs often overshoot their equilibrium level, and when two indicators flag an excess at the same time, a return to the mean is more likely than a continuation. The bot tests that hypothesis on Bitcoin and Ethereum, in live conditions rather than on a chart.
It was built with the safeguards you expect from a tool that touches money: double-confirmation entry, a capped position size, automatic exits, a live results curve and a circuit breaker. It ran in simulation first, then as a scaled-down live pilot. Both results are published on the projects page of this site.
Here the case works as a laboratory: an automated system, a number promised by the simulation, a number measured in reality, and a gap to explain. It is exactly the situation of a small business that automates a process after a convincing demo.
What happened between simulation and reality?
The 90-day simulation showed +3.2%. The live pilot, over 30 days at 10% of the simulated size, finished at -2.1%, with a 46% win rate over 214 trades. The two periods are not identical and the pilot is deliberately small, so the 5.3-point gap is not a perfect measurement, but it is far from noise.
The explanation is documented: the simulation ignored fees and execution slippage (the gap between the price you expect and the price you get). Fees alone explain nearly 4 points. When a strategy's theoretical margin is a few points, a few points of friction are enough to flip it.
This is not specific to this bot. A TradersPost guide, from an automated-strategy execution platform, gives a textbook example: a strategy earning $0.08 per share on average turns unprofitable if entries and exits each come in $0.03 worse than planned. Another piece, published on Substack by Algorithmic Token, points out that backtests run on closing prices assume zero slippage. These are practitioner sources, not academic studies: they describe a mechanism, not a quantified law.
The corrected version of the bot, which now includes these costs, still runs in simulation until proven otherwise. That is the sentence that matters: a model has proven nothing until reality has confirmed it.
What does this change for a small business?
An automation ROI estimate is a simulation. It starts from a demo, often a successful one, and derives an annual gain: "this task takes 30 minutes, the tool does it in 2, multiplied by volume". That calculation ignores what reality always adds. The table below sets the bot's frictions against their business equivalents.
| What the simulation ignores | In the bot | In a small business | How to measure it |
|---|---|---|---|
| Transaction costs | Execution fees, nearly 4 points | API subscriptions, AI tokens, licences | Read the real invoice of the first month |
| Execution slippage | Gap between expected and obtained price | Exceptions, unplanned cases, badly entered data | Count the files reworked by hand |
| Out-of-sample behaviour | 46% win rate over 214 trades | Cases from the whole year, not just the demo | Test on the files of the worst month |
| Supervision | Circuit breaker, live curve | Alert, error log, manual fallback | Check that a human knows when the tool is down |
The practical consequence is one rule: never approve an automation investment on the demo alone. Ask for a scaled-down pilot, on real files, with a duration and a success criterion fixed in advance. The profitability calculation for an n8n automation covers the arithmetic; this case adds the test of reality.
What the project forced: pilot, circuit breaker, transparency
Three design decisions carry over directly. The first is pilot size: 10% of the simulated size, enough to feel the friction, too little for a mistake to be costly. In a company, that means one team, one customer or one family of files, not the whole organisation.
The second is the circuit breaker. The bot stops when it leaves its bounds. A business automation needs its equivalent: an error threshold beyond which files fall back into the manual queue, with an alert to a named person. A tool that fails silently costs more than no tool.
The third is publication. The negative result sits on the projects page next to the positive one. For a business owner, the equivalent is a pilot report that says what did not work; a supplier who only shows you the simulation is selling you the simulation.
When should you not build this custom?
Custom is not always justified. If your process only runs a few times a month, the time saved will not pay for the build, even without friction. If an off-the-shelf tool already does 90% of the job, tune it instead of rebuilding. And if the stake is making financial decisions for you, no bot should be in charge without supervision: this project is a personal experiment, not investment advice, and the projects page says so by publishing its losses.
A simple test at your company: take the last automation you were promised a gain from, and ask which real file broke it last time. If nobody can answer, nobody measured it. To look at it together, book a 30-minute call, and see the n8n automation page for how I work.
Frequently asked questions
Why does a simulated result differ from the real one?
Because a simulation simplifies the world: it often assumes zero costs, perfect executions and clean data. In Mathieu Haye's bot, fees and execution slippage, absent from the simulation, alone explain nearly 4 points of the gap between +3.2% simulated and -2.1% measured.
How do you validate an automation's ROI before rolling it out?
With a scaled-down pilot on real files, with a duration and a success criterion fixed in advance. Measure the actual invoice, the number of files reworked by hand and the supervision time, then compare against the original estimate.
Should you publish failures when delivering an automated tool?
Yes, at least to your client: a report that also shows what lost makes the announced gains credible. On this site the trading bot is shown with its losses, and the corrected version stays in simulation until reality confirms it.