Pybit

Latest version: v5.7.0

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 13

2.4.0rc1

Fixed
- USDC API's timestamp parameter

2.4.0rc0

Modified
- The way in which the WebSocket handles errors, improving general usage and debugging (tracebacks) as well as clearly defining under which errors should the WebSocket attempt reconnection.

Fixed
- USDC API's timestamp parameter to avoid the occasional ret_msg: error sign!

2.3.1

Modified
- The `ping_interval` to 20 seconds to ensure WebSocket connection stability

2.3.0

Added
- `HTTP` methods for the spot API's [Leveraged Token](https://bybit-exchange.github.io/docs/spot/#t-ltinfos) and [Cross Margin](https://bybit-exchange.github.io/docs/spot/#t-crossmargintrading) endpoints
- `agentSource` parameter when sending requests to place spot orders, which uses the `referral_id` argument, so that affiliates can track orders

2.2.3

- There was a packaging problem with the previous version. There are no changes compared with 2.2.2.

2.2.2

- See below release candidates for further changes. TLDR: Improved WebSocket stability and reconnection logic.

Added
- `retries` argument so that users specify how many times the WebSocket tries to reconnect upon disconnection
- The default is `10`. To retry forever, set it to `0`. pybit will wait 1 second between each retry.

Modified
- Improved the logging around WebSocket disconnection

Page 4 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.