Pybit

Latest version: v5.7.0

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

Scan your dependencies

Page 3 of 13

3.0.0rc2

Fixed
- Failure to pass request parameters in certain methods

3.0.0rc1

Fixed
- Wrong endpoint paths in `spot`

Modified
- Refactored WebSocket's `test` arg to `testnet`
- Hardcoded WebSocket arguments into the child class the user accesses – meaning the user can easily see them, and IDEs should autocomplete them
- (For v3 WebSockets only: `contract`, `unified_margin`, `spot`)

3.0.0rc0

This version upgrades pybit to Bybit's version 3 (v3) APIs. Some old API modules are maintained due to lack of or only partial support in v3. Method names have been improved and conform to an intuitive standard.

Future modules will be removed as Bybit's APIs are further unified so that they may be accessible from just one or two modules which should generally be divided by account type (eg, unified margin) rather than by market type (eg USDT perpetual).

This is a pre-release, as indicated by the `rc` (release candidate) in the version number. Future versions may have breaking changes. An imminent major version of the Bybit API will introduce major changes before these v3 APIs make it to the production version.

Added
- Bybit's main v3 HTTP and WebSocket APIs:
- `contract` – inverse perpetuals, inverse futures, USDT perpetuals, and USDC options
- `unified_margin` – USDT perpetuals and USDC options

Modified
- `spot` to use v3 HTTP API and WebSocket APIs
- `account_asset` to use v3 HTTP API

Removed
- `usdt_perpetual` because it is now accessible via `contract` and `unified_margin`

2.4.1

- See below release candidates for further changes.

Fixed
- Wrong endpoint path in `usdc_perpetual.py`
- Wrong endpoint path in `account_asset.py`

2.4.1rc0

Modified
- `is_connected()` and the WebSocket reconnection logic.

2.4.0

Added
- `HTTP` methods for account asset's [universal transfer API](https://bybit-exchange.github.io/docs/account_asset/#t-enableuniversaltransfer)

Fixed
- USDC API to use the user's set `recv_window`

Modified
- Did some internal code reorganisation

Page 3 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.