FINXIS.

Instruction

Type CDM 7.2.0

Instruction to a function that will be used to perform a business event

Extends —
Extended by —
Attributes 2
Namespace cdm.event.common

Attributes

All 2 declared on Instruction. Cardinality in amber is required.

NameTypeCard.Description
primitiveInstruction PrimitiveInstruction 0..1 Specifies the primitive instructions that will be used to call primitive event functions.
before TradeState 0..1 Specifies the trade state that will be acted on by the primitive event functions.

Conditions

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

ExclusiveSplitPrimitive Condition
A split primitive is exclusive and cannot be combined with other primitives. Instead, the primitive instructions to be applied to each branch of the split must be specified as breakdowns in the split instruction itself.
if primitiveInstruction -> split exists
then primitiveInstruction -> split only exists
NewTrade Condition
There must be no before trade state if the primitive instructions contain an execution, and vice versa. An instruction only handles 1 trade at a time.
(if primitiveInstruction -> execution exists then before is absent else True)
    and (if before is absent then primitiveInstruction -> execution exists else True)

Referenced by

1 type holds an Instruction 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
Create_PairOffInstruction returns Creates a set of instructions to pair-off a set of trades based on a pair reference. A package component is created based on that pair reference and the list of identifiers for the underlying trades. That package component is then added onto the execution details of every underlying trade. The existing trades are not terminated.
Create_BusinessEvent takes Creates a business event from instructions containing primitive instructions and optionally a trade state.

Open Instruction 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 · event-common-type.rosetta cdm.event.common