Set TP/SL
Sets or updates take-profit (TP) and stop-loss (SL) prices for an existing order or open position.
Invalid TP/SL placement may close your position immediately
If your TP or SL levels are set on the wrong side of the current price, they may trigger instantly and close your position.
Long position: TP below or SL above the current price → may trigger immediately
Short position: TP above or SL below the current price → may trigger immediately
This endpoint allows users to modify an existing order by attaching or updating take-profit and stop-loss prices.
You must specify both the symbol and the orderId of the target order.
If TP or SL prices are provided, they will be linked to the active order or open position for automated risk management.
If a field is omitted or set to null, that parameter remains unchanged.
Authentication with a valid API key and trade permission scope is required.
For third party retail API users
Trading symbol
BTCUSDT.PERPPattern: ^[A-Z0-9]+(\.[A-Z0-9]+)?$Precise, high-resolution integer type.
Precise, high-resolution integer type.
OK
Bad Request
Unauthorized
Last updated