0xshandy

Results 6 comments of 0xshandy

def sub_user_data(self): self.user_data( listen_key=self.listen_key, id=1, callback=self._user_data_handler, ) def _user_data_handler(self, msg): logging.info(msg) if msg.get('e') != 'executionReport': return if msg['X'] == 'FILLED': side = msg['S'] ...

> I debugged my code and let it run for quite a while. I am sure its not blocking any threads now and still the websocket stops sending messages and...

> Hi! Thanks for you comment! Well I am querying the binance spot account every minute (which needs auth) meanwhile the websocket runs.....and after a while it stops sending messages....

> > > I debugged my code and let it run for quite a while. I am sure its not blocking any threads now and still the websocket stops sending...