I have an addon that cancels orders, but I have a problem with market orders if the account is a demo or live account. Let say I need to cancel an order based on the number of contracts. If it's bigger than 2 contracts, cancel the order. Using the market buttons in the dom, with the sim account I don't have problems, it works, but if the account is live or demo it doesn't cancel the order. Any idea of what is happening?
Regards
Comment