One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Account
  • Introduction
  • Authenticate
  • Subscribe
  • Ping / Pong
  • Trading
    • Introduction
    • Create Order
    • Cancel All Orders
    • Cancel Order by Client ID
    • Cancel Order by Order ID
    • Margin Update
    • Settlement
    • Funding Payment
    • Order Booked
    • Order Rejected
    • Order Closed
    • Trade Executed
    • Order Fully Filled
    • Move Order
    • Balance Adjustment
  • Orderbook
    • Introduction
    • Orderbook Snapshot
    • Orderbook Update
  • Price Ticks
    • Introduction
    • Price Tick
  • Book Ticker
    • Introduction
    • Book Tick
  • Mark Price
    • Mark Price Update
    • Introduction
  • Account
    • Introduction
    • Exotic Order Registered
    • Exotic Order Updated
    • Exotic Order Activated
    • Exotic Order Triggered
    • Exotic Order Executed
    • Exotic Order Cancelled
  1. Account

Exotic Order Registered

You must be subscribed to the ACCOUNT channel to receive take profit / stop loss messages.
The EXOTIC_ORDER_REGISTERED message is sent when a take profit / stop loss (TP/SL) is created: attached to an order with Create Order, or on its own with Create Exotic Order (TP/SL).
A TP/SL attached to an order is PENDING until the order fills. One created on an open position is ACTIVE at once, and EXOTIC_ORDER_ACTIVATED follows straight away.
{
    "channel_name": "ACCOUNT",
    "type": "EXOTIC_ORDER",
    "time": "2026-11-16T10:15:00.512Z",
    "account_id": "726288e6-a463-4f88-9068-024ae8f97a34",
    "event_type": "EXOTIC_ORDER_REGISTERED",
    "event_timestamp": "2026-11-16T10:15:00.000Z",
    "data": {
        "client_id": "0d0b1f0c-7f0e-4f55-9a53-6f6f3c1c2a10",
        "instrument_code": "BTC_USD_P",
        "status": "PENDING",
        "order_kind": "TPSL",
        "tpsl_mode": "position",
        "activation_source": "order_fill",
        "take_profit_price": null,
        "stop_loss_price": 65000,
        "tp_client_id": "c2a7a1de-6d0b-11f0-8de9-0242ac120002",
        "sl_client_id": "1f06d0b6-a7a1-6e20-8de9-0242ac120002",
        "version": 2
    }
}
The envelope fields (channel_name, type, time, account_id, event_type, event_timestamp) are described in the ACCOUNT introduction.

data#

FieldTypeDescription
client_idstringIdentifier of the TP/SL. For one attached to an order, that order's client_id.
instrument_codestringThe instrument.
statusstringPENDING or ACTIVE.
order_kindstringTPSL.
tpsl_modestringorder or position.
activation_sourcestringHow a PENDING TP/SL arms: order_fill, when the order it is attached to fills.
take_profit_pricenumber or nullTake profit level, null without one.
stop_loss_pricenumber or nullStop loss level, null without one.
tp_client_idstring or nullclient_id of the close order placed when the take profit fires on a spot market.
sl_client_idstring or nullAs tp_client_id, for the stop loss.
versionintegerVersion of the message format: 2. Not the TP/SL's own version.
Previous
Introduction
Next
Exotic Order Updated
Built with