> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delta vega risk position

The
**[Delta](../../../../../../../cube/commodity-delta-risk-position)/[Vega](../../../../../../../cube/commodity-vega-risk-position)
Risk Position** measures are $K_b$ in [MAR21.4](https://www.bis.org/basel_framework/chapter/MAR/21.htm?inforce=20230101\&published=20200327#paragraph_MAR_21_20230101_21_4)(4).

For each **Bucket**, the **Delta/Vega Risk Position** is calculated
from the **Delta/Vega Weighted Sensitivities** and **Delta/Vega Risk Position Correlations**
using the formula in [MAR21.4](https://www.bis.org/basel_framework/chapter/MAR/21.htm?inforce=20230101\&published=20200327#paragraph_MAR_21_20230101_21_4)(4).

**Implementation Note:** This calculation has been optimized so that it
is performed with $O(N)$ (linear) time complexity, where $N$ is the
number of **Risk Factors**.
