Skip to content

unicorn-binance-websocket-api

Compare
Choose a tag to compare
@oliver-zehentleitner oliver-zehentleitner released this 12 Apr 21:42
· 652 commits to master since this release
4c75a4a

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