This platform visualizes various metrics of the digital asset BTC-USDT from Binance. The metrics are calculated and updated every second, providing a live view of the digital asset market.
The primary language for this project is JavaScript. Although Go or Python was initially preferred, JavaScript was chosen because of its ability to handle real-time data for web applications effectively.
The data is sourced live from Binance's WebSocket API. The specific endpoint is the Kline/Candlestick data for the BTC-USDT trading pair.
The platform calculates and displays the following metrics:
- 24-hour trading volume
- 24-hour price change (in %)
- 24-hour price volatility
- Market capitalization
The primary visualization is a live price chart of BTC-USDT. This chart updates every second and displays the price history for the last 24 hours.
The platform is hosted and can be accessed at https://lulu643.github.io/live-price-website.
The uptime of the website is tracked using UptimeRobot. You can view the uptime statistics at https://uptimerobot.com/dashboard#794510797.