Quote from IBj:
Sorry, what was actually said was very different than what you state. Please see my post on page 23 of this thread and the additional info provided by IBsoft on page 24. Pink status is persistent.
Quote from ddunbar:
How would one go about proving such a thing anyway given that the software is designed to keep pink persistent until the status of the order changed?
Quote from fhl:
IBj-got this from your post on page 25:
"It is rare that an order just vanishes. If it does, you should double check to ensure you are where you expect to be. If a client cancels an order, and sees it go pink (could be for a fraction of a second), then red, he can assume he is out. If he hits the cancel, then shuts down the TWS immediately without waiting for the confirms, or just goes away then logs back in later or just comes back, then that would be a poor assumption since the intermediate stages of the cancel process do provide valuable and indicative information. "
Seems reasonable for me to think from this that pinks may flash "for half a second" and in "rare occasions disappear". Where have I gone wrong?
Quote from IBj:
Pink is a transitory state, i.e. "pending cancel". A Simple workflow example:
1) order is working. Status = working; color = green
2) client initiates a cancel request. Status is pending cancel; color = pink
3) cancel request is acknowledged by the current "holder" of the order, either IB's servers for simulated orders, or the ECN/Exchange/Counterparty if the order has been sent to them. Status = cancelAcknowledged = you-are-out; color = red
The pink remains until a cancel-ack or a too-late-to-cancel (which implies an exec report) is received. If the destination is operating correctly, the cancel-ack can be received in a fraction of a second so the pink state is very short. However, the subsequent red color confirms the out which is the desired result. If the cancel-ack is not received, then the order is in an unknown state and will stay pink on the TWS until its true state (either cancelled or executed) is known.