Pybit

Latest version: v5.7.0

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

Scan your dependencies

Page 9 of 13

1.1.18

Added

- Added `ignore_codes` argument to `HTTP` for status codes to not raise any errors on.

1.1.17

Modified

- Removed extra suffix definition block in `place_conditional_order`.
- Changed logger functionality so that it won't overwrite user's preferred logging settings.
- Fixed wrong number of arguments error inside WebSocket `on_message`, `on_close`, `on_open`, `on_error`.

1.1.16

Modified

- Fixed typo errors on endpoint urls.

1.1.15

Added

- Added support for futures endpoints on `HTTP` (using `isdigit` to detect futures symbols).

Modified

- Using `get` method for `dict` for symbol check instead of calling by key.
- `endpoint` on `HTTP` will now default to https://api.bybit.com if no argument.
- `retry_codes` is now user-definable in the `HTTP` arguments.
- All logging is now on `DEBUG` level—user will need to manually set `logging_level` to `DEBUG`.
- Added attempted request to `FailedRequestError` and `InvalidRequestError` for improved error logging.

1.1.14

Modified

- Fixed unexpected `tuple` generation for status codes on `InvalidRequestError` and
`FailedRequestError`.
- Fixed how `Websocket` handles incoming `orderBook` data due to Bybit's topic naming changes.

1.1.13

Modified

- `requests` will use `JSONDecodeError` from `simplejson` if it is available—`pybit` will now do the same to prevent
errors.
- Fixed a bug where `HTTP` retry would crash on rate limit reached due to undefined variable.
- Improved `InvalidRequestError` and `FailedRequestError` to include error codes and times.

Page 9 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.