Let's pretend I submit a market order to buy 10 shares. This gets resolved with two partial fills, the 1st with a quantity of 7 and the 2nd with a quantity of 3. What order and execution updates do I get, and in what order?
Is it:
OnOrderUpdate PartFilled Q=7
OnOrderUpdate PartFilled Q=3
OnOrderUpdate Filled Q=10
OnExecutionUpdate Q=10
Or is it:
OnOrderUpdate PartFilled Q=7
OnOrderUpdate Filled Q=7
OnExecutionUpdate Q=7
OnOrderUpdate PartFilled Q=3
OnOrderUpdate Filled Q=10
OnExecutionUpdate Q=10
Or is it something else?
I have an AddOn so I am listening to OrderUpdate and ExecutionUpdate events on the Account object.
Cheers.
Comment