get https://api.liquiditytech.com/api/v1/trading/position
Rate Limit: 20 requests per 10 seconds
Request
Field name | Type | Necessary | Remarks |
---|---|---|---|
sym | String | N | Trading pair unique identifier, example: BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT |
Respone
Field | Type | Remark |
---|---|---|
positionId | String | Position Id |
portfolioId | String | Portfolio Id |
sym | String | Trading pair unique identifier |
positionSide | String | NET,One-way mode, now only support one-way mode |
positionMargin | String | Position margin |
positionMM | String | Position maintain margin |
positionQty | String | Position quantity(Positive means Long, Negative means Short positions), the unit for OKX is piece, for BINANCE is coin |
positionValue | String | Position value |
unrealizedPNL | String | Unrealized PNL |
unrealizedPNLRate | String | Unrealized PNL rate |
avgPrice | String | Average price |
markPrice | String | Mark price |
leverage | String | Leverage |
maxLeverage | String | Max leverage |
riskLevel | String | Risk level |
fee | String | Trading fee |
fundingFee | String | Funding fee |
createAt | String | Create time |
updateAt | String | Update time |
liqPrice | String | Estimated liquidation price of position. If the data is null, it means there will be no forced liquidation |