Machine learning · 2023 · Live
Track the top 100 coins and predict where they go next.
Live market data for the top 100 cryptocurrencies, plus a prediction page: pick a coin and a random forest model reads ten technical indicators (moving averages, RSI, MACD, Bollinger Bands) and calls whether the price goes up or down, with the charts to back it up.
- Team
- 2 builders
- When
- Aug - Sep 2023
- Model
- Random forest
- Status
- Live
My roleI built the React frontend (market table, coin details, prediction page) and deployed it on my VPS. The model and API were Isaac's.
Project Overview
What it does
CoinPulse tracks the top 100 cryptocurrencies live from the CoinGecko API: price, market cap, volume, and 24-hour change in one searchable table. Click any coin for its rank, all-time high, supply, and recent performance.
The Predict page is the fun part. Pick a coin and the model tells you whether it expects the price to go up or down, along with every number it used to decide.
The model
A random forest classifier (100 trees, scikit-learn) trained on about 135,000 rows of historical data. It looks at ten features: price, market cap, volume, 1-day and 7-day moving averages, RSI, MACD and its signal line, and the upper and lower Bollinger Bands.
The indicators are computed with the ta library, and the API sends back the prediction along with every feature value, so the frontend can show its work.
How a Prediction Works
Fetch
Pick a coin and the app pulls its last 7 days of prices and candles from CoinGecko.
Compute
The ta library computes the indicators: 1-day and 7-day moving averages, RSI, MACD with its signal line, and Bollinger Bands.
Predict
The FastAPI backend feeds the ten features to the random forest, which calls the next move: Increase or Decrease.
Show
The frontend shows the call, a table of every feature value, a line chart with the averages and bands, and a candlestick chart.
Tech Stack
FrontendReact + Tailwind
shadcn/ui · Chart.js · lightweight-chartsThe searchable market table, coin detail pop-ups, and the prediction page with its feature table, line chart, and a candlestick chart built on TradingView's lightweight-charts.
APIFastAPI
gunicorn · uvicornTakes a coin, runs the model, and returns the prediction with every feature value it used.
Modelscikit-learn random forest
100 trees · 10 features · taA RandomForestClassifier trained on about 135K rows of historical data, with the indicators computed by the ta library.
DataCoinGecko API
Top 100 coinsLive prices, market caps, volumes, coin details, and the 7-day price and candle history behind the charts.
DeployDocker + Caddy
GitHub Actions · VPSRuns in Docker on my own VPS behind Caddy, with a GitHub Actions workflow for deploys. It started out on Heroku.
- React
- Tailwind CSS
- Chart.js
- lightweight-charts
- Python
- FastAPI
- scikit-learn
- ta
- CoinGecko API
- Docker
- Caddy
- GitHub Actions
Built with Isaac SassonAug - Sep 2023
Project Gallery
Screenshots from the live site, November 2026.
