Skip to main content

Get MMP State

HTTP Request

GET /v5/account/mmp-state

Request Parameters

ParameterRequiredTypeComments
baseCointruestringBase coin, uppercase only

Response Parameters

ParameterTypeComments
resultarrayObject
> baseCoinstringBase coin
> mmpEnabledbooleanWhether the account is enabled mmp
> windowstringTime window (ms)
> frozenPeriodstringFrozen period (ms)
> qtyLimitstringTrade qty limit
> deltaLimitstringDelta limit
> mmpFrozenUntilstringUnfreeze timestamp (ms)
> mmpFrozenbooleanWhether the mmp is triggered.
  • true: mmpFrozenUntil is meaningful
  • false: please ignore the value of mmpFrozenUntil

Request Example

POST /v5/account/mmp-reset HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1675842997277
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"baseCoin": "ETH"
}

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"result": [
{
"baseCoin": "BTC",
"mmpEnabled": true,
"window": "5000",
"frozenPeriod": "100000",
"qtyLimit": "0.01",
"deltaLimit": "0.01",
"mmpFrozenUntil": "1675760625519",
"mmpFrozen": false
}
]
},
"retExtInfo": {},
"time": 1675843188984
}