Click or drag to resize

PortfolioPnLManager Class

The profit-loss manager, related for specified PortfolioName.
Inheritance Hierarchy
SystemObject
  StockSharp.Algo.PnLPortfolioPnLManager

Namespace:  StockSharp.Algo.PnL
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public class PortfolioPnLManager : IPnLManager, 
	IPersistable

The PortfolioPnLManager type exposes the following members.

Constructors
  NameDescription
Public methodPortfolioPnLManager
Initializes a new instance of the PortfolioPnLManager.
Top
Properties
  NameDescription
Public propertyPnL
Total profit-loss.
Public propertyPortfolioName
Portfolio name.
Public propertyRealizedPnL
The value of realized profit-loss.
Public propertyUnrealizedPnL
The value of unrealized profit-loss.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessMessage
To process the message, containing market data.
Public methodProcessMyTrade
To calculate trade profitability. If the trade was already processed earlier, previous information returns.
Public methodReset
To zero PnL.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also