I read 1,904 trading bot issues. Here's how bots actually die.
Not how they're supposed to fail. How they actually do.
I run 12 trading bots across 7 brokers, self-hosted on a VPS. Over the past year I've lost more sleep to bots that stopped working quietly than to any strategy drawdown. So I went looking for data: is this just me, or is silent failure the default failure mode for everyone running their own bots?
Here's what I found, and how I found it.
The method, up front
I scanned the public issue trackers of the open-source trading bot projects people actually self-host, keyword-filtering for operational failure language — not strategy, not backtest accuracy, not "my returns are bad." Specifically: descriptions of a bot running unattended and not doing what its operator believed it was doing.
The corpus, as of 18 July 2026: 1,904 issues from 11 GitHub repositories, with issue creation dates spanning February 2015 to July 2026.
Per-source breakdown, so you can check my work:
| Repository | Issues |
|---|---|
| freqtrade | 751 |
| hummingbot | 395 |
| ccxt | 353 |
| nautilus_trader | 187 |
| QuantConnect/Lean | 117 |
| OctoBot | 40 |
| Superalgos | 32 |
| jesse | 11 |
| alpaca-py | 10 |
| alpaca-trade-api-python | 8 |
One thing worth saying plainly, since methodology posts that only report their successes aren't worth much: an earlier version of this scan included Hacker News as a source. The query was broken — it was pulling front-page posts with no connection to trading at all — so I discarded those rows entirely rather than try to salvage them. Everything below is GitHub only, which is also the only source here with consistent open/closed semantics, so the numbers in Finding 3 mean the same thing for every row.
Four honest caveats. First, this is issue-tracker data, which skews toward problems severe or reproducible enough that someone bothered to file a report — the true rate of silent failure is almost certainly higher than what shows up here, because the failures nobody noticed never got filed. Second, this is the crypto/open-source end of the world, since that's where the public repos are; my own fleet is mostly equities, and the vocabulary is identical on that side, but I'm reporting what I can show, not what I assume. Third, the date range is real but uneven — the older and larger repositories carry most of the history. Fourth, and worth stating plainly because it limits everything below: these keywords are also the terms the scanner searched for. "restart appears in 26.5% of issues" means 26.5% of the issues I retrieved matched on a term I was already looking for. The distribution reflects my query design as much as it reflects underlying reality. What it shows is that these failures are common enough to fill a corpus — not that they represent 26.5% of all trading bot problems.
One more thing about the shape of this data: it skews heavily crypto. Roughly two thirds of the issues touch ccxt, and Binance shows up in 39%. Alpaca appears in 1.5% and Interactive Brokers in 3.7% — which is striking, since my own fleet is weighted toward exactly those equity brokers. Either this corpus underrepresents equity-broker operators, or those operators talk about their problems somewhere other than GitHub. I don't know which, and I'd rather say so than pretend the sample is broader than it is.
Finding 1: The vocabulary of failure is remarkably consistent
The single most striking thing in the data isn't any individual issue. It's that thousands of people, across eleven different projects, on different exchanges, independently reach for the same handful of words.
Ranked by how many of the 1,904 issues contain each term:
| Term | Share of issues |
|---|---|
| restart | 26.5% |
| monitor / monitoring | ~20% |
| stuck | 14.2% |
| heartbeat | 14.2% |
| silent | 9.0% |
| froze | 7.9% |
| "no trades" | 5.3% |
| watchdog | 0.9% |
Look at the top of that list. restart, monitor, stuck, heartbeat. Those aren't strategy words. Nobody writing those is asking whether their moving average crossover is well-parameterized. They're asking whether the thing is on.
And look at the shape of the language itself: stuck, froze, silent, no trades. That's not the vocabulary of a crash. A crash is loud — you get a stack trace, an exit code, a process that's visibly gone. This is the vocabulary of something that looks alive and isn't.
Finding 2: Bots mostly don't crash. They go quiet.
The failures that dominate this corpus share a structure. The process is still running. The logs look unremarkable. The dashboard, if there is one, is green. And the bot has stopped doing its job.
The recurring mechanisms:
The websocket drops and never reconnects. The connection dies, the reconnect logic doesn't fire or fails silently, and the bot sits in its main loop forever waiting for data that will never arrive. It is, from the outside, perfectly healthy.
The event loop hangs. A blocking call, a deadlock, an unhandled await. The process exists, consumes memory, and does nothing.
Stale data drives live decisions. The bot is running, the feed is behind, and it's making trades — or declining to — based on a picture of the market that's minutes or hours old. This one is worse than stopping, because it's actively wrong rather than passively idle.
The host fails underneath it. Out-of-memory kills, VPS reboots, disk pressure, a systemd unit that didn't come back after a restart. These are people discovering that the infrastructure layer failed and took the bot with it.
State desynchronizes after a restart. Positions, stop-losses, or order history don't survive the restart cleanly. The bot resumes believing something false about its own exposure.
Some real examples, linked so you can read them yourself rather than take my word for it:
- freqtrade #3016 — Freqtrade causing my VPS to crash (38 replies)
- freqtrade #746 — Missed or badly triggered BUY and SELL; significant difference between backtest and LIVE (39 replies)
- freqtrade #11725 — Bot missing signals due to outdated history (36 replies)
- alpaca-trade-api #407 —
run_forever()'s restart condition never met - ccxt #22274 — Silent crash in console app
- hummingbot #7845 — Stuck on error when running Multi-Grid controller
- OctoBot #3190 — After restarting, the SL and TP order history disappeared
- Superalgos #1302 — Network outage: ensure decisions use up-to-date data
Read a few of those threads and a pattern emerges in the replies as much as the reports. Someone describes a bot that stopped. The first several responses are variations of how long was it down before you noticed? — and the answer is usually hours.
Finding 3: The gap isn't attention. It's noticing.
This is the number that reframed the whole exercise for me.
Of the 1,904 issues in the corpus, 1,788 — 93.9% — are closed. Only 116 remain open.
One qualification, because it matters: closed is not the same as fixed. GitHub issues close for all sorts of reasons — genuinely resolved, duplicate, stale-bot, won't-fix, reporter never replied. I'm not claiming 94% of these got patched. The narrower claim is the one that counts: almost all of this got attended to. Somebody looked at it, triaged it, and it left the queue.
And the closure rate is remarkably uniform. Broken out by problem class, every category closes somewhere between 88% and 100%, clustered tightly around that 93.9% baseline — heartbeat issues close at 98.5%, bot crashed at 100%. The lowest are watchdog at 88.2% and silent at 88.4%, both a few points under average on small samples. There is no category of failure here that the ecosystem is systematically failing to deal with.
So the bottleneck was never engineering attention. These are healthy projects with responsive maintainers, and the overwhelming majority of reported failures did not sit there ignored.
The bottleneck is the interval between the bot stopped working and the operator found out. Nothing in that 93.9% touches that gap, because every bit of it happened after the fact — after someone noticed, wrote it up, and filed it. A fix shipped three days later does nothing for the eight hours you spent unaware. The response arrives afterward. The cost is incurred during the silence.
That's the actual problem in this data. Not "trading bots are unreliable" — they're about as reliable as any other software people run unattended, and the ecosystem around them is responsive. The problem is that a bot failing is uniquely quiet, and uniquely expensive per minute of quiet, and almost nobody has anything watching from the outside.
Finding 4: Everyone builds the same watchdog, alone — and it checks the wrong thing
Monitoring language runs all through this corpus. Some form of monitor or monitoring appears in roughly a fifth of all issues; heartbeat in 14.2%. Those aren't people reporting bugs in a monitoring product. They're people building their own.
The homegrown answers are remarkably consistent: a cron job that greps a log file, a systemd unit with a restart policy, a Telegram bot that fires on an unhandled exception, an HTTP healthcheck endpoint, a script that checks whether the process ID still exists.
Each catches part of the problem. Almost none catch the case that matters most — the process is alive, the healthcheck returns 200, and no order has gone out in six hours. A liveness check cannot detect a bot that is running and idle, because from the operating system's point of view nothing is wrong. The process is there. It's using memory. It's doing nothing, and nothing about that is visible from the outside.
The check that would actually catch these failures asks a different question: not does this process exist, but is this bot still doing the thing it exists to do, and if not, how long has that been true? That's harder to build, which is presumably why watchdog shows up in under 1% of issues while the failures a watchdog would catch show up in dozens of times that.
What I'd take away from this
If you run a bot unattended, three questions are worth answering honestly:
- If your bot stopped taking trades right now, how would you find out? Not "would you eventually" — through what mechanism, and how long would it take?
- Does your monitoring check that the process exists, or that it's working? These are very different, and only the second one catches the failures in this corpus.
- What's an hour of silence actually cost you? Whatever that number is, it's the budget for solving this — and for most people it's larger than they'd guess.
I don't think any of this is a revelation to people who've been running bots for a while. What surprised me was how uniform it is. The same five failure shapes, the same handful of words, across eleven projects and thousands of operators, for years.
The full keyword frequency table and the per-source breakdown are above; the linked issues are all public. Happy to share the aggregate breakdown with anyone who wants to check it. If you want to dig into the raw data or think I've read it wrong, I'd genuinely like to hear it — my read is one operator's, and I'm more interested in being right than in being first.