Python crypto trading bot fails 3-year BTC and ETH backtest, underperforming random entries
A developer backtested a Python crypto trading bot using EMA crossovers, RSI, and 24-hour momentum signals on three years of hourly BTC and ETH data from the Binance API. Including a 1.56% round-trip exchange fee, the strategy performed worse than a random baseline that entered trades every four hours. A tight 1% stop loss triggered most ETH trades before the 5% take-profit could be reached, so the author switched to a momentum-based exit, which performed even worse as frequent early exits left fees unrecovered. The author concluded that the 1-hour timeframe is too noisy for this approach and plans a next version that uses an AI-based filter before executing trades. The project is educational and runs in paper-trading mode, with no real money at risk.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in