Click or drag to resize

IPnLManager Interface

The interface of the profit-loss calculation manager.

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

The IPnLManager type exposes the following members.

Properties
  NameDescription
Public propertyPnL
Total profit-loss.
Public propertyRealizedPnL
The value of realized profit-loss.
Public propertyUnrealizedPnL
The value of unrealized profit-loss.
Top
Methods
  NameDescription
Public methodLoad (Inherited from IPersistable.)
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 (Inherited from IPersistable.)
Top
See Also