MoexLchiMessageAdapter

StockSharp.MoexLchi

The message adapter for MoexLchi.

继承自: HistoricalMessageAdapter

构造函数

MoexLchiMessageAdapter(IdGenerator)

Initializes a new instance of the MoexLchiMessageAdapter.

transactionIdGenerator
Transaction id generator.

属性

AllYears : IEnumerable<DateTime>

All years when the contest held.

方法

OnOrderLogSubscriptionAsync(MarketDataMessage, CancellationToken) : ValueTask

Handles subscription request for order log (trades/transactions) data. Override to provide implementation for order log subscription processing. The default implementation throws NotSupported.

mdMsg
Market data subscription message.
cancellationToken
Cancellation token to cancel the operation.

返回值: A ValueTask representing the asynchronous operation.