Skip to content

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
used by used in type used
Exposure tradePortfolio range PortfolioState
Lineage portfolioStateReference range PortfolioState
Portfolio portfolioState range PortfolioState
  • 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
property value
rosetta_metadata key
Mapping Type Mapped Value
self common_domain_model:PortfolioState
native common_domain_model:PortfolioState
name: PortfolioState
annotations:
rosetta_metadata:
tag: rosetta_metadata
value: key
description: 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
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'
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
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: true
name: PortfolioState
annotations:
rosetta_metadata:
tag: rosetta_metadata
value: key
description: 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
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'
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
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