binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831
stars
628
forks
source link
Binance aggTrade for multiple streams is not working #376
I have an issue with the binance aggTrade api for future data. As per the api doc, when I create a streaming link and open a websocket with it, no data comes back.
Hi,
I have an issue with the binance aggTrade api for future data. As per the api doc, when I create a streaming link and open a websocket with it, no data comes back.
streamingUrl -
wss://fstream.binance.com/ws/stream?streams=btcusdt@aggTrade/ethusdt@aggTrade/bnbusdt@aggTrade
However, the link for single future contract works like a charm.
streamingUrl -
wss://fstream.binance.com/ws/btcusdt@aggTrade
API Doc - https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
Code establishing websocket connection -
Can someone help me resolve this issue please?