A real-time stock trading and analysis platform built using modern technologies like TimescaleDB, Redis, WebSockets, and React. Inspired by professional platforms such as Binance, the application enables efficient trading, live order book management, and real-time charting with low-latency performance.
Developed by Group SQLite
👤 Diganta Mandal [22CS30062]
👤 Tuhin Mondal [22CS10087]
👤 Antik Sur [22CS10085]
- 📊 Real-Time Order Book: Displays live bid/ask levels with prices, volumes, and types.
- 📈 Candlestick & Volume Charts: Aggregated and rendered using TimescaleDB and TradingView charts.
- 💰 Buy/Sell Interface: Market, limit, and stop order placement with live status tracking.
- 📡 WebSockets for Live Updates: Real-time trades, price updates, and order book changes.
- 📉 Dashboard: Advanced UI with dynamic charts, trade feeds, and order management tools.
- REST API (Node + Express)
- Order Matching Engine
- Redis Queues and Pub/Sub
- WebSockets Server
- TimescaleDB for persistent storage
The system follows a two-tiered architecture inspired by memory hierarchies — combining Redis for fast, in-memory processing and TimescaleDB for durable, historical storage.
- Node.js + Express – API server
- Redis – In-memory store for pub/sub & queues
- TimescaleDB – Time-series DB built on PostgreSQL
- WebSockets – Live updates to clients
- Docker – Containerized deployment
- Next.js + React – Dynamic SSR and component rendering
- Tailwind CSS – Utility-first styling
- shadcn/UI – Beautiful UI components
- lightweight-charts – Financial chart rendering
- Hypertables for time-partitioned stock data
- Continuous Aggregation for candlesticks (1m/1h/1w)
- Fast, scalable time-windowed queries
- Historical data compression & analysis
- Live price updates
- Instant order book sync
- Streaming recent trades
- Real-time candlestick/volume chart updates
- ✅ Portfolio management module
- 📢 Real-time alerts (push/email/SMS)
- 🤖 ML-based anomaly detection and trend prediction
- 🧩 Distributed matching engine for large-scale deployment
- TimescaleDB Docs
- Redis Pub/Sub
- Binance API
- WebSocket API
- lightweight-charts
- Next.js Docs
- Docker Compose Docs
This project is for educational and demonstration purposes. Contact the authors for reuse or extension.



