Set the mmp config for the subaccount and currency Required minimum session key permission level is account
Parameters
currencystringrequired Currency of this mmp config
mmp_frozen_timeintegerrequired Time interval in ms setting how long the subaccount is frozen after an mmp trigger, if 0 then a manual reset would be required via private/reset_mmp
mmp_intervalintegerrequired Time interval in ms over which the limits are monotored, if 0 then mmp is disabled
subaccount_idintegerrequired Subaccount_id for which to set the config
mmp_amount_limitstring Maximum total order amount that can be traded within the mmp_interval across all instruments of the provided currency. The amounts are not netted, so a filled bid of 1 and a filled ask of 2 would count as 3. Default: 0 (no limit)
mmp_delta_limitstring Maximum total delta that can be traded within the mmp_interval across all instruments of the provided currency. This quantity is netted, so a filled order with +1 delta and a filled order with -2 delta would count as -1 Default: 0 (no limit)
Response
idstring or integerrequired
resultobjectrequired
result.currencystringrequired Currency of this mmp config
result.mmp_frozen_timeintegerrequired Time interval in ms setting how long the subaccount is frozen after an mmp trigger, if 0 then a manual reset would be required via private/reset_mmp
result.mmp_intervalintegerrequired Time interval in ms over which the limits are monotored, if 0 then mmp is disabled
result.subaccount_idintegerrequired Subaccount_id for which to set the config
result.mmp_amount_limitstring Maximum total order amount that can be traded within the mmp_interval across all instruments of the provided currency. The amounts are not netted, so a filled bid of 1 and a filled ask of 2 would count as 3. Default: 0 (no limit)
result.mmp_delta_limitstring Maximum total delta that can be traded within the mmp_interval across all instruments of the provided currency. This quantity is netted, so a filled order with +1 delta and a filled order with -2 delta would count as -1 Default: 0 (no limit)
Example
{request_example_shell}
{request_example_javascript}
{request_example_python}
The above command returns JSON structured like this: