- Added some logic to decide if there is 'order_book' in order book snapshot push for WebSocket
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.