Get Max Position to Open

Query the max position size according to the available margin and target price

Permission

  • Primary/Sub-Portfolio API Key: READ, get the max position size according to the available margin and target price 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
targetPriceStringNWithout 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.
longMaxOpenStringMax Position size to open in long direction
shortMaxOpenStringMax Position size to open in short direction
Language