How can I receive order status updates?
I ran the following code and placed several Market orders.
Nothing is received.
def on_open(ws):
print("opened connection to Binance streams")
def on_close(ws):
print("closed connection to Binance streams")
def on_message(ws, message):
print("message received from Binance streams")
key = client.futures_stream_get_listen_key()
ws = websocket.WebSocketApp(f'wss://fstream.binance.com/ws/{key}', on_open=on_open, on_close=on_close, on_message=on_message)
ws.run_forever()