Get mmp Config
Endpoint
private/get_mmp_config
Parameters(params)
| Parameter | Type | Required | Description |
|---|---|---|---|
| currency | string | true | Base coin, uppercase only |
Request Example
{
"rid": 50001,
"method": "private/get_mmp_config",
"params": {
"currency": "BTC"
}
}
Response(result)
| Name | Type | Description |
|---|---|---|
| results | array of objects | |
| > currency | string | Base coin. |
| > mmpEnabled | boolean | Whether the account is enabled mmp |
| > window | string | Time window (ms) |
| > frozenPeriod | string | Frozen period (ms) |
| > quantityLimit | string | Trade quantity limit |
| > deltaLimit | string | Delta limit |
| > mmpFrozenUntil | string | Unfreeze timestamp (ms) |
| > mmpFrozen | boolean | Whether the mmp is triggered. - true: mmpFrozenUntil is meaningful - false: please ignore the value of mmpFrozenUntil |
Response Example
{
"rid": 50001,
"result": {
"results": [
{
"currency": "BTC",
"mmpEnabled": true,
"window": "5000",
"frozenPeriod": "300",
"quantityLimit": "100.0",
"deltaLimit": "50.0",
"mmpFrozenUntil": "0",
"mmpFrozen": false
}
]
}
}