websocket order updates

kaustubh
steps to reproduce:
1. subscribe to the websocket in the frontend for getting order updates in real-time
2. successfully place an order, let it get executed (so that it now converts to a new position)
3. the issue arises now -> i don't get a message via websocket stating the order status as "complete"
4. place an order so that you have an open order now
5. once step 4 is done, now i get the status update as "complete" for step 2

so, the question is, why am i getting delayed updates for my orders?
  • AAAAAAAAAA
    update postbacks are asynchronous - they'll come in random order for a given order.

    its recommended that for every postback you call the api orderbook and verify the status yourself.
  • rakeshr
    1. subscribe to the websocket in the frontend for getting order updates in real-time
    2. successfully place an order, let it get executed (so that it now converts to a new position)
    3. the issue arises now -> i don't get a message via websocket stating the order status as "complete"
    4. place an order so that you have an open order now
    5. once step 4 is done, now i get the status update as "complete" for step 2
    I just followed the same steps and check. Postback is coming fine for me.
Sign In or Register to comment.