PnLQueue
StockSharp.Algo.PnL
The queue of profit calculation by messages stream.
コンストラクター
プロパティ
LotMultiplier : decimal
Lot multiplier.
RealizedPnL : decimal
Realized profit.
SecurityId : SecurityId
Security ID.
UnrealizedPnL : decimal
Unrealized profit.
メソッド
Process(ExecutionMessage) : PnLInfo
To calculate trade profitability. If the trade was already processed earlier, previous information returns.
- trade
- Trade.
戻り値: Information on new trade.
ProcessExecution(ExecutionMessage)
To process the message, containing information on tick trade.
- execMsg
- The message, containing information on tick trade.
ProcessLevel1(Level1ChangeMessage)
To process the message, containing market data.
- levelMsg
- The message, containing market data.
ProcessQuotes(QuoteChangeMessage)
To process the message, containing data on order book.
- quoteMsg
- The message, containing data on order book.
UpdateSecurity(Level1ChangeMessage)
To update the information on the instrument.
- levelMsg
- Level1ChangeMessage