r/coolgithubprojects • • 15d ago

I open-sourced 2,742 crypto trading bots that failed my tests, with a report card for each.

https://github.com/CacheCarti/Crypto-Strategies

Each bot went through a tough 7 stage validation process on 6 months of crypto data. The repo has the full Python code and a JSON report card showing the exact test that killed it.

Everyone posts backtests that worked so I'm posting my 2742 bots that didn't. The point is not to throw stuff on the wall and see what sticks, the main aim is to actually improve the validation process! Please use this resource to figure out how easily you can get fooled by high-return bots or overfit backtests.

I built this with help from Reddit algotrading communities and invited them to break this system, it’s still in progress and you can see it in the commit history:

  • The best bot in the batch made 30% in 6 months, so go invest your... NOOOO!! If you learn anything from this repo, it's that the good-returns bots are the ones most likelt to liquidate you!
  • Oct: 416 bots, 10 "survivors". The comments told me my testing was very soft. I made it stricter and re-ran everything: 0 of 416 passed, including all 10 previous survivors :)
  • Nov 2: 332 more bots. Someone asked if my tests would pass pure noise. I didn't know, so I added a placebo 500 random coin-flip bots through them.
  • People asked for the validation code itself so they didn't have to take your word for the results. It is also open-sourced now. Go judge my judge please.
  • Nov 10: Big drop of 1,994 more. 6 of 2,000 passed (0.3%). People found issues again, will fix them in the next drop!

If you think a test is missing, open an issue or tell me. Every suggestion so far has killed more of my bots and that's my process now!

2 Upvotes

3 comments sorted by

1

u/Maleficent-Success-6 14d ago

Have you tried running the same validation pipeline on synthetic price series that preserve volatility clustering but remove predictable returns? Random coin-flip bots are a good control, but synthetic markets could help show whether the pipeline is detecting a real edge or just particular features of your historical sample.

1

u/drykilo 14d ago

Damn, great point that would test the other side of it. Right now the placebo gate  runs 500 random coinflip bots on real data and a strategy has to beat the 90th percentile, so we know the edge isn't noise. So what youre saying is flip it: real strategies on fake data (same volatility, no real pattern) to check the pipeline doesn't invent edges that aren't there. Nice and that's not built yet, the closest thing is the battery splits 6+ years into regimes so luck in one period usually dies in another. But your idea's cleaner, I'll probably add it. If you have a preferred way to generate the synthetic data, please send it and I'll run it on the corpus! Thank you!

2

u/Maleficent-Success-6 14d ago

I'd start with sign-flipped log returns: keep each return's magnitude and timestamp, randomize its sign independently, then rebuild prices. That preserves volatility clustering while removing directional predictability.

Run 500 synthetic paths through the unchanged pipeline and see how often any strategy passes every gate. If you're using intrabar OHLC, make sure the synthetic candles are consistent too.