There are several api keys and secret keys.
(Let’s say it’s three.)
each of these
By calling POST /fapi/v1/listenKey
You got 3 listenKey s.
By connecting to wss://fstream.binance.com with a single websocket
Is there a way to enter the listenKey of those 3 accounts?
I want to subscribe multiple accounts to a stream with one socket.
i want
1 socket <==> N account
websocket.send({
"method": "LISTENKEY",
"params":
[
1 account listen key,
2 account listen key,
3 account listen key,
],
"id": 12 // request ID.
})
https://binance-docs.github.io/apidocs/futures/en/#get-futures-trade-download-link-by-id-user_data