TRADE scope. You can generate an API key through the One Trading UI.429).tpsl_mode: "position")instrument_code, futures only. Leave client_id out: the TP/SL is ACTIVE at once, and when a level is reached it closes the position as it is then. Without an open position the request is refused with POSITION_NOT_FOUND.POSITION_TPSL_EXISTS unless tpsl_force is true, which replaces the existing one (it is cancelled with FORCE_REPLACED). To change the levels of the one you have, use Update Exotic Order (TP/SL).tpsl_mode: "order", the default)client_id is required and must be the client_id of an order on the account, otherwise the request is refused with ORDER_NOT_FOUND. The TP/SL is PENDING until that order fills, then closes its filled amount. If the order has already filled, send status: "ACTIVE" to arm it now. If the order is cancelled or rejected before it fills, the TP/SL is cancelled with it.BUY: it sells what was bought.take_profit or stop_loss.TPSL_OUTSIDE_PRICE_BAND. One that arms later is checked then, and cancelled with VALIDATION_FAILED_AT_ACTIVATION if a level has already been reached.slippage_bps when selling, or plus it when buying. It fills at the book's better prices up to that limit, and never worse. A stop loss the market gaps through by more than its slippage fills nothing and leaves the position open.ACCOUNT channel.curl --location 'https://api.onetrading.com/fast/v2/account/exotic-orders' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"instrument_code": "BTC_USD_P",
"tpsl_mode": "position",
"stop_loss": {
"value": "65000",
"type": "MID"
}
}'{
"order": {
"client_id": "0d0b1f0c-7f0e-4f55-9a53-6f6f3c1c2a10",
"instrument_code": "BTC_USD_P",
"order_kind": "TPSL",
"tpsl_mode": "position",
"status": "ACTIVE",
"take_profit": null,
"stop_loss": {
"value": "65000",
"type": "MID"
},
"slippage_bps": 500,
"version": 1,
"side": "BUY",
"market_type": "FUTURES",
"position_id": "1b0f6f5e-2a59-4f0a-9d0e-5f7f3f0f6a11",
"order_id": null,
"type": "MARKET",
"price": null,
"filled_amount": "1.5",
"tp_client_id": "c2a7a1de-6d0b-11f0-8de9-0242ac120002",
"sl_client_id": "1f06d0b6-a7a1-6e20-8de9-0242ac120002",
"created_at": "2026-11-16T10:15:00.000Z",
"filled_at": "2026-11-16T10:15:00.000Z",
"completed_at": null,
"cancelled_at": null
}
}