FINXIS.

UnitType

Type CDM 7.2.0

Defines the unit to be used for price, quantity, or other purposes

Extends —
Extended by —
Attributes 4
Namespace cdm.base.math

Attributes

All 4 declared on UnitType. Cardinality in amber is required.

NameTypeCard.Description
capacityUnit CapacityUnitEnum 0..1 Provides an enumerated value for a capacity unit, generally used in the context of defining quantities for commodities.
weatherUnit WeatherUnitEnum 0..1 Provides an enumerated values for a weather unit, generally used in the context of defining quantities for commodities.
financialUnit FinancialUnitEnum 0..1 Provides an enumerated value for financial units, generally used in the context of defining quantities for securities.
currency string 0..1 Defines the currency to be used as a unit for a price, quantity, or other purpose.

Conditions

Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.

UnitType Condition
Requires that a unit type must be set.
one-of

Referenced by

2 types hold an UnitType 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.

FunctionRoleDescription
GetMultiplierUnitTypeUnderlyingAsset returns —
GetUnitTypeForUnderlyingAsset returns —
MapUnitTypeWithScheme returns —
CompareQuantityByUnitOfAmount takes —
UnitEquals takes Compares two UnitType to check if all attributes match.
FilterQuantity takes Filter list of quantities based on unit type.
MapOptionStrikePrice takes —

Open UnitType 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.

Model Browser All 200+ releases
Parsed from CDM 7.2.0 · base-math-type.rosetta cdm.base.math