Set market maker protection config
Changed onReplaces the account's market maker protection (MMP) config for a base asset with dated option or perpetual futures markets. An omitted limit becomes 0, disabling that check; at least one limit must be above 0. vega_limit counts only dated option fills, so it cannot be the only limit where there are none. 403 MMP_NOT_ENABLED unless MMP is enabled for the account. Read-only tokens are rejected.
Request
- Base URLhttps://api.prod.paradex.trade/v1
- URLhttps://api.prod.paradex.trade/v1/account/mmp/{base_asset}
- AuthAPI key in header Authorization
Path parameters
Base asset - example: BTC
Request body
Example request
{
"delta_limit": "20",
"frozen_time_ms": 5000,
"interval_ms": 1000,
"protect_block_trades": true,
"size_limit": "60",
"vega_limit": "5000"
}Response
OK
Example response
{
"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_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status
- warning
- warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_EXPIREDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status - warning
added the new
SESSION_REVOKEDenum value to the////response property for the response status
- warning