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 | |
![]() |
Currency | string | Gets the type of currency for reporting performance results. |
![]() |
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. |
![]() |
InitialCapital | double | Gets the initial capital of the backtest as specified in the Backtest window of PM. |
![]() |
|
string | Gets the name of the portfolio being referenced. |
![]() |
RealizedTrades | object | Accesses the All, Long, and Short trade properties from the RealizedTradeSummaries object. |
![]() |
StrategyGroup | object | Gets information about the current StrategyGroupState. |
![]() |
UnrealizedTrades | object | Accesses the All, Long, and Short trade properties from the UnrealizedTradeSummaries object. |
![]() |
Version | int | The version number of portfolio maestro. |
Methods
Name | Description | |
![]() |
Create | Initializes a new instance of the class. |
![]() |
GetStrategyGroup | Gets the StrategyGroupState object. |
Inheritance Hierarchy
portfoliomaestro.PortfolioState