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

# Expected tail gain

> Reference for the Expected Tail Gain and Weighted ETG measures in the VaR-ES Cube, covering ETG at multiple confidence levels with DtD, previous, scenario names, and Incremental and LEstimated allocation variants

## ETG and Weighted ETG

| Measure | Description | Relevant context values |
| - | - | - |
| ETG | Expected tail gain | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 | Expected tail gain at 97.5% confidence level | |
| ETG 99 | Expected tail gain at 99% confidence level | |
| Weighted ETG | The Weighted variation of the ETG measure. Please refer to the WHS calculations chapter | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 | The Weighted variation of the ETG measure at 97.5% confidence level. Please refer to the WHS calculations chapter | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 | The Weighted variation of the ETG measure at 99% confidence level. Please refer to the WHS calculations chapter | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## DtD

| Measure | Description | Relevant context values |
| - | - | - |
| ETG DtD | Change of ETG from one day to another. By default DtD. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 DtD | Change of ETG 97.5 from one day to another. By default DtD. | |
| ETG 99 DtD | Change of ETG 99 from one day to another. By default DtD. | |
| Weighted ETG DtD | Change of Weighted ETG from one day to another. By default DtD. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 DtD | Change of Weighted ETG from one day to another at 97.5% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 DtD | Change of Weighted ETG from one day to another at 99% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## DtD % difference

| Measure | Description | Relevant context values |
| - | - | - |
| ETG DtD % Difference | Percentage change of ETG from one day to another. By default DtD. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 DtD % Difference | Percentage change of ETG 97.5 from one day to another. By default DtD. | |
| ETG 99 DtD % Difference | Percentage change of ETG 99 from one day to another. By default DtD. | |
| Weighted ETG DtD % Difference | Percentage change of Weighted ETG from one day to another. By default DtD. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 DtD % Difference | Percentage change of Weighted ETG from one day to another at 97.5% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 DtD % Difference | Percentage change of Weighted ETG from one day to another at 99% confidence level. By default DtD. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## Previous

| Measure | Description | Relevant context values |
| - | - | - |
| ETG Previous | The ETG of the previous day | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 Previous | The ETG of the previous day at 97.5% confidence level | |
| ETG 99 Previous | The ETG of the previous day at 99% confidence level | |
| Weighted ETG Previous | The Weighted ETG of the previous day | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 Previous | The Weighted ETG of the previous day at 97.5% confidence level | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 Previous | The Weighted ETG of the previous day at 99% confidence level | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## Scenario name(s)

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ETG Scenario Name(s) | List of scenarios contributing to the ETG. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 Scenario Name(s) | List of scenario names contributing to the ETG 97.5 calculation | |
| ETG 99 Scenario Name(s) | List of scenario names contributing to the ETG 99 calculation | |
| Weighted ETG Scenario Name(s) | Scenarios that contribute to the weighted ETG. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 Scenario Name(s) | Scenarios that contribute to the weighted ETG at 97.5% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 Scenario Name(s) | Scenarios that contribute to the weighted ETG at 99% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## Values

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ETG Values | PnL values that contribute to the ETG. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG Values | PnL values that contribute to the weighted ETG. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 Values | PnL values that contribute to the weighted ETG at 97.5% confidence level. | |
| Weighted ETG 99 Values | PnL values that contribute to the weighted ETG at 99% confidence level. | |

## With % difference

> [!NOTE]
>
> All measures in this section output a string.

| Measure | Description | Relevant context values |
| - | - | - |
| ETG with % Difference | ETG with percentage difference in brackets. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 with % Difference | ETG 97.5 with percentage difference in brackets. | |
| ETG 99 with % Difference | ETG 99 with percentage difference in brackets. | |
| Weighted ETG with % Difference | Weighted ETG with percentage difference in brackets. | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 with % Difference | Weighted ETG with percentage difference in brackets at 97.5% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 with % Difference | Weighted ETG with percentage difference in brackets at 99% confidence level. | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

## Booking

### Incremental booking

| Measure | Description | Related methodologies | Relevant context values | Required hierarchies |
| - | - | - | - | - |
| ETG Incremental Booking | Incremental variation of the ETG that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |
| ETG 97.5 Incremental Booking | Incremental variation of the ETG 97.5 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | BookHierarchy |
| ETG 99 Incremental Booking | Incremental variation of the ETG 99 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | BookHierarchy |
| Weighted ETG Incremental Booking | Incremental variation of the Weighted ETG that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |
| Weighted ETG 97.5 Incremental Booking | Incremental variation of the Weighted ETG 97.5 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |
| Weighted ETG 99 Incremental Booking | Incremental variation of the Weighted ETG 99 that computes the contribution of the nodes along the BookHierarchy. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | BookHierarchy |

