Skip to main content
POST
Attach TP/SL bracket to an existing order

Body

application/json

Attach TP/SL bracket to an existing order

account_id
string<uuid>
required

UUID of the trading account

Example:

"550e8400-e29b-41d4-a716-446655440000"

order_id
string<uuid>
required

UUID of the parent entry order

Example:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

stop_loss
number<double> | null

Optional stop-loss price

Example:

6075

take_profit
number<double> | null

Optional take-profit price

Example:

6125

Response

Bracket attached successfully

Bracket order response (order with optional TP/SL)

order
any
required
stop_loss_order
any | null
take_profit_order
any | null