[Question]: How do I track an order
Closed this issue · 2 comments
wireless90 commented
After I set an order and get its order ID, how do I get notified once it is completed using web socket.
I use CandlestickWebSocketClient for candlesticks and AggregateTradeWebSocketClient for trade.
What do I use for my Orders?
sonvister commented
@wireless90, you can use the IUserDataWebSocketClient
or IUserDataWebSocketManager
and listen for OrderUpdate
events. The later manages the listen key for you.
More Information:
- An example using
IUserDataWebSocketManager
. - The relevant official Binance Web API documentation.
wireless90 commented
Thanks! Perfect. Done