node-binance-api icon indicating copy to clipboard operation
node-binance-api copied to clipboard

How to terminate userFutureData?

Open deoryz opened this issue 4 years ago • 1 comments
trafficstars

I have problem to terminate userFutureData? is any method to terminate userFutureData?

deoryz avatar Jul 29 '21 09:07 deoryz

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.

matthewpalmer avatar Feb 04 '22 01:02 matthewpalmer