💹 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

📂 View Project on GitHub