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
格式类型。

返回值: Storage for 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