We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This can be tested on your demo console application:
Test console application using following commands:
live aggtrades btcusdt live aggtrades btcusdt off
console output (after off):
info: Binance.WebSocket.DefaultWebSocketClient[0] DefaultWebSocketClient.OnClose: Web Socket CLOSED. info: Binance.WebSocket.BinanceWebSocketStream[0] WebSocketStream.StreamActionAsync: End streaming... "wss://stream.binance.com:9443/ws/btcusdt@aggTrade"
Make the following changes to LiveAggregateTrades:
Change the line:
Program.ClientManager.AggregateTradeClient.Unsubscribe(symbol);
to
Program.ClientManager.AggregateTradeClient.Unsubscribe();
run the program with the same commands: live aggtrades btcusdt live aggtrades btcusdt off
console output (after off): ...live aggregate trades feed DISABLED for symbol: btcusdt
...live aggregate trades feed DISABLED for symbol: btcusdt
there is no log indicating that the web socket is closed and the websocket IsOpen and IsStreaming properties return true.
The text was updated successfully, but these errors were encountered:
@rakewell, thanks, I see the issue and have a fix.
Sorry, something went wrong.
Fix publisher Unsubscribe() not triggering automatic stream control
579de91
For #76.
thanks @sonvister, works great now.
sonvister
No branches or pull requests
This can be tested on your demo console application:
Test console application using following commands:
live aggtrades btcusdt
live aggtrades btcusdt off
console output (after off):
Make the following changes to LiveAggregateTrades:
Change the line:
Program.ClientManager.AggregateTradeClient.Unsubscribe(symbol);
to
Program.ClientManager.AggregateTradeClient.Unsubscribe();
run the program with the same commands:
live aggtrades btcusdt
live aggtrades btcusdt off
console output (after off):
...live aggregate trades feed DISABLED for symbol: btcusdt
there is no log indicating that the web socket is closed and the websocket IsOpen and IsStreaming properties return true.
The text was updated successfully, but these errors were encountered: