Question about OrderDelete() with a "legitimate" ticket number...

 

The code int myTicket = OrderSend(..., ...) provides the ticket number for the order. Assume that the ticket number is then stored locally (in an array, or a global variable, or whatever). Then suppose the following code OrderDelete(myTicket).

Is it possible for the OrderDelete to fail? What does it mean, and how would you handle the problem with code?

 

Is it possible for the OrderDelete to fail?

...Yes

What does it mean?

...Failed to delete

How would you handle the problem with code?

...Resend the delete request

 
phy wrote >>

Is it possible for the OrderDelete to fail?

...Yes

What does it mean?

...Failed to delete

How would you handle the problem with code?

...Resend the delete request

Clear and succinct. Thank you.

 

I've been aware of that Library for a while, but have not incorporated it into any of my EA's...


Although you are mentioning it, I'm not sure if that is also an endorsement...


Have/are you using it?

Has it worked well, or increased the reliability of your orders?

I would love to hear your comments!

 
Haven't used it.
Reason: