StorageMessageAdapter
StockSharp.Algo.Storages
Storage based message adapter.
Inherits: MessageAdapterWrapper
Constructors
StorageMessageAdapter(IMessageAdapter, IStorageProcessor)
Storage based message adapter.
- innerAdapter
- The adapter, to which messages will be directed.
- storageProcessor
- Storage processor.
Methods
GetSupportedMarketDataTypesAsync(SecurityId, DateTime?, DateTime?) : IAsyncEnumerable<DataType>
Get supported by adapter message types.
- securityId
- SecurityId
- from
- Start date for request. If , then all available messages will be returned.
- to
- End date for request. If , then all available messages will be returned.
Returns: Supported by adapter market data types.
OnSendInMessageAsync(Message, CancellationToken) : ValueTask
Send message.