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 TRADE_ATTRIBUTES table contains the fields describing attributes of the trades.
Column NameTypeNot NullCube FieldDefault Value1Description
AS_OF_DATEDATEYTimestamp (at close of business) for the data.
TRADE_KEYSTRINGYN/AUnique Trade (or Position) ID.
BOOKSTRINGYBooksN/AThe book to map the trade to (must match the node in the Book Hierarchy).
LEGAL_ENTITYSTRINGYLegal EntitiesN/ALegal Entity to map the trade to (must match the node in the Legal Entity Hierarchy).
COUNTERPARTY_IDSTRINGYCounterpartyIdsN/ACounterparty to map the trade to (must match the node in the Counterparty Hierarchy).
NOTIONALDOUBLENotional of the trade/position.
NOTIONAL_CCYSTRINGYNotionalCurrenciesN/ACurrency of the notional trade.
TRADERSTRINGYTradersN/ATrader who performed the trade.
SALESSTRINGYSalesN/ASalesperson who performed the sale of the trade (if applicable).
INSTRUMENT_CLASSSTRINGYInstrumentClassesN/AHighest level of instrument classification.
INSTRUMENT_TYPESTRINGYInstrumentTypesN/AMain instrument classification.
INSTRUMENT_SUB_TYPESTRINGYInstrumentTypesN/ASub-level of instrument classification.
TRADE_DATEDATEYTradeDates1970-01-01Date of the execution of the trade.
TRADE_MATURITY_DATEDATEYTradeMaturityDates1970-01-01Maturity date of the trade.
VAR_INCLUSION_TYPESTRINGYRDefines on what basis to include the VaR of this trade:
  • ‘R’ for repricing
  • ‘S’ for sensitivity,
TRADE_SOURCESTRINGYTradeSourcesN/AIdentifier of the source system the trade was executed in.
TRADE_STATUSSTRINGYTradeStatusesLIVEStatus representing the step in the trade lifecycle.
ORIGINAL_NOTIONALDOUBLEYOriginalNotionalRepresents the notional at trade date.

Unique Key

Columns
AS_OF_DATE
TRADE_KEY

Incoming Joins

Source TableSource ColumnsTarget Columns
TRADEPNLSAS_OF_DATE
TRADE_KEY
AS_OF_DATE
TRADE_KEY
TRADE_SENSITIVITIESAS_OF_DATE
TRADE_KEY
AS_OF_DATE
TRADE_KEY
PNLAS_OF_DATE
TRADE_KEY
AS_OF_DATE
TRADE_KEY

Outgoing Joins

Target TableSource ColumnsTarget Columns
LEGAL_ENTITY_HIERARCHYAS_OF_DATE
LEGAL_ENTITY
AS_OF_DATE
LEGAL_ENTITY
COUNTERPARTY_HIERARCHYAS_OF_DATE
COUNTERPARTY_ID
AS_OF_DATE
COUNTERPARTY_ID
BOOK_HIERARCHYAS_OF_DATE
BOOK
AS_OF_DATE
BOOK
COUNTERPARTIESAS_OF_DATE
COUNTERPARTY_ID
AS_OF_DATE
COUNTERPARTY_ID

  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.  ↩︎