TradeLot
Type CDM 7.2.0Specifies the price and quantity of a trade lot, where the same product could be traded multiple times with the same counterparty but in different lots (at a different date, in a different quantity and at a different price). One trade lot combined with a product definition specifies the entire economics of a trade. The lifecycle mechanics of each such trade lot (e.g. cashflow payments) is independent of the other lots.
Attributes
All 2 declared on TradeLot. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| lotIdentifier | Identifier | 0..* | Specifies one or more identifiers for the lot, if any. |
| priceQuantity | PriceQuantity | 1..* | Specifies the settlement characteristics of a trade lot: price, quantity, observable (optionally) and the settlement terms. This attribute has a multiple cardinality to allow to specify the price, quantity and observable of different legs in a single, composite product (e.g. a Swap). |
Referenced by
1 type holds a TradeLot as an attribute.
Functions
Model functions that produce or consume this type. These are the CDM's own behaviour — the logic a correct implementation has to match.
| Function | Role | Description |
|---|---|---|
| MapTradeLotList | returns | — |
| FilterTradeLot | returns | Filter list of TradeLot based on TradeLot->lotIdentifier. |
| ReplaceTradeLot | returns | Replace TradeLot in with matching TradeLot->lotIdentifier. |
| Create_ShapingInstruction | takes | Creates a set of instructions to shape a trade based on shaped quantities and a package ID. The original trade is closed and split into (smaller) shaped trades based on a set of trade lots containing the shaped quantities and an identifier for each shaped trade. A package component is created based on the package ID and the list of identifiers for the shaped trades. That package component is then added onto the execution details of every shaped trade. |
| StandardizedScheduleFXSwapNotional | takes | Extracts the notional amount and currency of an FX swap. |
| FilterTradeLot | takes | Filter list of TradeLot based on TradeLot->lotIdentifier. |
| AddTradeLot | takes | Add a TradeLot to an existing list of TradeLots. |
| ReplaceTradeLot | takes | Replace TradeLot in with matching TradeLot->lotIdentifier. |
| CompareTradeLot | takes | Compare the Quantity in TradeLot 1 to the Quantity (with the same unit of amount) in TradeLot 2, based on the CompareOp enum. |
| CompareTradeLotToAmount | takes | Compare the Quantity amount in TradeLot to the given amount (regardless of unit of amount), based on the CompareOp enum. |
Open TradeLot in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.