v1

latestOpenAPI 3.0.32026-07-26197032.6 KB
Positions

Set TP/SL

Adjust take profit and stop loss levels for a specific position.

post/v1/positions/set-tp-sl

Request body

instType'perpetual' | 'spot' | 'btc' | 'digital' | 'stock' | 'index' required
quantitystring nullable
stopLossLimitPricestring nullable
stopLossTriggerPricestring nullable
symbolstring required
takeProfitLimitPricestring nullable
takeProfitTriggerPricestring nullable
tpSlMode'partial' | 'full' required
unit'sats' | 'btc'

Response

errorboolean required