Unicorn-binance-websocket-api

Latest version: v2.8.0

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

Scan your dependencies

Page 15 of 25

1.14.0

Added
- new parameter `stream_label` in `manager.create_stream()`[issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- `manager.get_stream_label()` [issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- `manager.get_stream_id_by_label()` [issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- `manager.set_stream_label()` [issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- added `stream_label` to `manager.print_stream_info()` [issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- added `stream_label` to `manager.print_summary()` [issue 60](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/60)
- `manager.help()`
- `unicorn_binance_websocket_api_exceptions.py` with exception `StreamRecoveryError` and `UnknownExchange`
- `fill_up_space_right()`
- `self.restart_timeout`
Changed
- raising `UnknownExchange` or `StreamRecoveryError` instead of `ValueError`
- `fill_up_space()` to `fill_up_space_left()`
Fixed
- reset the payloads of a stream at a stream restart
- moved some code for a stream restart from `_keepalive_streams()` to `restart_stream()` which caused that the direct
call of `restart_stream()` worked only inside of `_keepalive_streams()`
- handling of `RuntimeWarning` in class connection at row 189
Removed
- code to start new `_keepalive_streams()` and `_frequent_checks()` threads

1.13.0

Added
- `disable_print` in `print_summary()` [pull 48](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/pull/48)
- `print_summary_export_path` - if provided, the lib is going to export the output of `print_summary()` to a PNG image.
- `get_number_of_all_subscriptions()` and show all subscriptions number in `print_summary()`
Fixed
- ping listen_key if "!userData" is in `channels`, not only in `markets`.
- format of some logs
- stream buffer size [issue 51](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/51),
[pull 51](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/pull/52)

1.12.0

RECOMMENDED UPDATE!
https://github.com/binance-exchange/binance-official-api-docs/blob/5fccfd572db2f530e25e302c02be5dec12759cf9/CHANGELOG.md#2020-04-23
Added
- avoid sending more than 5 messages per stream per second [issue 45](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/45)
- stop streams and set status to "crashed" if they exceed the limit of 1024 subscriptions per stream [issue 45](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/45)
- `is_stop_as_crash_request()`
- `stop_stream_as_crash()`
- `get_limit_of_subscriptions_per_stream()`
- `get_number_of_free_subscription_slots()`
- `BinanceWebSocketApiManager(throw_exception_if_unrepairable=True)` - raise `StreamRecoveryError` if a stream is not repairable
(invalid api-key format or exceeding the 1024 subscription limit)

Changed
- loglevel `connection.send()` loglevels from error to critical.
- loglevel `manager.create_websocket_uri()` of known errors from error to critical.
Fixed
- `OSError` exception for `self.monitoring_api_server.start()` if its already started
- `for keepalive_streams_id in self.keepalive_streams_list:` added threadding lock ([issue 47](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/47))

1.11.0

Added
- binance jex
Changed
- dependency websockets from 7.0 to 8.1 which needs python>=3.6.1 ([issue 11](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/11))
Fixed
- expception handling of send() ([issue 43](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/43))
- thread lock for `frequent_checks_list` ([comment 590914274](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/11#issuecomment-590914274))
- `current_receiving_speed` did not reset to 0 if all streams are offline

1.10.6

Added
- fill_up_space_centered()
- update check on manager start
Changed
- print_stream_info() and print_summary(): unicorn-binance-websocket-api_<version>-python_<version> in top boarder row
- count subscriptions
Fixed
- lower for cex and upper for dex with exceptions for arr, $all, ! and array channels

1.10.5

Fixed
- `lower()` markets in `create_payload()` and exception for `!userData`
- get_active_stream_list() took len() of false item
- reconnect handling in send() ([issue 40](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/40))

Page 15 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.