Get Risk Limits
Response Example
{
"success": true,
"code": 0,
"data": {
"BTC_USDT": [
{
"level": 6,
"maxVol": 4500000,
"mmr": 0.05,
"imr": 0.1,
"maxLeverage": 500,
"symbol": "BTC_USDT",
"positionType": 2,
"openType": 1,
"leverage": 2,
"limitBySys": false,
"currentMmr": 0.05
},
{
"level": 1,
"maxVol": 50000,
"mmr": 0.001,
"imr": 0.002,
"maxLeverage": 500,
"symbol": "BTC_USDT",
"positionType": 1,
"openType": 1,
"leverage": 2,
"limitBySys": false
}
]
}
}
- GET
/api/v1/private/account/risk_limit
Required Permission: View Order Details
Request Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | false | Contract, if not provided returns all |
Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| symbol | string | Contract |
| positionType | int | Position type 1: long,2: short |
| level | int | Current liquidation risk level, returns min(leverage risk level, position risk level) |
| maxVol | decimal | Maximum position quantity; if contract is configured to limit by position value, it will be converted to the number of contracts based on the current fair price. |
| maxLeverage | int | Maximum leverage |
| mmr | decimal | Maintenance margin rate for the liquidation risk level; to calculate initial margin, obtain maintenance margin rate via the user’s leverage info interface |
| imr | decimal | Initial margin rate for the liquidation risk level |