Risk Parameters
Last updated
Last updated
In the CVEX Protocol, Risk Oracles play a pivotal role in regularly reassessing and updating risk parameters associated with the underlying assets of each Platform. These parameters are encapsulated in a symmetric matrix resembling a variance-covariance matrix with list of independent parameters, where the diagonal elements represent the volatility of each underlying asset as per VaR-based risk assessment, the off-diagonal elements denote the correlated volatility between pairs of assets, and independent parameters represent the volatility of the contract price, independent from the volatility of underlying asset:
This set of parameters allows the protocol and its participants to calculate the worst expected loss over a specified VaR period for any given trader's portfolio. This computation is akin to calculating variation for a linear combination of dependent and independent random variables:
Where is net exposure of each trader's position, and is combined net exposure of the trader's positions of specific underlying asset, calculated with futures and perpetuals Mark Price , options Delta Hedge Ratio , and positions quantity (positive for longs and negative for shorts):
The diagonal parameters, denoted as in the risk matrix, are precisely represented by the VaR estimations for each index:
The introduction of these parameters enables the efficient incorporation of adjustments for perpetual contracts, caused by funding rates. This results in a slight increase in margin requirements compared to normal expiring futures. Additionally, this approach effectively prohibits the possibility of unlimited leverage in sets of positions that are otherwise considered as perfectly hedged.
It's important to note that while this methodology borrows the structure of calculations typically associated with the normal distribution, the actual variables and parameters used diverge from this norm. Specifically, all variance parameters are adjusted to the quantile representing the VaR metric, and the assumption that expected position returns follow a normal distribution is not made.
This empirical approach, while not a precise analytical representation, has demonstrated a good approximation for a portfolio's expected loss. The choice of a simpler formula for portfolio evaluation is intentional. Due to frequent recalculations within protocol execution, the formula must be deterministic and reproducible by Clearance Bots and other protocol participants. Therefore, complex calculations requiring numerical methods are avoided in favour of this more straightforward approach.
The justification for this methodology lies in its effectiveness and simplicity. Despite using a formula traditionally associated with normal distribution in a formally incorrect context, the empirical results have been encouraging. This approach provides a balance between computational efficiency and accuracy, crucial for decentralised systems where resource optimisation and deterministic outcomes are paramount. This practical compromise enables the CVEX Protocol to maintain robust risk management while ensuring operational efficiency.
In summary, this illustrates how the CVEX Protocol achieves true on-chain cross-margining.
The off-diagonal parameters, , which capture the correlations between indices, are calculated by Risk Oracles based on the observed VaR of combined portfolios for each pair of assets. For assets and , depending on whether they are positively or negatively correlated, the correlation parameter is determined as follows:
While the volatility of underlying assets and their correlations are collectively considered for all contract types involving the same assets, the independent (idiosyncratic) volatility of each contract including different expiries of the same derivatives series is assessed separately. These independent parameters represent fluctuations in the value of traders' positions that cannot be solely explained by the movements of the underlying assets, and may include factors, such as caused by noise trading.
To calculate , Risk Oracles assess the observed difference in volatility between index prices and contract prices. For perpetuals, it also incorporates the expected funding rate, adjusted by VaR time period: