SA ETL for Trade Attributes

This page covers the ETL specifics for the Trade Attributes files. It provides an overview of ETL for Trade Attributes, starting with a dataflow diagram for Trade Attributes.

Dataflow Diagram

Trade Attributes
SA ETL dataflow diagram for trade attributes files

Vectorisation and Interpolation

No vectorisation is used within the ETL procedure for Trade Attributes; therefore no interpolation is required either.

Normalisation

Trade Attributes-relevant Stores

The stores that are relevant for Trade Attributes are:

Stores
TradeBase Store
TradeMapping Store
SATradeDescription Store

Mapping of Trade Attributes fields onto the stores that they populate

Field from CSV file TradeBase

Store
TradeMapping

Store
SATradeDescription

Store
AsOfDate checkmark icon(AsOfDate) checkmark icon(AsOfDate) checkmark icon(AsOfDate)
TradeId checkmark icon(TradeId) checkmark icon(TradeId)
Book checkmark icon(Book)
LegalEntity checkmark icon(LegalEntity)
Notional checkmark icon(Notional)
NotionalCcy checkmark icon(NotionalCcy)
PresentValue checkmark icon(Notional)
PVCcy checkmark icon(PVCcy)
ResidualRisk checkmark icon(Residual Risk)
ExoticUnderlying checkmark icon(ExoticUnderlying)
OtherResidualRiskType checkmark icon(OtherResidualRiskType)

Tuple Publishers

The Tuple Publisher and Publisher Classes

The function of the TuplePublisher and its associated Publisher classes is to separate data in the incoming file row according to its relevance to particular stores and applying ETL logic to the incoming rows:

Tuple Publisher Class Publisher Class Function
TradesTuplePublisher
- Creates and publishes tuples to the TradeMapping store.

- Creates tuples to be published by the NotionalPublisher.

- Creates RRAO specific tuples for the TradeBase store, where applicable (if a row contains RRAO values, an entry for the TradeBase store will be created, with the RiskFactor, RiskClass and RiskMeasure fields set to “RRAO”).
NotionalPublisher
- Supertype is StaticDataPublisher.

- Takes incoming rows and commits them to the SATradeDescription store, after removing fully duplicated rows.

- No other logic applied.