Interface PortfolioState

All Superinterfaces:
com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
PortfolioState.PortfolioStateBuilder
All Known Implementing Classes:
PortfolioState.PortfolioStateBuilderImpl, PortfolioState.PortfolioStateImpl

@RosettaDataType(value="PortfolioState", builder=PortfolioStateBuilderImpl.class, version="5.30.0") @RuneDataType(value="PortfolioState", model="cdm", builder=PortfolioStateBuilderImpl.class, version="5.30.0") public interface PortfolioState extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
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
Version:
5.30.0
  • Field Details

  • Method Details

    • getPositions

      List<? extends Position> getPositions()
      The list of positions, each containing a Quantity and a Product.
    • getLineage

      Lineage getLineage()
      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.
    • getMeta

      com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
    • build

      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends PortfolioState> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends PortfolioState> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject