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