unicorn-binance-websocket-api
·
712 commits
to master
since this release
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