Asset
Choice CDM 7.2.0An Asset is defined as something that can be owned and transferred in the financial markets. As a choice data type, one and only one of the attributes must be used.
Variants
Exactly one of these must be present. A choice type is how the CDM models “one of” without a discriminator field.
| Variant | Description |
|---|---|
| Cash | An Asset that consists solely of a monetary holding in a currency. The currency of the Cash asset is held in the string Identifier (from AssetBase) and the AssetIdTypeEnum must be set to define that a CurrencyCode is set. The function SetCashCurrency can be used to create (or update) a Cash object and the function GetCashCurrency can be used to retrieve the currency of a Cash object. |
| Commodity | Identifies a specific commodity by referencing a product identifier or by a product definition. |
| DigitalAsset | An Asset that exists only in digital form, eg Bitcoin or Ethereum, that is not backed by other Assets; excludes the digital representation of other Assets, eg coins or Tokenised assets. |
| Instrument | A type of Asset that is issued by one party to one or more others. |
Referenced by
4 types hold an Asset 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 |
|---|---|---|
| MapTransferCashAsset | returns | — |
| MapMoneyToTransferCashAsset | returns | — |
| MapAsset | returns | — |
| MapIdentifiedAssetToAssetListedDerivative | returns | — |
| MapIdentifiedAssetToAssetLoan | returns | — |
| MapIdentifiedAssetToAssetSecurity | returns | — |
| MapAssetCommodity | returns | — |
| MapCurrencyToAssetCash | returns | — |
Open Asset in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the choice type has changed. Free, no signup.