Market Maker Protection
private/get_mmp_config
Changed onReturns the market maker protection (MMP) settings for a subaccount, optionally filtered to a single currency. Each entry reports the amount and delta limits (as decimal strings), the rolling interval and freeze duration (in milliseconds), and the current freeze state, including whether MMP is currently frozen and the timestamp at which it unfreezes.
post/private/get_mmp_config
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Mmp Scope Request required
currency, string nullable
subaccount_id, integer required
Response
Success
Mmp Config Result[] required
currency, string required
is_frozen, boolean required
mmp_amount_limit, string required
mmp_delta_limit, string required
mmp_frozen_time, integer required
mmp_interval, integer required
mmp_unfreeze_time, integer required
subaccount_id, integer required
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info