FX Swap
Spot & forwards CDM 7.2.0An FX swap transaction is where the counterparties agree to two FX transaction on two separate dates, typically the spot date and another forward date.
Classification
How the product classifies itself. Values marked calculated were produced by the CDM's own qualification functions rather than asserted by the sender.
| Scheme | Qualifier | Source |
|---|---|---|
| Other | FxSwap | Asserted |
| ISDA | ForeignExchange_Swap | Calculated by CDM |
Economics in this example
Read out of the example itself. These are the values FINOS published, not a recommendation — use the example for structure, not for market data.
- Trade date
- 2002-01-23
- Currencies
- GBP, USD
- Parties
- 2
- Roles
- Party1, Party2
CDM types used
Every type this product instantiates. Each one links to its entry in the model reference, so you can see the attributes and conditions behind it.
| Type | Namespace |
|---|---|
| Cash | base · staticdata · asset · common |
| Observable | observable · asset |
| SettlementPayout | product · template |
| TradeState | event · common |
The CDM JSON
The full canonical document — 75 values, rooted at TradeState. Download it, or open it in the viewer to walk the tree.
Published for CDM 7 and CDM 6 — the two differ in more
than formatting, so each is the document as that release publishes it. The summary
above is read from the CDM 7 document.
{
"@model": "cdm",
"@type": "cdm.event.common.TradeState",
"@version": "0.0.0.master-SNAPSHOT",
"@key": "30c33810",
"trade": {
"product": {
"taxonomy": [
{
"source": "Other",
"value": {
"name": {
"@scheme": "http://www.fpml.org/coding-scheme/product-type-simple",
"@data": "FxSwap"
}
}
},
{
"source": "ISDA",
"value": {
"name": {
"@data": "ForeignExchange_Swap"
}
},
"calculated": true
}
],
"economicTerms": {
"payout": [
{
"@type": "cdm.product.template.SettlementPayout",
"payerReceiver": {
"payer": "Party1",
"receiver": "Party2"
},
"priceQuantity": {
"quantitySchedule": {
"@ref:scoped": "quantity-1"
},
"priceSchedule": [
{
"@ref:scoped": "price-1"
}
]
},
"settlementTerms": {
"settlementDate": {
"valueDate": "2002-01-25"
}
},
"underlier": {
"@type": "cdm.observable.asset.Observable",
"@ref:scoped": "observable-1"
}
},
{
"@type": "cdm.product.template.SettlementPayout",
"payerReceiver": {
"payer": "Party2",
"receiver": "Party1"
},
"priceQuantity": {
"quantitySchedule": {
"@ref:scoped": "quantity-2"
},
"priceSchedule": [
{
"@ref:scoped": "price-2"
}
]
},
"settlementTerms": {
"settlementDate": {
"valueDate": "2002-02-25"
}
},
"underlier": {
"@type": "cdm.observable.asset.Observable",
"@ref:scoped": "observable-2"
}
}
]
}
},
"tradeLot": [
{
"priceQuantity": [
{
"price": [
{
"@key:scoped": "price-1",
"value": 1.48,
"unit": {
"currency": {
"@data": "USD"
}
},
"perUnitOf": {
"currency": {
"@data": "GBP"
}
},
"priceType": "ExchangeRate",
"derivedQuantity": {
"value": 14800000,
"unit": {
"currency": {
"@data": "USD"
}
}
}
}
],
"quantity": {
"@key:scoped": "quantity-1",
"value": 10000000,
"unit": {
"currency": {
"@data": "GBP"
}
}
},
"observable": {
"@key:scoped": "observable-1",
"@data": {
"@type": "cdm.base.staticdata.asset.common.Cash",
"identifier": [
{
"identifier": {
"@data": "GBP"
},
"identifierType": "CurrencyCode"
}
],
"assetType": "Cash"
}
}
},
{
"price": [
{
"@key:scoped": "price-2",
"value": 1.5,
"unit": {
"currency": {
"@data": "USD"
}
},
"perUnitOf": {
"currency": {
"@data": "GBP"
}
},
"priceType": "ExchangeRate",
"derivedQuantity": {
"value": 15000000,
"unit": {
"currency": {
"@data": "USD"
}
}
}
}
],
"quantity": {
"@key:scoped": "quantity-2",
"value": 10000000,
"unit": {
"currency": {
"@data": "GBP"
}
}
},
"observable": {
"@key:scoped": "observable-2",
"@data": {
"@type": "cdm.base.staticdata.asset.common.Cash",
"identifier": [
{
"identifier": {
"@data": "GBP"
},
"identifierType": "CurrencyCode"
}
],
"assetType": "Cash"
}
}
}
]
}
],
"counterparty": [
{
"role": "Party1",
"partyReference": {
"@ref:external": "party2"
}
},
{
"role": "Party2",
"partyReference": {
"@ref:external": "party1"
}
}
],
"tradeIdentifier": [
{
"issuerReference": {
"@ref:external": "party1"
},
"assignedIdentifier": [
{
"identifier": {
"@scheme": "http://www.partyA.com/swaps/trade-id",
"@data": "PARTYAUS33"
}
}
]
},
{
"issuerReference": {
"@ref:external": "party2"
},
"assignedIdentifier": [
{
"identifier": {
"@scheme": "http://www.db.com/swaps/trade-id",
"@data": "DEUTDEFF"
}
}
]
}
],
"tradeDate": {
"@data": "2002-01-23"
},
"party": [
{
"@key:external": "party1",
"partyId": [
{
"identifier": {
"@scheme": "http://www.fpml.org/coding-scheme/external/iso17442",
"@data": "549300VBWWV6BYQOWM67"
},
"identifierType": "LEI"
}
]
},
{
"@key:external": "party2",
"partyId": [
{
"identifier": {
"@scheme": "http://www.fpml.org/coding-scheme/external/iso17442",
"@data": "213800QILIUD4ROSUO03"
},
"identifierType": "LEI"
}
]
}
]
}
} {
"trade": {
"product": {
"taxonomy": [
{
"source": "Other",
"value": {
"name": {
"value": "FxSwap",
"meta": {
"scheme": "http://www.fpml.org/coding-scheme/product-type-simple"
}
}
}
},
{
"source": "ISDA",
"productQualifier": "ForeignExchange_Swap"
}
],
"economicTerms": {
"payout": [
{
"SettlementPayout": {
"payerReceiver": {
"payer": "Party1",
"receiver": "Party2"
},
"priceQuantity": {
"resolvedQuantity": {
"value": 14800000,
"unit": {
"currency": {
"value": "USD"
}
}
},
"quantitySchedule": {
"address": {
"scope": "DOCUMENT",
"value": "quantity-1"
}
},
"priceSchedule": [
{
"address": {
"scope": "DOCUMENT",
"value": "price-1"
}
}
],
"meta": {
"globalKey": "47b120ab"
}
},
"settlementTerms": {
"settlementDate": {
"valueDate": "2002-01-25",
"meta": {
"globalKey": "3e9059"
}
},
"meta": {
"globalKey": "3e9059"
}
},
"underlier": {
"Observable": {
"address": {
"scope": "DOCUMENT",
"value": "observable-1"
}
}
}
},
"meta": {
"globalKey": "3d9adfb3"
}
},
{
"SettlementPayout": {
"payerReceiver": {
"payer": "Party2",
"receiver": "Party1"
},
"priceQuantity": {
"resolvedQuantity": {
"value": 15000000,
"unit": {
"currency": {
"value": "USD"
}
}
},
"quantitySchedule": {
"address": {
"scope": "DOCUMENT",
"value": "quantity-2"
}
},
"priceSchedule": [
{
"address": {
"scope": "DOCUMENT",
"value": "price-2"
}
}
],
"meta": {
"globalKey": "99d719c2"
}
},
"settlementTerms": {
"settlementDate": {
"valueDate": "2002-02-25",
"meta": {
"globalKey": "3e9099"
}
},
"meta": {
"globalKey": "3e9099"
}
},
"underlier": {
"Observable": {
"address": {
"scope": "DOCUMENT",
"value": "observable-2"
}
}
}
},
"meta": {
"globalKey": "1e2d6fa8"
}
}
]
},
"meta": {
"globalKey": "23beeac6"
}
},
"tradeLot": [
{
"priceQuantity": [
{
"price": [
{
"value": {
"value": 1.48,
"unit": {
"currency": {
"value": "USD"
}
},
"perUnitOf": {
"currency": {
"value": "GBP"
}
},
"priceType": "ExchangeRate"
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "price-1"
}
]
}
}
],
"quantity": [
{
"value": {
"value": 10000000,
"unit": {
"currency": {
"value": "GBP"
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "quantity-1"
}
]
}
},
{
"value": {
"value": 14800000,
"unit": {
"currency": {
"value": "USD"
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "quantity-3"
}
]
}
}
],
"observable": {
"value": {
"Asset": {
"Cash": {
"identifier": [
{
"identifier": {
"value": "GBP"
},
"identifierType": "CurrencyCode"
}
]
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "observable-1"
}
]
}
},
"meta": {
"globalKey": "7161b347"
}
},
{
"price": [
{
"value": {
"value": 1.5,
"unit": {
"currency": {
"value": "USD"
}
},
"perUnitOf": {
"currency": {
"value": "GBP"
}
},
"priceType": "ExchangeRate"
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "price-2"
}
]
}
}
],
"quantity": [
{
"value": {
"value": 10000000,
"unit": {
"currency": {
"value": "GBP"
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "quantity-2"
}
]
}
},
{
"value": {
"value": 15000000,
"unit": {
"currency": {
"value": "USD"
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "quantity-4"
}
]
}
}
],
"observable": {
"value": {
"Asset": {
"Cash": {
"identifier": [
{
"identifier": {
"value": "GBP"
},
"identifierType": "CurrencyCode"
}
]
}
}
},
"meta": {
"location": [
{
"scope": "DOCUMENT",
"value": "observable-2"
}
]
}
},
"meta": {
"globalKey": "67f3ec67"
}
}
]
}
],
"counterparty": [
{
"role": "Party1",
"partyReference": {
"globalReference": "a41bc6e9",
"externalReference": "party2"
}
},
{
"role": "Party2",
"partyReference": {
"globalReference": "4a5d2d9f",
"externalReference": "party1"
}
}
],
"tradeIdentifier": [
{
"issuerReference": {
"globalReference": "4a5d2d9f",
"externalReference": "party1"
},
"assignedIdentifier": [
{
"identifier": {
"value": "PARTYAUS33",
"meta": {
"scheme": "http://www.partyA.com/swaps/trade-id"
}
}
}
],
"meta": {
"globalKey": "cf15004e"
}
},
{
"issuerReference": {
"globalReference": "a41bc6e9",
"externalReference": "party2"
},
"assignedIdentifier": [
{
"identifier": {
"value": "DEUTDEFF",
"meta": {
"scheme": "http://www.db.com/swaps/trade-id"
}
}
}
],
"meta": {
"globalKey": "5246e55"
}
}
],
"tradeDate": {
"value": "2002-01-23",
"meta": {
"globalKey": "3e9057"
}
},
"party": [
{
"partyId": [
{
"identifier": {
"value": "549300VBWWV6BYQOWM67",
"meta": {
"scheme": "http://www.fpml.org/coding-scheme/external/iso17442"
}
},
"identifierType": "LEI",
"meta": {
"globalKey": "4a5d2d9f"
}
}
],
"meta": {
"globalKey": "4a5d2d9f",
"externalKey": "party1"
}
},
{
"partyId": [
{
"identifier": {
"value": "213800QILIUD4ROSUO03",
"meta": {
"scheme": "http://www.fpml.org/coding-scheme/external/iso17442"
}
},
"identifierType": "LEI",
"meta": {
"globalKey": "a41bc6e9"
}
}
],
"meta": {
"globalKey": "a41bc6e9",
"externalKey": "party2"
}
}
],
"meta": {
"globalKey": "71c4d6b7"
}
},
"meta": {
"globalKey": "71c4d6b7"
}
} Open this product
Walk the structure in the free viewer, or book it as a ticket in CDM Trader.