ClosePositionRequest
symbolstringrequired
Market symbol
typestringrequired
Close type β LIMIT requires price
Possible values: [LIMIT, MARKET]
pricenumber
Close price. Required for LIMIT type
postOnlyboolean
Post-only order
positionIdstring
Required when positionMode is HEDGE or ISOLATED
ClosePositionRequest
{
"symbol": "string",
"type": "LIMIT",
"price": 0,
"postOnly": true,
"positionId": "string"
}