State
Type CDM 7.2.0Defines the state of a trade at a point in the Trade's life cycle. Trades have many state dimensions, all of which are represented here. For example, states useful for position keeping are represented alongside those needed for regulatory reporting.
Attributes
All 2 declared on State. Cardinality in amber is required.
| Name | Type | Card. | Description |
|---|---|---|---|
| closedState | ClosedState | 0..1 | Represents the qualification of what led to the trade's closure alongside the dates on which this closure took effect. |
| positionState | PositionStatusEnum | 0..1 | Identifies the state of the position, to distinguish if just executed, formed, already settled, closed, etc. |
Conditions
Validation rules the model enforces on this type, in Rune. An instance that breaks one of these is invalid CDM, whatever produced it.
if positionState = PositionStatusEnum -> Closed
then closedState exists Referenced by
2 types hold a State as an attribute.
Open State 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.