Trex pro:
https://www.mql5.com/en/docs/constants/structures/mqltraderequestI'm trying to remove a previously placed pending order using the below python script but for an unknown reason it returns retcode 10013 which translates to "invalid request"...
any suggestions would be very appreciated, thank you.You are setting a value for position. As you are trying to close an order.
La_patates:
https://www.mql5.com/en/docs/constants/structures/mqltraderequest
thank you very much my friend, your comment helped now the problem is solved.
https://www.mql5.com/en/docs/constants/structures/mqltraderequest
You are setting a value for position. As you are trying to close an order.
Trex pro:
thank you very much my friend, your comment helped now the problem is solved.
How did you solve this. l ran into the same issue as well
replace
"position": position_id
on request 1 with
"order": your_ticket_id
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 remove a previously placed pending order using the below python script but for an unknown reason it returns retcode 10013 which translates to "invalid request"...
any suggestions would be very appreciated, thank you.