get
https://api.connex.trade/api/v1/trading/availableOpen
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
- 10 requests per 1 seconds
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
| sym | String | Y | Trading pair unique identifier , example: BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT |
| targetPrice | String | N | Without given targetPrice, the latest market price will be applied |
Response
| Field name | Type | Remarks |
|---|---|---|
| sym | String | Trading pair unique identifier , example: BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT |
| positionMode | String | Current account position Mode, NET / BOTH,NET is one way (buy & sale)mode; BOTH is hedge (long/short) mode. |
| longMaxOpen | String | Max Position size to open in long direction |
| shortMaxOpen | String | Max Position size to open in short direction |
