PortfolioState Class

The PortfolioState object includes properties that contain values for the portfolio and objects relating to the portfolio.

Namespace: portfoliomaestro

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Currency string Gets the type of currency for reporting performance results.
Public property Equity double Gets the current equity value of the portfolio using the follow formula:
InitialCapital + Profit(Loss) of Realized Positions + Profit(Loss) of Unrealized Positions.
Public property InitialCapital double Gets the initial capital of the backtest as specified in the Backtest window of PM.
Public property Name string Gets the name of the portfolio being referenced.
Public property RealizedTrades object Accesses the All, Long, and Short trade properties from the RealizedTradeSummaries object.
Public property StrategyGroup object Gets information about the current StrategyGroupState.
Public property UnrealizedTrades object Accesses the All, Long, and Short trade properties from the UnrealizedTradeSummaries object.
Public property Version int The version number of portfolio maestro.
Methods
  Name Description
Public property Create Initializes a new instance of the class.
Public property GetStrategyGroup Gets the StrategyGroupState object.
Inheritance Hierarchy

elsystem.Object

portfoliomaestro.PortfolioState