Trigger basis and execution
Every TP/SL order has two independent choices:- Trigger price source — the mark price or the last traded price.
- Execution type — market or limit once the trigger fires.
triggerProtect per contract: when last price deviates from mark by more than the configured threshold, last-price triggers temporarily fall back to mark-price triggers.
Three ways to configure TP/SL
1. Attached to a new order (parent-child)
When you place a new order, you can attach TP and/or SL as child orders. The children are strongly bound to the parent’s lifecycle:- If the parent is cancelled (before or after partial fill), the children are cancelled.
- Children only activate once the parent is fully filled.
- Once activated, TP and SL form a standard OCO pair.
2. Position-level, specific quantity
On an existing position, you can add a TP and/or SL with a user-specified quantity (config amount). Linkage depends on timing:
- Placed in the same action. The TP and SL are linked as an OCO pair.
- Placed separately. They are independent. Each triggers independently and does not cancel the other.