IOrder.waitForUpdate() waits for state change, however, there's no unique state for fully filled orders (partially/fully filled orders share State.FILLED according to order state diagram) To wait for full fill, I have to stay in a loop with timeout, waiting for order amount == requested amount. I'm wondering if there's a more efficient way to do this synchronously (i.e., without async notification from strategy's onMessage())
Thanks
vadim_berezhnoj
Post subject: Re: How to wait for fully filled orders