check if pending order has opened
How can i check if a pending order has been triggered? I have two pending orders and want to cancel one if the other opens but can't see a method to check if the order has been triggered?
use unique order magic number for every pending order when OrderSend().
if poll orders frequently, int OrderMagicNumber() will allow mapping the two orders. int OrderType() will give values according to current status as jjc details.
thanks guys... i appreciate the help
T
Hi,
How can i check if a pending order has been triggered? I have two pending orders and want to cancel one if the other opens but can't see a method to check if the order has been triggered?
Thanks,
Tori