Unicorn-binance-websocket-api

Latest version: v2.8.0

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

Scan your dependencies

Page 10 of 25

1.30.0

Not secure
Added
- `get_event_loop_by_stream_id()`
- `disable_colorama` in `BinanceWebSocketApiManager()`: This is needed to make ubwa compatible with
[SwiftBar](https://github.com/swiftbar/SwiftBar)
Changed
- The asyncio event loop is now saved to `self.stream_list[stream_id]['event_loop']`
- added `delete_listen_key_by_stream_id()` to `stop_stream()`
[issue161](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/161#issuecomment-814934231)

1.29.0

Not secure
Added
- `General Exception` handling in `start_socket()` [PR142 thx gronastech and lordofserenity](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/pull/142)
- Support for trbinance.com Websockets
Fixed
- `UnboundLocalError: local variable 'market' referenced before assignment` in `create_websocket_uri()` [PR142 thx gronastech and lordofserenity](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/pull/142)

1.28.0

Not secure
Changed
- the stream signal `DISCONNECT` includes `last_received_data_record` which returns now `None` if there is no record available
Fixed
- Cannot use `in` with RuntimeError, must convert to string first. [PR136 thx Bosma](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/pull/136)
Removed
- Deprecated methods `set_private_api_config()` and `get_websocket_uri_length()`

1.27.0

Not secure
Added
- `timeout=10` to [`get_result_by_request_id()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_result_by_request_id):
Wait for `timeout` seconds to receive the requested result or return `False`
- logging the use of stream_buffer or process_stream_data and the used OS plattform
- individual `max_subscriptions_per_stream` for each endpoint
- `stream_signal_buffer` to receive signals if a stream gets connected or disconnected
- ['add_to_stream_signal_buffer()'](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=add_to_stream_signal_buffer#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.add_to_stream_signal_buffer)
- ['pop_stream_signal_from_stream_signal_buffer()'](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=pop_stream_signal#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.pop_stream_signal_from_stream_signal_buffer)
- Support for stream signals: `CONNECT`, `DISCONNECT`, `FIRST_RECEIVED_DATA`
Changed
- max subscriptions of futures endpoints to 200 [issue127](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/127)
- max subscriptions of jex endpoint to 10
Fixed
- Added a gracefull shutdown if the Python interpreter dies [issue131](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/131)

1.26.0

Not secure
Added
- parameter `ping_interval`, `ping_timeout`, `close_timeout` to [`manager.create_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=create_stream#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.create_stream)
and [`replace_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=replace_stream#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.replace_stream)
- show `ping_interval`, `ping_timeout`, `close_timeout` in [`print_stream_info()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html?highlight=print_stream_info#unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager.BinanceWebSocketApiManager.print_stream_info)
- `manager.set_heartbeat()` to `connection.send()`
- [`get_result_by_request_id()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_result_by_request_id)
Changed
- log warning about high cpu usage is logged after 5 seconds if > 95%

1.25.0

Not secure
Added
- [`get_user_agent()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_user_agent)
Changed
- `get_stream_subscriptions()` returns now the used `request_id` instead of `True`

Page 10 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.