node-binance-api
node-binance-api copied to clipboard
How to terminate userFutureData?
trafficstars
I have problem to terminate userFutureData? is any method to terminate userFutureData?
When you create the websocket streams with client.websockets.userFutureData and client.websockets.userData, the callback subscribed_callback (last parameter) is passed an endpoint. Pass this endpoint to client.futuresTerminate or client.websockets.terminate to terminate.