Overview
- TP/SL: Attach Take Profit and/or Stop Loss settings to an entry order using the
tpslobject. - Modes:
- Full: Configures TP/SL in full mode.
- Partial: Configures TP/SL in partial mode.
- TP/SL order types:
take_profitandstop_losssupportmarketorlimitconfigurations. - Trigger: Conditional orders use a
triggerobject with:trigger_by:"LastPrice","IndexPrice", or"MarkPrice".trigger_direction:"Up"or"Down".trigger_price: The price level that activates the order.
- Reduce-only: Use
reduce_only: trueto prevent an order from increasing position exposure.
Request shape (POST /api/v1/order/place)
Behavior details
- Conditional orders
- The
triggerobject defines the price source (trigger_by), trigger direction (trigger_direction), and activation price (trigger_price).
- The
- Full mode
- Configured using
tpsl.mode: "Full". - Take Profit and Stop Loss settings are defined through
take_profitandstop_loss.
- Configured using
- Partial mode
- Configured using
tpsl.mode: "Partial". - Take Profit and Stop Loss settings are defined through
take_profitandstop_loss.
- Configured using
- TP/SL triggers
- Take Profit and Stop Loss configurations specify their trigger settings within the selected
marketorlimitconfiguration.
- Take Profit and Stop Loss configurations specify their trigger settings within the selected
- Reduce-only
- Use
reduce_only: trueto prevent an order from increasing position exposure.
- Use