Unicorn-binance-websocket-api

Latest version: v2.8.0

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

Scan your dependencies

Page 4 of 25

1.46.0

Not secure
Added
- `get_the_one_active_websocket_api()` to manger.py
- Logging to `get_stream_id_by_label()`
- `process_response` parameter to `ubwa.api` methods to provide specific callback functions for specific
responses
- `return_response` parameter to `ubwa.api` methods to let the used method wait till the requested data is received via
websocket, and then it returns it.
Changed
- Use UnicornFy only for non api requests in sockets.py - if `output="UnicornFy"` is used for api then its just
converted to a python dict.
- `ubwa.api` methods do not need a `stream_id`/`stream_label` if there is only one valid websocket api. (Self-discovery
of uniquely identifiable websocket api streams if no `stream_id` or `stream_label` was specified for identification.)
- Renamed `ubwa.api.test_create_order()` to `ubwa.api.create_test_order()`
- Entire WS API implementation reworked
Fixed
- Support for `new_client_order_id` in `create_test_order()`
- Get listenKey from Binance API for futures and coin futures userData stream
Removed
- jex.com support

1.45.2

Not secure
Fixed
- Python 3.7+ Support
Renamed
- ws_api.py to api.py

1.45.1

Not secure
Changed
- Revised ws_api.py .... Websocket API is still BETA and not fully ready!! Please share your experience and ideas to
improve the implementation: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/319

1.45.0

Not secure
Added
- This is the first code part to support the new [Binance Websocket API](https://developers.binance.com/docs/binance-trading-api/websocket_api)
[issue319](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/319):
- `WEBSOCKET_API_BASE_URI` to connection_settings.py and added URI for spot and testnet: `wss://ws-api.binance.com/ws-api/v3` and `wss://testnet.binance.vision/ws-api/v3`
- Upgraded `print_stream_info()` to show if a userData stream is a Websocket API stream or not.
- New methods to manager.py `get_timestamp()`, `generate_signature()`, `order_params()`, `add_payload_to_stream`
- ws_api.py to provide Binance websocket api functions in `ubwa.api.method(stream_id=stream_id)`.
- `ubwa.api.cancel_open_orders()`
- `ubwa.api.cancel_order()`
- `ubwa.api.create_order()`
- `ubwa.api.get_account_status()`
- `ubwa.api.get_exchange_info()`
- `ubwa.api.get_open_orders()`
- `ubwa.api.get_order()`
- `ubwa.api.get_order_book()`
- `ubwa.api.get_server_time()`
- `ubwa.api.ping()`
Changed
- `create_stream(channels=[], markets=[])` initiated as lists and are not mandatory anymore to enable the use of
parameter `api` to create a Websocket API stream.

1.44.1

Not secure
Added
- Passing the variable `warn_on_update` to UBRA
Fixing
- Saving `binance_api_status` update in `delete_listen_key()` and `keepalive_listenkey()` did not work after the integration of UBRA

1.44.0

Not secure
Added
- [`BinanceRestApiManager()`](https://unicorn-binance-rest-api.docs.lucit.tech/unicorn_binance_rest_api.html#unicorn_binance_rest_api.manager.BinanceRestApiManager) -
New parameter: `socks5_proxy_user` and `socks5_proxy_pass`
- Dependency `unicorn-binance-rest-api` to `setup.py`, `requirements.txt`, `environment.yml` and conda feedstock recipe
- `socks5_proxy_user` and `socks5_proxy_pass` to [`BinanceWebSocketApiManager`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager)
- Full SOCKS5 Proxy support to REST API in `get_listen_key()`, `keepalive_listen_key()` and `delete_listen_key()`
- Show proxy info in `print_summary()` and `print_stream_info()`
Changed
- `restclient.py` now relies on `unicorn-binance-rest-api>=1.8.0`. REST config removed in `connection_settings.py`
- Structure of `CONNECTION_SETTINGS`
Fixed
- RuntimeError: dictionary changed size during iteration in manger.py line 788, https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/commit/f189b9a8420133ffe34e9c9948e461a06d92f0a2
- `keepalive_listen_key()` and `delete_listen_key()` for isolated margin
- Activated functionality of `restful_base_uri` in rest client
- SOCKS5 proxy support only worked with one stream. Now it works with multiple streams.
Removed
- `restful_path_userdata` from [`BinanceWebSocketApiManager`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager)

Page 4 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.