PnLMessageAdapter
StockSharp.Algo.PnL
The message adapter, automatically calculating profit-loss.
Наследует: MessageAdapterWrapper
Конструкторы
PnLMessageAdapter(IMessageAdapter, IPnLManager)
The message adapter, automatically calculating profit-loss.
- innerAdapter
- The adapter, to which messages will be directed.
- pnlManager
- The profit-loss manager.
Методы
OnInnerAdapterNewOutMessageAsync(Message, CancellationToken) : ValueTask
Process InnerAdapter output message.
- message
- The message.
- cancellationToken
- Cancellation token.
OnSendInMessageAsync(Message, CancellationToken) : ValueTask
Send message.