On order update

amolgupta
Hi

My post back method on order update is being called 3 times. As soon as my entry order is filled I get order status update as complete and that happens thrice. My logic is to place stop loss order. Instead of placing one, three stop loss orders are being placed.

Is that the expected behaviour? Is there some other attribute I can look for when placing a stop loss order?

I am using python client
Tagged:
  • sujith
    @amolgupta,
    If the order gets executed in multiple trades then you will receive multiple trades. There are some scenarios wherein OMS sends multiple postbacks even when there is one event. I would suggest pulling orderbook for every order update and do the necessary checks there.
Sign In or Register to comment.