Added
- Various logging features added to both HTTP and WebSocket classes.
Modified
- Extensive WebSocket class updates.
- Modified the WebSocketApp to send a heartbeat packet every 30 seconds,
with a timeout of 10 seconds. These settings can be modified using the
'ping_interval' and 'ping_timeout' arguments of the WebSocket
constructor.
- User no longer needs to manage the incoming stream; `pybit` does all the
work (insert, update, delete).
- Modified `ws.ping()` for ease of use; simply use the function to send
heartbeat packets. When something happens to the connection, Python will
raise an `Exception` which the end-user can catch and handle.
- Redundancy updates to the HTTP class.
- Modified the HTTP class to use an endpoint argument, allowing users to
take advantage of the USDT endpoints.