OTO Orders
Brief
This article describes OTO orders.
Details
OTO Order
OTO means "One Triggers Other". It is a contingent order consisting of one primary order and one or more secondary orders. The primary order becomes active immediately. All other orders are inactive until the root order is executed. Once the primary order is executed, the secondary orders are automatically triggered. The primary and secondary orders can be placed from one and the same account but for different instruments. Only entry orders or other OTO groups can be joined into OTO. However, entry orders with attached stops/limits, either regular or ELS, can be joined into OTO.
If-Then order may be used as a primary order.
The If-Then order doesn't buy or sell an instrument.
It is only an activation signal to secondary orders.
Once the market price reaches the price specified in the order, it is "executed" and the secondary orders are activated on market.
To create If-Then order use trade operation (BuySell) = "S" ("Sell") and amount = 0.