Positions

Set TP/SL

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

post/v1/positions/set-tp-sl

Request

  • Base URL
    https://api.roxom.com
  • Auth
    API key in header X-API-Key and API key in header X-API-Signature

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

Changes

No recorded changes to this operation across all 1 revision of this API.