Basics of a One-Cancels-the-Other (OCO) Order

Traders can use OCO orders to trade retracements and breakouts. If a trader wanted to trade a break above resistance or below support, they could place an OCO order that uses a buy stop and sell stop to enter the market.
The example here is taken from the description at Investopedia.
An OCO-order is an example of a "related order", or "tactic order". Keep in mind that one of the related orders can be rejected, but the rest might go to the market. It is up to the app to handle this scenario!
Order tickets must warn before trading a complex product, provide a KID download and the cost breakdown. See the sample.

POST body containing order parameters:



Response:
Click button to launch function.

JS code:
Click button to show code.