IMarketDataDrive

StockSharp.Algo.Storages

Интерфейс, описывающий хранилище (база данных, файл и т.п.).

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

Свойства

Path
public string Path { get; }
value = iMarketDataDrive.Path

Путь к рыночным данным.

Методы

GetAvailableDataTypesAsync
public IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = iMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)

Получите все доступные типы данных.

securityId
Идентификатор инструмента.
format
Тип формата.

Возвращает: Типы данных.

GetAvailableSecuritiesAsync
public IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = iMarketDataDrive.GetAvailableSecuritiesAsync()

Получите все доступные инструменты.

Возвращает: Доступные инструменты.

GetStorageDrive
public IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = iMarketDataDrive.GetStorageDrive(securityId, dataType, format)

Чтобы получить хранилище для IMarketDataStorage.

securityId
идентификатор финансового инструмента.
dataType
Информация о типе данных.
format
Тип формата.

Возвращает: Хранилище для IMarketDataStorage.

LookupSecuritiesAsync
public IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = iMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)

Скачать финансовые инструменты по указанным критериям.

criteria
Поиск финансовых инструментов сообщений по заданным критериям.
securityProvider
Поставщик информации об инструментах.

Возвращает: Последовательность найденных инструментов.

VerifyAsync
public ValueTask VerifyAsync(CancellationToken cancellationToken)
result = iMarketDataDrive.VerifyAsync(cancellationToken)

Проверьте настройки.

cancellationToken
CancellationToken

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