Equity Calculation
Equity Calculation is the process of determining the net value of a trader's account, which is the total value of their collateral minus the value of their debt or leveraged position. This calculation is performed in real-time by the protocol to monitor the health of the position and determine if a margin call or liquidation is necessary.
The value of the collateral is typically adjusted for market volatility, and the debt may include accrued interest or fees. An accurate and transparent equity calculation is essential for the integrity of the derivative protocol.
If the calculation is incorrect, it could lead to unfair liquidations or allow under-collateralized positions to remain open. It is the fundamental metric that dictates the entire lifecycle of a leveraged trade, from opening to potential liquidation.