A full-stack real-time stock trading simulation platform that allows users to trade stocks using virtual money with live market data, portfolio tracking, and advanced analytics.
Built with a production-grade architecture covering API integration, background jobs, real-time updates, and trading logic.
- User Registration & Authentication
- Virtual starting balance: ₹10,00,000
- Buy/Sell stocks
- Market Orders
- Limit Orders (planned / optional)
- Order validation & execution logic
- Live portfolio valuation
- Profit & Loss (P&L) tracking
- % gain/loss calculation
- Transaction history
- Order book tracking
- Add/remove stocks
- Track favorite stocks
- Top traders based on portfolio value
- Line charts (Chart.js)
- Candlestick charts (planned)
- Live stock prices using yfinance
- Background updates every 30–60 seconds
- Price alerts for watchlist stocks
- Responsive design
- Dark mode support
- Django 5.x
- PostgreSQL
- Django ORM (optimized queries)
- Celery (background tasks)
- Redis (broker + caching)
- Django Channels (optional WebSockets)
- yfinance (NSE + BSE + US stocks)
- Tailwind CSS
- HTMX (for dynamic UI)
- Chart.js (for graphs)