Releases: oliver-zehentleitner/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Please read the CHANGELOG for further information.
Full Changelog: 1.46.2...2.0.0
unicorn-binance-websocket-api
Fixed
- Issue in
api.get_exchange_info(): #346
https://pypi.org/project/unicorn-binance-websocket-api/1.46.2
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Fixed
- Issue with separation of spot and margin accounts: #331
https://pypi.org/project/unicorn-binance-websocket-api/1.46.1
https://anaconda.org/conda-forge/unicorn-binance-websocket-api
unicorn-binance-websocket-api
Added
get_the_one_active_websocket_api()to manger.py- Logging to
get_stream_id_by_label() process_responseparameter toubwa.apimethods to provide specific callback functions for specific
responsesreturn_responseparameter toubwa.apimethods 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.apimethods do not need astream_id/stream_labelif there is only one valid websocket api. (Self-discovery
of uniquely identifiable websocket api streams if nostream_idorstream_labelwas specified for identification.)- Renamed
ubwa.api.test_create_order()toubwa.api.create_test_order() - Entire WS API implementation reworked
Fixed
- Support for
new_client_order_idincreate_test_order() - Get listenKey from Binance API for futures and coin futures userData stream
Removed
- jex.com support
https://pypi.org/project/unicorn-binance-websocket-api/1.46.0
https://anaconda.org/conda-forge/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_URIto connection_settings.py and added URI for spot and testnet:wss://ws-api.binance.com/ws-api/v3andwss://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
parameterapito 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_updateto UBRA
Fixing
- Saving
binance_api_statusupdate 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_userandsocks5_proxy_pass- Dependency
unicorn-binance-rest-apitosetup.py,requirements.txt,environment.ymland conda feedstock recipe socks5_proxy_userandsocks5_proxy_passtoBinanceWebSocketApiManager- 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.pynow 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_uriin rest client - SOCKS5 proxy support only worked with one stream. Now it works with multiple streams.
Removed
restful_path_userdatafromBinanceWebSocketApiManager
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