Close an existing position or modify its take profit/stop loss orders
positionId
and optionally allowedPrice
positionId
, sizeDelta
, and optionally allowedPrice
positionId
, takeProfit
/stopLoss
, and corresponding close percentagesallowedPrice
helps prevent slippage - transaction will fail if price moves beyond this limitsizeDelta
must be less than or equal to current position sizeSuccessful response
The response is of type object
.