ML Ensemble BTC Up/Down 5-Minute Bot
ML ensemble bot using LGBM, XGBoost, and LSTM models to predict BTC price direction every 5 minutes on Polymarket.
This bot combines three machine learning models — LightGBM, XGBoost, and a Long Short-Term Memory (LSTM) network — to predict whether Bitcoin will go up or down in the next 5 minutes. The models are trained on historical price data and technical indicators. Each model outputs a probability, and the ensemble combines them via a weighted vote or stacking. When the ensemble's confidence exceeds a threshold above the current market implied probability, the bot places a bet on the corresponding outcome (YES for up, NO for down). The bot is auto-trained via GitHub Actions on a schedule, ensuring the models stay current. A live dashboard on GitHub Pages displays performance metrics such as accuracy, P&L, and trade history. The repository includes code for data collection, feature engineering, model training, and live trading integration with Polymarket APIs.