v1
latestOpenAPI 3.0.32026-07-267278168.1 KBStop Orders
Set Stop Order
Set a stop order for a particular position defined by market and direction. For how stop orders work, see Take profit and stop loss.
post/v1/perps/stop_order
Request body
Example request
{
"market": "AAPL-USD.P",
"positionDirection": "long",
"type": "stopLoss",
"triggerPrice": "9.00"
}Response
Updated stop orders for the market
Example response
{
"success": true,
"result": {
"market": "AAPL-USD.P",
"positionDirection": "long",
"stopLoss": "8.00",
"takeProfit": "9.00"
}
}