IPnLManager

StockSharp.Algo.PnL

The interface of the profit-loss calculation manager.

実装: IPersistable, ICloneable<IPnLManager>, ICloneable

プロパティ

RealizedPnL : decimal

The value of realized profit-loss.

UnrealizedPnL : decimal

The value of unrealized profit-loss.

メソッド

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.

戻り値: Information on new trade.

Reset()

To zero PnL.

UpdateSecurity(Level1ChangeMessage)

Update the security information.

l1Msg
Level1ChangeMessage