LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
684 stars 165 forks source link

Question about specific Line code - Error 1006 #181

Closed TKR-US closed 3 years ago

TKR-US commented 3 years ago

Hello,

After a discussion with @Zakariaair, i've a question about this line : https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/e4146d4c352bd0b8a9c1cb18d960de89235e943b/unicorn_binance_websocket_api/unicorn_binance_websocket_api_socket.py#L181

Is this supposed to correct a PONG problem that sometimes happens (a bug encountered on another library), or has this been implemented to handle reconnection after 24 hours?

Regards

oliver-zehentleitner commented 3 years ago

What is 1006: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/113

TKR-US commented 3 years ago

Thanks for this reply and this thread, it's clear now for me.