I want to make a dynamic table like the following from TradingView:
What is the best endpoint for building something like that? I’ve considered so far using kline Web Socket Streams | Binance Open Platform But I’d like to know if there are better options. I’m also thinking in adding multiple EMA calculation (Exponential Moving Average).
An excellent choice. The WebSocket API allows for real-time data streaming which is essential for updating the table dynamically as market conditions change. This approach is efficient for handling updates to data like price changes, trades, and more without the need to constantly poll the server for updates.
Additionally, if you are looking to integrate Exponential Moving Averages (EMAs) and other trading indicators, you might consider integrating the TradingView charting library directly, as it provides built-in functions for numerous technical indicators, including EMAs. There’s a GitHub repository where someone has integrated TradingView charts with the Binance API, which could provide a useful reference point for your project.
You can find it here: Bigisoft/TradingView-Binance on GitHub.
Main Binance API documentation is another valuable resource for exploring different endpoints and learning how to authenticate and use the API effectively. You can access detailed documentation on their official developer site.
Thank you for your reply, I’ll definitively take a look at:
So far, the best option for my question, is by using klines.
Only time will will tell if it is the best option.