Skip to content

Releases: oliver-zehentleitner/unicorn-binance-websocket-api

unicorn-binance-websocket-api

07 Oct 04:18

Choose a tag to compare

Please read the CHANGELOG for further information.

Full Changelog: 1.46.2...2.0.0

unicorn-binance-websocket-api

05 Oct 10:51
8a08f9d

Choose a tag to compare

unicorn-binance-websocket-api

17 Apr 10:31
301c473

Choose a tag to compare

unicorn-binance-websocket-api

12 Apr 21:42
4c75a4a

Choose a tag to compare

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

https://pypi.org/project/unicorn-binance-websocket-api/1.46.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api

unicorn-binance-websocket-api

10 Apr 01:49
590073b

Choose a tag to compare

unicorn-binance-websocket-api

07 Apr 22:31
8636214

Choose a tag to compare

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

06 Apr 16:06
81b840a

Choose a tag to compare

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 and wss://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
    parameter api 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

04 Apr 09:15
b28b66e

Choose a tag to compare

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

https://pypi.org/project/unicorn-binance-websocket-api/1.44.1
https://anaconda.org/conda-forge/unicorn-binance-websocket-api

unicorn-binance-websocket-api

04 Apr 01:36
d2f0250

Choose a tag to compare

Added

  • 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
  • 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, f189b9a
  • 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

https://pypi.org/project/unicorn-binance-websocket-api/1.44.0
https://anaconda.org/conda-forge/unicorn-binance-websocket-api

unicorn-binance-websocket-api

29 Mar 08:02
58e84bc

Choose a tag to compare