MoexLchiMessageAdapter

StockSharp.MoexLchi

The message adapter for MoexLchi.

Inherits: HistoricalMessageAdapter

Constructors

MoexLchiMessageAdapter(IdGenerator)

Initializes a new instance of the MoexLchiMessageAdapter.

transactionIdGenerator
Transaction id generator.

Properties

AllYears : IEnumerable<DateTime>

All years when the contest held.

Methods

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.

Returns: A ValueTask representing the asynchronous operation.