{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-requests-account-mmp-config-request-schema.json",
  "title": "requests.AccountMmpConfigRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-marketmakerprotection-api-openapi.yml#/components/schemas/requests.AccountMmpConfigRequest",
  "type": "object",
  "required": [
    "frozen_time_ms",
    "interval_ms"
  ],
  "properties": {
    "delta_limit": {
      "description": "Trips when the absolute net delta of fills in the window exceeds this, in base asset units. Up to 4 decimal places; 0 or omitted disables the check",
      "type": "string"
    },
    "frozen_time_ms": {
      "description": "How long a trip freezes MMP orders, in milliseconds, 0 to 3600000. 0 freezes until a manual reset",
      "type": "integer"
    },
    "interval_ms": {
      "description": "Sliding window length in milliseconds, 100 to 3600000",
      "type": "integer"
    },
    "protect_block_trades": {
      "description": "Protects this base asset's block trade legs, RFQ executions included,\nwhere the account is the maker: the desk that responds with a quote or\noffer. Omitting it keeps the stored value (false if never set).\nProtected block trades share the window with order book fills. A change\napplies to block trades and offers created afterwards.",
      "type": "boolean"
    },
    "size_limit": {
      "description": "Trips when the sum of fill sizes in the window exceeds this, in base asset units. Up to 4 decimal places; 0 or omitted disables the check",
      "type": "string"
    },
    "vega_limit": {
      "description": "Trips when the absolute net vega of fills in the window exceeds this, in USD. Up to 4 decimal places; 0 or omitted disables the check",
      "type": "string"
    }
  }
}