|
Pending orders
Hi Gurus,
If I put in a OP_BUYSTOP order, how can I tell if it has been filled or still pending. I need to know the status of my order.
I have a conditional statement that would act differently depending whether it has been filled or still pending.
I tried looking at the OrderProfit(), but it basically indicates 0.000000 if has not been filled. However, I can't rely on this because if it was filled and there was no profit then it will also show 0.000000
Is there an indicator that will tell me whether an order is still pending or has been filled?
thanks
|