oolinaroo 0 Report post Posted December 19, 2019 Good evening! We doing hedging on forex com and want trade with cross pairs. For example we trade absent pair CZK/RUB. We send 2 requests on exists pairs EUR/CZK and RUB/CZK. If one of the pair got bad response, want cancel both trades. Is it possible? Or maybe exists another way for decision our trouble? Share this post Link to post
Physicsman 26 Report post Posted December 19, 2019 Hello, Natively, we do not have any API command that will cancel one trade request dependent upon the response from a 2nd trade request. Both trade requests are sent simultaneously and filled if valid. If one trade request responds with an error, you will have to manually close the other leg, which is now a new open position. Kind Regards, PM Share this post Link to post