I may be missing something here, so hopefully somewhere here could point me in the right direction. Currently, I'm working with the Java API for IB.
I've overrided orderStatus and pass status variable into a switch statement which then will call some particular method. Now as I understand it, 'Submitted' with a filled size of 0 means that the exchange has accepted the order.
The issue is, I'm receiving executions before orderStatus comes in. Is this typical behavior? If so are there any other ways to verify if an order has been received by the exchange or not other than orderStatus? The same issue comes up for with cancelled orders as well.
TIA
I've overrided orderStatus and pass status variable into a switch statement which then will call some particular method. Now as I understand it, 'Submitted' with a filled size of 0 means that the exchange has accepted the order.
The issue is, I'm receiving executions before orderStatus comes in. Is this typical behavior? If so are there any other ways to verify if an order has been received by the exchange or not other than orderStatus? The same issue comes up for with cancelled orders as well.
TIA