Skip to content

unicorn-binance-websocket-api

Choose a tag to compare

@oliver-zehentleitner oliver-zehentleitner released this 06 Apr 16:06
· 712 commits to master since this release
81b840a

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