Market Maker Protection

private/set_mmp_config

Creates or fully replaces the market maker protection settings for a subaccount and currency. Accepts an amount limit and delta limit (as decimals) plus the rolling interval and freeze duration in milliseconds; omitted limits default to zero. Requires a trading-scoped session key and echoes the applied configuration back.

post/private/set_mmp_config

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/set_mmp_config
  • Auth: none declared

Request body

currencystring required
mmp_amount_limitstring decimal

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

mmp_delta_limitstring decimal

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

mmp_frozen_timeinteger required
mmp_intervalinteger required
subaccount_idinteger required

Response

Success

currencystring required
mmp_amount_limitstring required
mmp_delta_limitstring required
mmp_frozen_timeinteger required
mmp_intervalinteger required
subaccount_idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.