IPnLManager

StockSharp.Algo.PnL

The interface of the profit-loss calculation manager.

Implementiert: IPersistable, ICloneable<IPnLManager>, ICloneable

Eigenschaften

RealizedPnL : decimal

The value of realized profit-loss.

UnrealizedPnL : decimal

The value of unrealized profit-loss.

Methoden

ProcessMessage(Message, ICollection<PortfolioPnLManager>) : PnLInfo

To process the message, containing market data or trade. If the trade was already processed earlier, previous information returns.

message
The message, containing market data or trade.
changedPortfolios
Changed PortfolioPnLManager list.

Rückgabe: Information on new trade.

Reset()

To zero PnL.

UpdateSecurity(Level1ChangeMessage)

Update the security information.

l1Msg
Level1ChangeMessage