I have created a Java client where on receiving an order update, I do some processing on the filled quantity. I am observing that many times I receive multiple order updates from onOrderUpdate method. The filled quantity is same in all the updates which is equal to the total quantity. Is there a way to stop multiple updates?
Hi @abhash2610, Can you give us a couple of examples for the same? Are you referring to cancelled order or any other intermediate status?
There were multiple scenarios which had to be addressed and some of the users had asked for intermediate status order updates. There is also a bug at OMS wherein it sends multiple postbacks for a cancelled order. We just relay whatever message we get. We have informed them to take a look at this.
I'm creating a counter order on the postback order's filled quantity. When I receive multiple postbacks, multiple counter orders are created. I want to avoid that. If there is anything that I can use than well and good else I will have to handle it in my code.
Can you give us a couple of examples for the same?
Are you referring to cancelled order or any other intermediate status?
There were multiple scenarios which had to be addressed and some of the users had asked for intermediate status order updates.
There is also a bug at OMS wherein it sends multiple postbacks for a cancelled order. We just relay whatever message we get. We have informed them to take a look at this.
I'm creating a counter order on the postback order's filled quantity. When I receive multiple postbacks, multiple counter orders are created.
I want to avoid that. If there is anything that I can use than well and good else I will have to handle it in my code.
I would suggest handling it at your end.