Pybit

Latest version: v5.10.0

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

Scan your dependencies

Page 6 of 14

2.2.1

Modified
- `usdt_perpetual` -> `get_risk_limit()` to not require authentication

Fixed
- `usdt_perpetual` -> `add_reduce_margin()` to use the correct request method

2.2.0

Added
- USDC options `WebSocket` and `HTTP` classes
- Deposit/withdrawal endpoints to `account_asset` module

2.1.2

Fixed
- Initiating a WebSocket object without an `api_key` or `api_secret` for objects that create multiple WebSocket connections
- Error thrown when processing WebSocket orderbook

2.1.1

Added
- USDC perpetual `WebSocket` and `HTTP` classes
- USDT perpetual `extended_user_trade_records()` method

Modified
- Expose all WebSocket arguments to users (fixing the previous "wonky and unintuitive" implementation by simplifying the inheritance design)
- See below release candidates for details.

2.1.1rc0

Modified
- Added arg (`trace_logging`) to enable websocket-client's trace logging, which reveals extra debug information regarding the websocket connection, including the raw sent & received messages
- Note: the code implementation is a little wonky and unintuitive, and will be refined as much as possible before the proper release - although the functionality will remain the same.

2.1.0

Fixed
- The processing of `instrument_info` WebSocket messages so that the user receive a `"type": "snapshot"` every time, rather than having to do their own delta/snapshot processing
- Fix `AttributeError: '_FuturesWebSocketManager' object has no attribute 'endpoint'` when attempting reconnect

Page 6 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.