Click or drag to resize

PnLManager Class

The profit-loss manager.
Inheritance Hierarchy
SystemObject
  StockSharp.Algo.PnLPnLManager

Namespace:  StockSharp.Algo.PnL
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class PnLManager : IPnLManager, IPersistable

The PnLManager type exposes the following members.

Constructors
  NameDescription
Public methodPnLManager
Initializes a new instance of the PnLManager.
Top
Properties
  NameDescription
Public propertyPnL
Total profit-loss.
Public propertyRealizedPnL
The relative value of profit-loss without open position accounting.
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.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessMessage
To process the message, containing market data or trade. If the trade was already processed earlier, previous information returns.
Public methodReset
To zero PnL.
Public methodSave
Save settings.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also