Class: PortfolioState
State-full representation of a Portfolio that describes all the positions held at a given time, in various states which can be either traded, settled, etc., with lineage information to the previous state
URI: common_domain_model:PortfolioState
classDiagram
class PortfolioState
click PortfolioState href "../PortfolioState/"
PortfolioState : lineage
PortfolioState --> "1" Lineage : lineage
click Lineage href "../Lineage/"
PortfolioState : positions
PortfolioState --> "*" Position : positions
click Position href "../Position/"
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| positions | * Position |
The list of positions, each containing a Quantity and a Product | direct |
| lineage | 1 Lineage |
Pointer to the previous PortfolioState and new Event(s) leading to the curren… | direct |
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| Exposure | tradePortfolio | range | PortfolioState |
| Lineage | portfolioStateReference | range | PortfolioState |
| Portfolio | portfolioState | range | PortfolioState |
Comments
Section titled “Comments”- Rosetta condition Initialisation is not stated in LinkML: if lineage -> portfolioStateReference is absent then positions is absent and lineage -> eventReference is absent
- Rosetta condition NonTransferable is not stated in LinkML: positions -> product as NonTransferableProduct exists
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Annotations
Section titled “Annotations”| property | value |
|---|---|
| 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:PortfolioState |
| native | common_domain_model:PortfolioState |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: PortfolioStateannotations: rosetta_metadata: tag: rosetta_metadata value: keydescription: State-full representation of a Portfolio that describes all the positions held at a given time, in various states which can be either traded, settled, etc., with lineage information to the previous statecomments:- 'Rosetta condition Initialisation is not stated in LinkML: if lineage -> portfolioStateReference is absent then positions is absent and lineage -> eventReference is absent'- 'Rosetta condition NonTransferable is not stated in LinkML: positions -> product as NonTransferableProduct exists'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: positions: name: positions description: The list of positions, each containing a Quantity and a Product. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_position rank: 1000 domain_of: - PortfolioState range: Position multivalued: true lineage: name: lineage description: Pointer to the previous PortfolioState and new Event(s) leading to the current (new) state. Previous PortfolioState in the Lineage can be Null in case this is the start of the chain of Events. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_position rank: 1000 domain_of: - PortfolioState range: Lineage required: trueInduced
Section titled “Induced”name: PortfolioStateannotations: rosetta_metadata: tag: rosetta_metadata value: keydescription: State-full representation of a Portfolio that describes all the positions held at a given time, in various states which can be either traded, settled, etc., with lineage information to the previous statecomments:- 'Rosetta condition Initialisation is not stated in LinkML: if lineage -> portfolioStateReference is absent then positions is absent and lineage -> eventReference is absent'- 'Rosetta condition NonTransferable is not stated in LinkML: positions -> product as NonTransferableProduct exists'from_schema: https://w3id.org/lmodel/common-domain-modelattributes: positions: name: positions description: The list of positions, each containing a Quantity and a Product. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_position rank: 1000 owner: PortfolioState domain_of: - PortfolioState range: Position multivalued: true lineage: name: lineage description: Pointer to the previous PortfolioState and new Event(s) leading to the current (new) state. Previous PortfolioState in the Lineage can be Null in case this is the start of the chain of Events. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_event_position rank: 1000 owner: PortfolioState domain_of: - PortfolioState range: Lineage required: true