Releases: LUCIT-Systems-and-Development/unicorn-binance-websocket-api
unicorn-binance-websocket-api
1.45.2
Fixed
- Python 3.7+ Support
Renamed
- ws_api.py to api.py
https://pypi.org/project/unicorn-binance-websocket-api/1.45.2
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Changed
- Revised ws_api.py .... Websocket API is still BETA and not fully ready!! - Please share your experience and ideas to improve the implementation: #319
https://pypi.org/project/unicorn-binance-websocket-api/1.45.1
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
- This is the first code part to support the new Binance Websocket API-issue#319:
WEBSOCKET_API_BASE_URI
to connection_settings.py and added URI for spot and testnet:wss://ws-api.binance.com/ws-api/v3
andwss://testnet.binance.vision/ws-api/v3
- Upgraded
print_stream_info()
to show if a userData stream is an 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
parameterapi
to create a Websocket API stream.
https://pypi.org/project/unicorn-binance-websocket-api/1.45.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
- Passing the variable
warn_on_update
to UBRA
Fixing
- Saving
binance_api_status
update indelete_listen_key()
andkeepalive_listenkey()
did not work after the integration of UBRA
https://pypi.org/project/unicorn-binance-websocket-api/1.44.1
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
BinanceRestApiManager()
- New parameter:socks5_proxy_user
andsocks5_proxy_pass
- Dependency
unicorn-binance-rest-api
tosetup.py
,requirements.txt
,environment.yml
and conda feedstock recipe socks5_proxy_user
andsocks5_proxy_pass
toBinanceWebSocketApiManager
- Full SOCKS5 Proxy support to REST API in
get_listen_key()
,keepalive_listen_key()
anddelete_listen_key()
- Show proxy info in
print_summary()
andprint_stream_info()
Changed
restclient.py
now relies onunicorn-binance-rest-api>=1.8.0
. REST config removed inconnection_settings.py
- Structure of
CONNECTION_SETTINGS
Fixed
- RuntimeError: dictionary changed size during iteration in manger.py line 788, f189b9a
keepalive_listen_key()
anddelete_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
fromBinanceWebSocketApiManager
https://pypi.org/project/unicorn-binance-websocket-api/1.44.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Fixed
- Restore backward compatibility Python >= 3.7 issue#311
https://pypi.org/project/unicorn-binance-websocket-api/1.43.3
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Changed
- Remove "Assignment Expressions in f-strings" to restore Python Support 3.7+.
Fixed
- Added whitespace between left "=" and title in first line of
manager.print_summary()
output.
https://pypi.org/project/unicorn-binance-websocket-api/1.43.2
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Fixed
- Fix typo "bug" in dependencies of setup.py
https://pypi.org/project/unicorn-binance-websocket-api/1.43.1
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
- Official support for Python 3.11
- Socks5 proxy support for websocket only:
socks5_proxy_server
andsocks5_proxy_ssl_verification
and exception
Socks5ProxyConnectionError
- Currently, no REST support forlistenKey
(needed for userData streams), this will be added later after the
next UBRA update! - Logging to
manager.wait_till_stream_has_started()
- Logging to
manager.wait_till_stream_has_stoped()
- Added PR#305 of issue#304 thx to @dima-dmytruk23 - new parameters to override connection settings to
BinanceWebSocketApiManager
:
websocket_base_uri
,max_subscriptions_per_stream
,restful_base_uri
,restful_path_userdata
,exchange_type
Changed
- "binance.com-coin-futures" to choose coin futures is deprecated. Use "binance.com-coin_futures" instead!
Fixed
- Better "stop" measuring in
manager.wait_till_stream_has_stoped()
discussion#279
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.43.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
- Parameter
delete_listen_key
tostop_stream()
, so its possible to disable the deletion of thelisten_key
Changed
- The new
listen_key
keep alive interval is 10 min, with 30 min we have expired listenKeys in some cases. issue#275 websockets
version 10.3 to 10.4- Log level error to debug issue#277
Fixed
- socket.py typo in
unicorn_fy.trbinance_com_websocket()
manager.get_stream_buffer_byte_size()
avoid division by zero error- "Stream data not udpated after got event "listenKeyExpired" issue#275
Please view the changelog for further information.
https://pypi.org/project/unicorn-binance-websocket-api/1.42.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api