Place conditional order

⚠️

Requires Authentication.

Trigger orders include stop, trailing stop, and take profit.

Stop loss body:

{
  "market": "XRP-PERP",
  "side": "sell",
  "triggerPrice": 0.306525,
  "size": 31431.0,
  "type": "stop",
  "reduceOnly": false,
}

Trailing stop body:

{
  "market": "XRP-PERP",
  "side": "sell",
  "trailValue": -0.05,
  "size": 31431.0,
  "type": "trailingStop",
  "reduceOnly": false,
}

Take profit body:

{
  "market": "XRP-PERP",
  "side": "buy",
  "triggerPrice": 0.367895,
  "size": 31431.0,
  "type": "takeProfit",
  "reduceOnly": false,
}

Response format:

NameTypeSample ValueDescription
createdAtstring2019-03-05T12:56:55.728933+00:00
futurestringXRP-PERP
idnumber9596912
marketstringXRP-PERP
triggerPricenumber0.306525
orderIdnumbernull[DEPRECATED] ID of the order sent on the most recent trigger, if exists
sidestringsell
sizenumber31431.0
statusstringopenValues are open, cancelled, and triggered
typestringstop
orderPricenumbernullprice of the order sent when this stop loss triggered
errorstringnull[DEPRECATED] error message for unsuccessful order placement of the most recent trigger, if exists
triggeredAtstringnulltime at which this stop loss first triggered
reduceOnlybooleanfalse
orderTypestringmarketValues are market, limit
retryUntilFilledbooleanfalseWhether or not to keep re-triggering until filled
Language
Authentication
Basic
base64
: