Mathias Halen:
Hi.
I'm trying to delete an order but I only get:
Hi.
I'm trying to delete an order but I only get:
market order #58321089 cannot be deleted.
I know that the ID is correct. I also know that the order is still live.
Why can this be?
I know that the ID is correct. I also know that the order is still live.
Why can this be?
You cannot delete a market order.
You don't check in your code whether the order is a pending order or not.
Mathias Halen: I'm trying to delete an order but I only get: market order #58321089 cannot be deleted. I know that the ID is correct. I also know that the order is still live. Why can this be?
You Delete Pending Orders and you Close Market Orders and not the other way round.
Keith Watford:
You cannot delete a market order.
You don't check in your code whether the order is a pending order or not.
Thank you. I just changed the code so it only delets pending orders and modifys open orders

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm trying to delete an order but I only get:
I know that the ID is correct. I also know that the order is still live.
Why can this be?