MarketMakerProtection

List market maker protection configs

Changed on

Lists the account's market maker protection (MMP) configs, one per base asset, with live state (frozen, until when, window sums) when available. Filter with base_asset. A base asset with no entry has MMP off. Also works when MMP is not enabled for the account (enabled false), so enforced configs can be found and removed.

get/account/mmp

Request

  • Base URL
    https://api.prod.paradex.trade/v1
  • URL
    https://api.prod.paradex.trade/v1/account/mmp
  • Auth
    API key in header Authorization

Query parameters

base_assetstring

Base asset - example: BTC

Response

OK

accountstring

Account ID

enabledboolean

Whether MMP is enabled for the account. When false, configs can only be removed, and those listed are still enforced until they are

Example response

{
  "results": [
    {
      "base_asset": "BTC",
      "delta_limit": "20",
      "frozen_time_ms": 5000,
      "frozen_until": 1717171722000,
      "interval_ms": 1000,
      "is_frozen": true,
      "protect_block_trades": true,
      "size_limit": "60",
      "updated_at": 1717171717000,
      "vega_limit": "5000",
      "window_delta": "-3.2",
      "window_size": "12.5",
      "window_vega": "840"
    }
  ]
}

Changes

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status