Getting multiple order updates

abhash2610 edited November 2018 in Java client
Hi @sujith ,

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?
  • sujith
    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.
  • abhash2610
    Hi @sujith

    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.
  • sujith
    I am afraid we can't change behavior because it might affect other production apps.
    I would suggest handling it at your end.
Sign In or Register to comment.