You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on implementing ticker subscriptions using the WebsocketStream client. My goal is to subscribe to two tickers and later stop the subscription for one of them. Here’s what I’m doing:
After subscribing to both tickers, I want to unsubscribe from one of them. I see that the WebsocketStream client provides an unsubscribe method, but I am unsure how to retrieve the required stream parameter for a specific ticker.
Could you clarify how I can properly obtain the stream value needed for the unsubscribe method?
Additional Context:
Using the WebsocketStream client from @binance/connector-typescript.
Subscriptions are being set up successfully, but the issue arises when attempting to manage them individually.
Thank you for your help!
The text was updated successfully, but these errors were encountered:
I am working on implementing ticker subscriptions using the WebsocketStream client. My goal is to subscribe to two tickers and later stop the subscription for one of them. Here’s what I’m doing:
After subscribing to both tickers, I want to unsubscribe from one of them. I see that the WebsocketStream client provides an unsubscribe method, but I am unsure how to retrieve the required stream parameter for a specific ticker.
Could you clarify how I can properly obtain the stream value needed for the unsubscribe method?
Additional Context:
Using the WebsocketStream client from @binance/connector-typescript.
Subscriptions are being set up successfully, but the issue arises when attempting to manage them individually.
Thank you for your help!
The text was updated successfully, but these errors were encountered: