A simple real-time stock price tracker built with Go, using WebSockets for live data updates and Goroutines for concurrent stock fetching. The app integrates with the Finnhub API to retrieve stock prices and broadcasts updates to all connected WebSocket clients.
- β Real-time stock updates using WebSockets
- β Concurrent fetching of multiple stock prices
- β Broadcast updates to all connected clients
- β Clean code structure with separation of concerns
- β
Secure API key management via
.envfile
- Golang (
net/http,gorilla/websocket) - Finnhub API for stock price data
- Goroutines & Channels for concurrency
- .env management with
joho/godotenv