Set a stop order for a particular position defined by market and direction.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Perps market
"AAPL-USD.P"
Position direction this stop order watches
long, short "long"
The type of stop order to set
stopLoss, takeProfit "stopLoss"
The trigger price
"9.00"
Updated stop orders for the market
Whether the request was successful
true
Error message, present only on failure
""
Semantic error code. See each endpoint's error responses for the specific codes it can return.
Deprecation notice, if applicable
""