Support Board
Date/Time: Mon, 10 Mar 2025 02:50:47 +0000
Post From: Orders not Cancelling (fast replay) + Checking if existing working order or filled order
[2022-03-12 10:40:56] |
SelimEker - Posts: 13 |
Thank you for the prompt answer ! Did you consider using trade position information? Automated Trading From an Advanced Custom Study: Getting Trade Position Data I have looked into it sometime ago but i was confused on the quantity side of things as sell orders are -1 and that there is also the attached orders that can or doesn't count. I think i will have to check it out again :) Not a solution, but you could add some debug logging to the cancel order function and see what the error code is.
I will check this out ! I think the issue might be related to the global variable as well.. |