My crypto mean reversion bot does 2.1% per month — code and logic shared
Built a mean reversion bot on ETH/BTC and SOL/BTC pairs. Running for 8 months on Binance.
Logic
The ratio between two cryptos tends to revert to its mean. When the 20-day z-score exceeds +2 or -2, I take the opposite position.
Results (8 months, $20K)
- Total return: +18.4% ($3,680)
- Sharpe: 1.2
- Max drawdown: -6.8%
- Win rate: 63%
- Number of trades: 142
Stack: Python, ccxt, PostgreSQL, Grafana for monitoring. Code is on my GitHub (link in comments).