Describe the bug
I found the UserDataStream's keeplive function is missing in current websocket.py.
so after every one hour, binance WebSocket conn is invalid.
To Reproduce
Code snippet to reproduce the behavior:
see binance API docs:
https://github.com/binance-exchange/binance-official-api-docs/blob/master/user-data-stream.md#pingkeep-alive-a-listenkey
Expected behavior
add keepalive logic in websocket.py
Environment (please complete the following information):
- Python version: 3.6
- Virtual Env: native
- OS: Ubuntu 18.04
- python-binance version: 0.75
Describe the bug
I found the UserDataStream's keeplive function is missing in current websocket.py.
so after every one hour, binance WebSocket conn is invalid.
To Reproduce
Code snippet to reproduce the behavior:
see binance API docs:
https://github.com/binance-exchange/binance-official-api-docs/blob/master/user-data-stream.md#pingkeep-alive-a-listenkey
Expected behavior
add keepalive logic in websocket.py
Environment (please complete the following information):