Closed
Description
Binance has added the ability to send requests to the Binance API directly via websocket:
https://developers.binance.com/docs/binance-trading-api/websocket_api
I have started to add support for this in the UNICORN Binance WebSocket API.
I have added the following functions:
ubwa.api.spot.cancel_open_orders()
ubwa.api.spot.cancel_order()
ubwa.api.spot.create_order()
ubwa.api.spot.get_account_status()
ubwa.api.spot.get_exchange_info()
ubwa.api.spot.get_open_orders()
ubwa.api.spot.get_order()
ubwa.api.spot.get_order_book()
ubwa.api.spot.get_server_time()
ubwa.api.spot.ping()
ubwa.api.spot.create_test_order()
ubwa.api.spot.get_listen_key()
The implementation works, but is not yet complete. There are a lot of functions missing... will do that in the next time.
How To:
https://medium.lucit.tech/create-and-cancel-orders-via-websocket-on-binance-7f828831404
Todo:
- Add missing requests (cancelReplace)