**ETG Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 97.5 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 99 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 97.5 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 99 Incremental Booking**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [BookHierarchy](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/organization.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated booking

| Measure | Description | Related methodologies |
| - | - | - |
| ETG LEstimated Booking | Contribution of the upper Booking of Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 97.5 LEstimated Booking | Contribution of the upper Booking of ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 99 LEstimated Booking | Contribution of the upper Booking of ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG LEstimated Booking | Contribution of the upper Booking of Weighted Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 97.5 LEstimated Booking | Contribution of the upper Booking of Weighted ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 99 LEstimated Booking | Contribution of the upper Booking of Weighted ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Reference level

### Incremental reference level

| Measure | Description | Related methodologies | Relevant context values |
| - | - | - | - |
| ETG Incremental Reference Level | Incremental variation of the ETG. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 Incremental Reference Level | Incremental variation of the ETG 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 99 Incremental Reference Level | Incremental variation of the ETG 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG Incremental Reference Level | Incremental variation of the Weighted ETG. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 Incremental Reference Level | Incremental variation of the Weighted ETG 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 Incremental Reference Level | Incremental variation of the Weighted ETG 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

**ETG Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 97.5 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 99 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 97.5 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 99 Incremental Reference Level**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the level defined by the [ReferenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated reference level

| Measure | Description | Related methodologies |
| - | - | - |
| ETG LEstimated Reference Level | Contribution of the upper Reference Level of Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 97.5 LEstimated Reference Level | Contribution of the upper Reference Level of ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 99 LEstimated Reference Level | Contribution of the upper Reference Level of ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG LEstimated Reference Level | Contribution of the upper Reference Level of Weighted Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 97.5 LEstimated Reference Level | Contribution of the upper Reference Level of Weighted ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 99 LEstimated Reference Level | Contribution of the upper Reference Level of Weighted ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Top

### Incremental top

| Measure | Description | Related methodologies | Relevant context values |
| - | - | - | - |
| ETG Incremental Top | Incremental variation of the ETG. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| ETG 97.5 Incremental Top | Incremental variation of the ETG 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| ETG 99 Incremental Top | Incremental variation of the ETG 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | |
| Weighted ETG Incremental Top | Incremental variation of the Weighted ETG. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 97.5 Incremental Top | Incremental variation of the Weighted ETG 97.5. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |
| Weighted ETG 99 Incremental Top | Incremental variation of the Weighted ETG 99. Please refer to the Incremental Measures chapter linked below. | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) |

**ETG Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 97.5 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 99 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 97.5 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 99 Incremental Top**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its value at the grand total location. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated top

| Measure | Description | Related methodologies |
| - | - | - |
| ETG LEstimated Top | Contribution of the upper Top of Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 97.5 LEstimated Top | Contribution of the upper Top of ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 99 LEstimated Top | Contribution of the upper Top of ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG LEstimated Top | Contribution of the upper Top of Weighted Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 97.5 LEstimated Top | Contribution of the upper Top of Weighted ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 99 LEstimated Top | Contribution of the upper Top of Weighted ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |

## Trades

### Incremental trades

> [!NOTE]
>
> ETG base has no Incremental Trades measure. This section covers ETG 97.5, ETG 99, and all Weighted ETG variants.

| Measure | Description | Related methodologies | Relevant context values | Required hierarchies |
| - | - | - | - | - |
| ETG 97.5 Incremental Trades | Incremental variation of the ETG 97.5 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | Trades |
| ETG 99 Incremental Trades | Incremental variation of the ETG 99 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | | Trades |
| Weighted ETG Incremental Trades | Incremental variation of the Weighted ETG that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md), [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |
| Weighted ETG 97.5 Incremental Trades | Incremental variation of the Weighted ETG 97.5 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |
| Weighted ETG 99 Incremental Trades | Incremental variation of the Weighted ETG 99 that computes the contribution of trades. Refer to the Incremental Measures chapter | [Incremental](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) | [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) | Trades |

**ETG 97.5 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**ETG 99 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as an ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a confidence level defined by the [ETGConfidenceLevel](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) context value and the [WeightedVaRLambda](https://docs.activeviam.com/solutions/market-risk/6.0/cube/context-values.md) decay factor, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 97.5 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 97.5% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

**Weighted ETG 99 Incremental Trades**

The sum of the `PnLVector` field of the [TradePnLs](https://docs.activeviam.com/solutions/market-risk/6.0/datastore/vares/trade-pnl.md) store is used to compute the weighted etg with two more steps:

1. The [Sub PnL Vector](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/sub-vector.md) transformation to produce `VaRSubVector`.
2. The [FX Effect on VaR](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/fx-effect-on-var.md) calculation to convert it to the display currency as `VaRFXVector`.

The resulting `VaRFXVector` is compared to its drill-up value along the [Trades](https://docs.activeviam.com/solutions/market-risk/6.0/cube/dimensions/booking.md) hierarchy. The [Incremental Measures](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/incremental.md) algorithm is used as the comparator. The compared value is displayed as a Weighted ETG measure with a 99% confidence level, using the [VaR Interpolation](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/var-interpolation.md) method.

### LEstimated trades

| Measure | Description | Related methodologies |
| - | - | - |
| ETG LEstimated Trades | Contribution of the upper Trades of Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 97.5 LEstimated Trades | Contribution of the upper Trades of ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| ETG 99 LEstimated Trades | Contribution of the upper Trades of ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG LEstimated Trades | Contribution of the upper Trades of Weighted Expected Tail Gain | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 97.5 LEstimated Trades | Contribution of the upper Trades of Weighted ETG 97.5 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
| Weighted ETG 99 LEstimated Trades | Contribution of the upper Trades of Weighted ETG 99 | [Lestimated](https://docs.activeviam.com/solutions/market-risk/6.0/calculations/lestimated.md) |
