The problem
Most crypto “predictors” are a notebook and a chart. I wanted to build the whole product: a model, an API other apps can call, and a dashboard anyone can open, all able to keep running when something fails.
The data
Bitcoin market data from 2015 to 2025, pulled from Kraken (price data) and CoinGecko (market cap), plus engineered features such as circulating supply, velocity and EMAs.
The approach
- Trained and tuned XGBoost, LightGBM and CatBoost, tracking experiments in Weights & Biases.
- Used LIME so each prediction comes with an explanation.
- Served the pipeline through a FastAPI service with health checks and a fallback in case model loading fails.
- Built a Streamlit dashboard with live prices, multi-timeframe charts and theme options, and packaged everything in Docker.
The result
79.6% R² on next-day high prediction, deployed and publicly usable. Honest caveat: crypto is noisy, so the value is in the engineering more than in trading on the numbers.
What I’d do next
Add on-chain and sentiment features, and run the model as a scheduled job that records its own accuracy over time.