Skip to content

Releases: LUCIT-Systems-and-Development/unicorn-binance-websocket-api

unicorn-binance-websocket-api

10 Apr 01:49
590073b
Compare
Choose a tag to compare

unicorn-binance-websocket-api

07 Apr 22:31
8636214
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

unicorn-binance-websocket-api

28 Mar 07:01
7c5b1e9
Compare
Choose a tag to compare

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

27 Mar 16:35
ef03c03
Compare
Choose a tag to compare

unicorn-binance-websocket-api

27 Mar 15:30
ecc8ce4
Compare
Choose a tag to compare

Added

  • Official support for Python 3.11
  • Socks5 proxy support for websocket only: socks5_proxy_server and socks5_proxy_ssl_verification and exception
    Socks5ProxyConnectionError - Currently, no REST support for listenKey (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

04 Mar 03:04
cbf8e79
Compare
Choose a tag to compare

Added

  • Parameter delete_listen_key to stop_stream(), so its possible to disable the deletion of the listen_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