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

# MARKET_SHIFTS_VECTOR

The MARKET\_SHIFTS\_VECTOR table contains the market shifts vector for the Taylor VaR calculations and FX shifts for FX risk computation.

This table is created when using a database that does not [support array type fields](https://docs.activeviam.com/engine/java-sdk/6.1/directquery/directquery-vectors.md#native-support). If array type fields are available, the market shifts vector is stored as an
array in the [MARKET\_SHIFTS](https://docs.activeviam.com/solutions/market-risk/6.0/database/market_shifts.md) table.

| Column Name | Type | Not Null | Default Value[^1] | Description |
| - | - | - | - | - |
| VECTOR\_INDEX | INT | Y | | Index in the market shift vector. |
| AS\_OF\_DATE | DATE | Y | | Timestamp (at close of business) for the data. |
| RISK\_FACTOR\_ID | STRING | Y | N/A | The internal risk factor/bucket identifier: instrument, curve, vol surface/cube identifier. |
| SCENARIO\_SET | STRING | Y | N/A | Name of the set of scenarios. Example: "Historical", "Stress". |
| TENOR | STRING | Y | N/A | Tenor label, such as 3M, 5Y, and so on, if applicable. |
| MATURITY | STRING | Y | N/A | Maturity label, such as 3M, 5Y, and so on, if applicable. |
| MONEYNESS | STRING | Y | N/A | Moneyness label, if applicable. |
| VALUES | DOUBLE | Y | | Market shift value corresponding to the index. |

## Unique Key

| Columns |
| - |
| VECTOR\_INDEX |
| AS\_OF\_DATE |
| RISK\_FACTOR\_ID |
| SCENARIO\_SET |
| TENOR |
| MATURITY |
| MONEYNESS |

## Outgoing Joins

| Target Table | Source Columns | Target Columns |
| - | - | - |
| [MARKET\_SHIFTS](https://docs.activeviam.com/solutions/market-risk/6.0/database/market_shifts.md) | AS\_OF\_DATE RISK\_FACTOR\_ID SCENARIO\_SET TENOR MATURITY MONEYNESS  | AS\_OF\_DATE RISK\_FACTOR\_ID SCENARIO\_SET TENOR MATURITY MONEYNESS  |

[^1]: If the default value is marked as empty, it means that the default value is 'null' for nullable fields, and that a value needs to be explicitly set for non-nullable fields.
