> ## 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.

# Curvature risk position up/down

The **Curvature Risk Position
[Up](../../../../../../../cube/commodity-curvature-risk-position-up)/[Down](../../../../../../../cube/commodity-curvature-risk-position-down)**
measures are $K_b^\pm$ in [MAR21.5](https://www.bis.org/basel_framework/chapter/MAR/21.htm?inforce=20230101\&published=20200327#paragraph_MAR_21_20230101_21_5)(3).

Within each **Bucket**, the **Curvature CVR Up/Down** values are
combined using the formula in [MAR21.5](https://www.bis.org/basel_framework/chapter/MAR/21.htm?inforce=20230101\&published=20200327#paragraph_MAR_21_20230101_21_5)(3).

**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**.
