BaseMarketDataDrive

StockSharp.Algo.Storages

The base implementation IMarketDataDrive.

Наследует: Disposable

Реализует: IMarketDataDrive, IPersistable, IDisposable

Конструкторы

BaseMarketDataDrive()

Initialize BaseMarketDataDrive.

Свойства

Path : string

Path to market data.

Методы

GetAvailableDataTypesAsync(SecurityId, StorageFormats) : IAsyncEnumerable<DataType>

Get all available data types.

securityId
Instrument identifier.
format
Format type.

Возвращает: Data types.

GetAvailableSecuritiesAsync() : IAsyncEnumerable<SecurityId>

Get all available instruments.

Возвращает: Available instruments.

GetStorageDrive(SecurityId, DataType, StorageFormats) : IMarketDataStorageDrive

To get the storage for IMarketDataStorage.

securityId
Security ID.
dataType
Data type info.
format
Format type.

Возвращает: Storage for IMarketDataStorage.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
LookupSecuritiesAsync(SecurityLookupMessage, ISecurityProvider) : IAsyncEnumerable<SecurityMessage>

Download securities by the specified criteria.

criteria
Message security lookup for specified criteria.
securityProvider
The provider of information about instruments.

Возвращает: The sequence of found instruments.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

Возвращает: Строковое представление.

VerifyAsync(CancellationToken) : ValueTask

Verify settings.

cancellationToken
CancellationToken

Возвращает: ValueTask