Open XhrCkYsSgZokJL opened 2 years ago
I've been trying to unsubscribe from certain topics and would prefer to avoid resetting the handler which has existing position and execution callbacks running.
position
execution
# message unsubscribe = sjson.dumps({ "op": "unsubscribe", "args":["orderBookL2_25.BTCUSDT"] }) # unsubscribe self.client_bybit_ws.ws_private.ws.send(unsubscribe) self.client_bybit_ws.ws_private._pop_callback("orderBookL2_25.BTCUSDT")
Is there a suggested method to accomplish unsubs?
There's no supported way to do it right now but it's on my todo list.
@dextertd feel free to assign me, I rely on pybit in production and need this library with some enhancements
I've been trying to unsubscribe from certain topics and would prefer to avoid resetting the handler which has existing
position
andexecution
callbacks running.Is there a suggested method to accomplish unsubs?