IPnLManager

StockSharp.Algo.PnL

The interface of the profit-loss calculation manager.

Implementa: IPersistable, ICloneable<IPnLManager>, ICloneable

Propiedades

RealizedPnL : decimal

The value of realized profit-loss.

UnrealizedPnL : decimal

The value of unrealized profit-loss.

Métodos

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.

Devuelve: Information on new trade.

Reset()

To zero PnL.

UpdateSecurity(Level1ChangeMessage)

Update the security information.

l1Msg
Level1ChangeMessage