Real Time Crypto Dashboard
πΉ Real-Time Crypto Dashboard
Live Bitcoin & Ethereum tracking with predictions
βWatch crypto markets move in real time β and see tomorrowβs trend today.β
π Demo Video:
π One-Line Summary
A live dashboard that tracks Bitcoin (BTC) and Ethereum (ETH) prices in real time, predicts short-term trends, and displays everything visually.
Built entirely with open-source tools on AWS.
1οΈβ£ How It Works
Data Flow:
Live Prices β Kafka (data streaming) β PostgreSQL (storage) β Grafana (dashboard)
1. Live Price Collection
- Uses the CryptoCompare API to fetch BTC and ETH prices
- Updates every 5 seconds
- Includes both current market prices and short-term history
2. Real-Time Streaming
- Apache Kafka moves live data instantly from the producer (data collector) to the consumer (data inserter)
- Ensures zero delays between data collection and dashboard updates
3. Database Storage
- PostgreSQL stores:
- Current prices
- Predicted prices (using a Simple Moving Average)
- Keeps historical records for trend analysis
4. AI-Style Predictions
- A Simple Moving Average (SMA) model predicts prices 5 minutes ahead
- Predictions are stored alongside actual prices for comparison
5. Visual Dashboard
- Grafana shows:
- Real-time price charts
- Overlay of predicted vs. actual prices
- 24-hour high/low values
- 24-hour % change bar charts
π Technologies Used
| Step | Technology |
|---|---|
| Data Source | CryptoCompare API |
| Streaming | Apache Kafka |
| Storage | PostgreSQL |
| Prediction | Python (SMA) |
| Visualization | Grafana |
| Environment | AWS EC2 (Ubuntu 22.04) |
π‘ Key Benefits
- Watch BTC & ETH prices update instantly
- Compare AI-predicted vs. actual prices in real time
- Access from anywhere via AWS-hosted Grafana
- Fully open-source β no paid tools required
π GitHub Repository
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
