The resource loading... loading...

Request for help: websocket seems to be disconnecting and missing key order transaction information, what should I do?

Author: [Translated from Chinese], Created: 2021-12-20 16:43:17, Updated:

img img imgEach time the while loop is looped without Sleep, the order transaction information is retrieved. Then sometimes the data is not available, and the print logs sometimes print out empty strings, which seem to be disconnected. How do you keep track of all the orders and transactions? I extend the listenkey every 20 minutes. It's been a couple of days, and it's always been a leak.


More

Inventors quantify - small dreamsIt is possible that the exchange's server itself leaked the data.

[Translated from Chinese]Ah, although I think it's possible. How can you tell if a price limit is in place?