Set MMP configuration

Configure or update Market Maker Protection (MMP) settings for a smart account and trading pair.

Key Features:

  • Automatic order cancellation when risk limits are breached
  • Temporary trading freeze to prevent further exposure
  • Configurable risk limits for quantity, delta, and vega
  • Flexible intervals for risk calculation windows

Risk Limits:

  • Quantity Limit: Maximum net traded contracts within the interval (Options only)
  • Delta Limit: Maximum net delta exposure (Perpetuals and Options)
  • Vega Limit: Maximum net vega exposure (Options only)

Important Notes:

  • At least one limit must be set when status is "active"
  • Setting status to "inactive" will delete the MMP configuration
  • When MMP is triggered, all open orders are automatically cancelled
  • Trading is frozen for the specified frozen_time duration

EIP-712 Signature

The request requires an EIP-712 signature with the following structure:

const MMPConfigUpdate = [
  { name: 'smartAccountAddress', type: 'address' },
  { name: 'pairSymbol', type: 'string' },
  { name: 'status', type: 'string' },
  { name: 'interval', type: 'uint256' },
  { name: 'frozenTime', type: 'uint256' },
  { name: 'quantityLimit', type: 'uint256' },
  { name: 'deltaLimit', type: 'uint256' },
  { name: 'vegaLimit', type: 'uint256' },
  { name: 'deadline', type: 'uint256' }
];
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!