A scalable real-time trading app that tracks:
- Stocks
- Gold and silver
- Crypto coins
- Forex pairs and currency conversion (USD, EUR, PKR)
- Backend: Node.js + Express
- Frontend: Vanilla JavaScript + Chart.js
- Data Source: Yahoo Finance public endpoints (open and free to access)
- Real-time market snapshot with auto-refresh every 30 seconds
- Prices shown in USD, EUR, and PKR
- Dedicated sections for stocks, metals, crypto, and forex
- Modern interactive line chart for selected asset
- Scalable API design with separate snapshot and history routes
GET /api/market/config- Market symbol configurationGET /api/market/snapshot- Current market prices with conversionGET /api/market/history/:symbol?range=1d&interval=5m- Historical trend data
npm install
npm startThen open http://localhost:3000.