Skip to main content

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.

The TRADEPNLS_VECTOR table contains the PnL vectors used as inputs for VaR and ES computations. This table is created when using a database that does not support native vector aggregation. If vector aggregation is supported, the PnL vector is stored as an array in the TRADEPNLS table.
Column NameTypeNot NullCube FieldDescription
VECTOR_INDEXINTYIndex in the PnL vector.
AS_OF_DATEDATEYTimestamp (at close of business) for the data.
TRADE_KEYSTRINGYThe field contains the tradeID for full data or Book#VaR Inclusion for summary data.
SCENARIO_SETSTRINGYScenario SetsName of the scenario set for the PnL vector.
CALCULATION_IDSTRINGYCalculationIdsName of the PnL vector calculation run. There may be several runs per AsOfDate.
MARKET_DATA_SETSTRINGYThis field is not currently usedThe market data set that should be used when retrieving rates for FX conversion.
RISK_FACTORSTRINGYRisk FactorsUnderlying risk factor (may be more than one) of the risk class.
PNL_VECTORDOUBLEYPnL value corresponding to the index.

Unique Key

Columns
VECTOR_INDEX
AS_OF_DATE
TRADE_KEY
SCENARIO_SET
CALCULATION_ID
MARKET_DATA_SET
RISK_FACTOR

Outgoing Joins

Target TableSource ColumnsTarget Columns
TRADEPNLSAS_OF_DATE
TRADE_KEY
SCENARIO_SET
CALCULATION_ID
MARKET_DATA_SET
RISK_FACTOR
AS_OF_DATE
TRADE_KEY
SCENARIO_SET
CALCULATION_ID
MARKET_DATA_SET
RISK_FACTOR