Contract Loss Mechanisms
During periods of high volatility in the markets underlying the perpetual contracts, the value of some accounts may drop below zero before they can be liquidated.
Insurance Fund
An insurance fund could be the first backstop to maintaining the solvency of the system when an account has a negative balance if put in place by an applicable governance community. The account will be liquidated, and the insurance fund will take on the loss. This insurance fund will be used before any deleveraging occurs.
Deleveraging
If an insurance fund is put in place by an applicable governance community and the insurance fund becomes depleted, positions with the most profit and leverage may be used to offset negative-balance accounts in order to maintain the stability of the system.
As part of the default settings of the v4 open source software (”dYdX Chain”), deleveraging is a feature made available by the perpetual contract software. Deleveraging is used as a last resort to close underwater positions if the insurance fund is depleted. Deleveraging works similarly to “auto-deleveraging” in other high-leverage futures and perpetual markets, and is a mechanism which requires profitable traders to contribute part of their profits to offset underwater accounts.
Deleveraging will only be used if an applicable governance community’s insurance fund is depleted.
Deleveraging is performed by automatically reducing the positions of some traders —prioritizing accounts with a combination of high profit and high leverage — and using their profits to offset underwater accounts.
Deleveraging is incorporated in the software (instead of relying on a socialized loss mechanism) to reduce the uncertainty faced by traders trading at lower risk levels.
The most highly leveraged offsetting accounts will be deleveraged first.
Disclaimer and Terms
This document may provide information with respect to the default settings of dYdX Trading Inc. (”dYdX”) v4 software, or non-mandatory guidelines and suggestions that may help with using v4 software. dYdX does not deploy or run v4 software for public use, or operate or control any dYdX Chain infrastructure. dYdX is not responsible for any actions taken by other third parties who use v4 software. dYdX services and products are not available to persons or entities who reside in, are located in, are incorporated in, or have registered offices in the United States or Canada, or Restricted Persons (as defined in the dYdX Terms of Use). The content provided herein does not constitute, and should not be considered, or relied upon as, financial advice, legal advice, tax advice, investment advice or advice of any other nature, and you agree that you are responsible to conduct independent research, perform due diligence and engage a professional advisor prior to taking any financial, tax, legal or investment action related to the foregoing content. The information contained herein, and any use of v4 software, are subject to the v4 Terms of Use.