Maximum Leverage & LTVs
This section details how maximum leverage and LTVs are calculated using extreme-loss methodology to ensure adequate margin coverage against potential losses.
Parameter Calibration Rationale
Initial margin should adequately cover potential extreme losses for a perp position within a defined risk horizon (liquidation horizon). This provides a suitable buffer against significant potential price fluctuations between the liquidation and bankruptcy levels in the probabilistic sense ensuring coverage in most historical scenarios.
Calculation
To set initial margin requirements and maximum leverage for each market we use the well-known extreme-loss approach widely used in traditional finance. The fundamental principle of this approach is:
The extreme potential loss in the position value is primarily represented by the unrealized price PnL on the leveraged perp position, which is calculated as follows:
where is the position size (positive for longs and negative for shorts), is the entry price of the underlying asset, is the market price at the current time, and is the percentage price change over the risk horizon .
Note. Here we do not account for other potential risk factors like funding fees or the price impact, though these could influence unrealized PnL. The conservative 12-hour window is intended to capture significant price fluctuations, which should also encompass the effects of volatility in other risk factors.
To determine potential extreme losses from unfavorable price movements, the CVaR risk metric is used with a risk horizon . The horizon represents the period during which a position should be liquidated. Even if the position isn't immediately liquidated when the margin reaches the liquidation level, a buffer remains. This buffer ensures that extreme price changes during this period are unlikely to result in bankruptcy. We conservatively set the risk horizon to 12 hours to account for potential chain halts that could interrupt liquidations. Note that liquidations typically occur much faster (especially for USDC-margined accounts).
The extreme potential price movements are determined as follows:
for longs:
for shorts:
Assuming equal leverage for long and short positions, the maximum is taken for a conservative approach:
We calculate the CVaR metric for each market using a historical simulation approach based on 1 year of historical data of 12-hour simple overlapping price returns.
The % initial margin in then determined as follows:
Maintenance margin is calculated similarly, but using less conservative CVaR levels (5% and 95%):
Max Leverage
Maximum Leverage is calculated as the reciprocal of the initial margin:
Max Leverage Caps
Very Good
10
Good
7
Medium
5
Bad
3
The final maximum leverage is then determined as follows:
The risk parameters for a single perp position used in the Health Factor (HF) calculation are determined as follows:
Max LTV
Liquidation LTV
where is a margin of safety determned as follows:
Input Data
Historical oracle price of the underlying asset
Coingecko
1h over the past 365 days
-
Key Parameters
Risk horizon:
Confidence level: for initial margin , for maintenance margin
Safety Margin Bounds: ,
Key Assumptions
Funding rates and price impact are ignored.
The 12h risk horizon is assumed.
Special Cases
For brand-new assets and assets with limited data history (less than 30 days), the maximum leverage is set to the maximum leverage cap for the "bad" quality category:
The following risk parameters are finally used:
Last updated