Class: TradeState
Defines the fundamental financial information that can be changed by a Primitive Event and by extension any business or life-cycle event. Each TradeState specifies where a Trade is in its life-cycle. TradeState is a root type and as such, can be created independently to any other CDM data type, but can also be used as part of the CDM Event Model.
URI: common_domain_model:TradeState
classDiagram
class TradeState
click TradeState href "../TradeState/"
TradeState : observationHistory
TradeState --> "*" ObservationEvent : observationHistory
click ObservationEvent href "../ObservationEvent/"
TradeState : resetHistory
TradeState --> "*" Reset : resetHistory
click Reset href "../Reset/"
TradeState : state
TradeState --> "0..1" State : state
click State href "../State/"
TradeState : trade
TradeState --> "1" Trade : trade
click Trade href "../Trade/"
TradeState : transferHistory
TradeState --> "*" TransferState : transferHistory
click TransferState href "../TransferState/"
TradeState : valuationHistory
TradeState --> "*" Valuation : valuationHistory
click Valuation href "../Valuation/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| trade | 1 Trade |
Represents the Trade that has been effected by a business or life-cycle event | direct |
| state | 0..1 State |
Represents the State of the Trade through its life-cycle | direct |
| resetHistory | * Reset |
Represents the updated Trade attributes which can change as the result of a r… | direct |
| transferHistory | * TransferState |
Represents the updated Trade attributes which can change as the result of a t… | direct |
| observationHistory | * ObservationEvent |
Represents the observed events related to a particular product or process, su… | direct |
| valuationHistory | * Valuation |
direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| BillingRecord | tradeState | range | TradeState |
| BillingRecordInstruction | tradeState | range | TradeState |
| BusinessEvent | after | range | TradeState |
| CalculateTransferInstruction | tradeState | range | TradeState |
| ClearingInstruction | alphaContract | range | TradeState |
| CollateralPosition | tradeReference | range | TradeState |
| Instruction | before | range | TradeState |
| CounterpartyPosition | tradeReference | range | TradeState |
| Position | tradeReference | range | TradeState |
| PositionBase | tradeReference | range | TradeState |
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Annotations
Section titled “Annotations”| property | value |
|---|---|
| rosetta_root_type | true |
| rosetta_metadata | key |
Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:TradeState |
| native | common_domain_model:TradeState |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: TradeStateannotations: rosetta_root_type: tag: rosetta_root_type value: 'true' rosetta_metadata: tag: rosetta_metadata value: keydescription: Defines the fundamental financial information that can be changed by a Primitive Event and by extension any business or life-cycle event. Each TradeState specifies where a Trade is in its life-cycle. TradeState is a root type and as such, can be created independently to any other CDM data type, but can also be used as part of the CDM Event Model.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: trade: name: trade description: Represents the Trade that has been effected by a business or life-cycle event. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - TradePricingReport - TradeState range: Trade required: true state: name: state description: Represents the State of the Trade through its life-cycle. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - Address - ClosedState - CounterpartyPositionState - TradeState range: State resetHistory: name: resetHistory description: Represents the updated Trade attributes which can change as the result of a reset event. Only the changed values are captured, leaving the remaining data attributes empty. See Create_Reset function for further details on how TradeState is used in the Reset event. The TradeState data type is used to maintain backwards compatibility with the current Reset mechanism. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common rank: 1000 domain_of: - TradeState range: Reset multivalued: true transferHistory: name: transferHistory description: Represents the updated Trade attributes which can change as the result of a transfer event. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common rank: 1000 domain_of: - TradeState range: TransferState multivalued: true observationHistory: name: observationHistory description: Represents the observed events related to a particular product or process, such as credit events or corporate actions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - CounterpartyPositionState - TradeState range: ObservationEvent multivalued: true valuationHistory: name: valuationHistory from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common domain_of: - CounterpartyPositionState - TradeState range: Valuation multivalued: trueInduced
Section titled “Induced”name: TradeStateannotations: rosetta_root_type: tag: rosetta_root_type value: 'true' rosetta_metadata: tag: rosetta_metadata value: keydescription: Defines the fundamental financial information that can be changed by a Primitive Event and by extension any business or life-cycle event. Each TradeState specifies where a Trade is in its life-cycle. TradeState is a root type and as such, can be created independently to any other CDM data type, but can also be used as part of the CDM Event Model.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: trade: name: trade description: Represents the Trade that has been effected by a business or life-cycle event. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: TradeState domain_of: - TradePricingReport - TradeState range: Trade required: true state: name: state description: Represents the State of the Trade through its life-cycle. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: TradeState domain_of: - Address - ClosedState - CounterpartyPositionState - TradeState range: State resetHistory: name: resetHistory description: Represents the updated Trade attributes which can change as the result of a reset event. Only the changed values are captured, leaving the remaining data attributes empty. See Create_Reset function for further details on how TradeState is used in the Reset event. The TradeState data type is used to maintain backwards compatibility with the current Reset mechanism. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common rank: 1000 owner: TradeState domain_of: - TradeState range: Reset multivalued: true transferHistory: name: transferHistory description: Represents the updated Trade attributes which can change as the result of a transfer event. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common rank: 1000 owner: TradeState domain_of: - TradeState range: TransferState multivalued: true observationHistory: name: observationHistory description: Represents the observed events related to a particular product or process, such as credit events or corporate actions. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: TradeState domain_of: - CounterpartyPositionState - TradeState range: ObservationEvent multivalued: true valuationHistory: name: valuationHistory from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_common owner: TradeState domain_of: - CounterpartyPositionState - TradeState range: Valuation multivalued: true