Get Max Position to Close

Query the max position size available to close

Permission

  • Primary / Sub-Portfolio API Key: READ, get the max position size available to close of current portfolio

Rate Limit

  • 5 requests per 1 seconds


Request

NameTypeMandatoryDescription
symStringYTrading pair unique identifier ,
example: BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT
targetPriceStringYWithout given targetPrice, the latest market price will be applied

Response

Field nameTypeRemarks
symStringTrading pair unique identifier ,
example: BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT
positionModeStringCurrent account position Mode, NET / BOTHNET is one way (buy & sale)mode; BOTH is hedge (long/short) mode.
maxPosCloseLongStringMax Position size to close in long direction
maxPosCloseShortStringMax Position size to close in short direction
Language