Open moranelli opened 3 years ago
@moranelli See https://github.com/verata-veritatis/pybit/pull/67#issuecomment-1000814774 for why I am weary of "auto increase like recv window" for websocket, and I personally don't like the auto increase in HTTP...
Why is it "very difficult to sync the timestamp"? I think you can just sync your computer's clock, which is done differently depending on the OS.
Hi, I am trying to subscribe to position or order and I don't get data because the auth failed. The problem is that the websocket not raise any exception. I debug the websocket and I can see the error:
If I change the "def _auth(self)" and increase the expires variable the websocket return data correctly. I thing that is a good idea implement the auto increase recv window like HTTP that work fine, because is very difficult to sync the timestamp. What do you think?