Key Changes
-
MMP changes as announced here
-
New liquidation algorithm for Portfolio Margin Clients
-
Smaller changes
New liquidation algorithm for Portfolio Margin Clients
-
Previously Deribit only auto-liquidated (algo) with perpetual/futures when possible. From the upcoming release, closing options positions will be part of the liquidation algorithm as well.
-
That logic has been changed to liquidate with whichever instrument is causing the issue and therefore potentially more effective.
-
The new method will simply look at the risk matrix to find which instrument is contributing the most to the overall margin requirements and liquidate that instrument. If the attempted liquidation order does not trade (within certain safety parameters to avoid trading too far from fair prices), then the algo will move to the next highest contributing instrument in the risk matrix.
-
If attempts on the relevant instruments do not execute, then Deribit will attempt to reduce the risk by delta hedging via the Perpetual (if this would also reduce the maintenance margin).
-
Please note that we will always attempt to reduce instrument positions but the backup hedging alternative using the Perpetual could result in opening or increasing an existing position there.
API Changes
-
Backwards incompatible change for
private/get_positionFor USDC instruments the delta will be in the base currency instead of USDC
-
New method
public/get_supported_index_namesto list all supported index names (this can for instance be used to get all index names supported in MMP). -
New greeks breakdown for USDC options
options_gamma_map,options_vega_mapandoptions_theta_mapWill be added to
user.portfolio.{currency}notifications andprivate/get_account_summary -
private/get_account_summary(withextended=true) will includemmp_enabled:truewhen the user has MMP enabled -
private/editwill return the cancel reasonedit_post_only_rejectif the edit fails because ofreject_post_onlybehavior
Deprecations
-
In September we will remove
profit_lossandcommissionfrom order objects. -
Later this year public subscriptions on the API will be heavily rate limited or even removed. Users are advised to start using our Event Nodes.