Skip to main content
POST
Set market maker protection config

Body

application/json

mmp_interval and mmp_frozen_time are specified in milliseconds (rounded down to the nearest whole second).

currency
string
required
mmp_frozen_time
integer<uint64>
required
Required range: x >= 0
mmp_interval
integer<uint64>
required
Required range: x >= 0
subaccount_id
integer<uint64>
required
Required range: x >= 0
mmp_amount_limit
string<decimal>
default:0

Decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

mmp_delta_limit
string<decimal>
default:0

Decimal string of the human value (e.g. "1.5"), up to 12 fractional digits; a string or JSON number is accepted

Response

Success

Echoes the inbound params back: decimal-string limits, ms intervals.

currency
string
required
mmp_amount_limit
string
required
mmp_delta_limit
string
required
mmp_frozen_time
integer<uint64>
required
Required range: x >= 0
mmp_interval
integer<uint64>
required
Required range: x >= 0
subaccount_id
integer<uint64>
required
Required range: x >= 0