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.

Download sample file: TradePnLs.csv The calculation of VaR and similar measures (Marginal VaR, Expected Shortfall) form the backbone of Atoti Market Risk. Input data consists of trade-level/position-level vectors of PnL simulations. The reference data model proposes a breakdown by risk factor - which may or may not be used - and a single set of PnLs per trade. This Trade PnL file type is identified using the pattern: **TradePnLs*.csv (as specified by mr.var.file-patterns.trade-pnl). This file is loaded using the TradePnLs topic. See the Topic Aliases table for an understanding of the topic aliases associated with each topic. For information on the glob patterns used and how to customize them, see note on File name patterns
FieldKeyNullFieldTypeRiskClassDescriptionExample
AsOfDateYNString with format ‘YYYY-MM-DD’Indicates the date of the file. See Note on AsOfDate.
TradeIdYNStringIf TradeId comes from multiple systems you may need to prepend source system to the ID for uniqueness. Note that in certain cases, the TradeId could be for adjustment purposes. In such cases we might only have one PnL vector per Book or desk. The TradeId should contain this information clearly (ADDON or ADJ).“IR_IRSWAP_LIBOR3M”, “EQ_12345677”, etc.
ScenarioSetYNStringName of the scenario set for the PnL vector.“Historical”, “Stress”
CalculationIdYNStringName of the PnL vector calculation run. There may be several runs per AsOfDate.1
MarketDataSetYNStringThe market data set that should be used when retrieving rates for FX conversion.Official EOD
RiskFactorYNStringUnderlying risk factor (may be more than one) of the risk class. It is expected that the risk factor name encompasses the definition of the risk factor per the FRTB specification (paragraphs 59-66) or remains as close as possible to this regulation. This field is mandatory.BHP Billiton_Credit spread
RiskClassNNStringDefines the risk class that the PnL vector is computed for.CSR non-Sec
SensitivityNameNYStringName of the sensitivity that the PnL is attributed to.“Delta”
CcyNNStringCurrency in which the PnL values are expressed.EUR
MTMNYDoubleMark-to-market value of the trade.1245.89
PnL[]NNDouble Array, separated by semicolonsVector of profit and loss values.