BaseMarketDataDrive

StockSharp.Algo.Storages

基础实施 IMarketDataDrive.

继承自: Disposable

实现: IMarketDataDrive, IAsyncPersistable, IDisposable

构造函数

BaseMarketDataDrive
protected BaseMarketDataDrive()
baseMarketDataDrive = BaseMarketDataDrive()

Initialize BaseMarketDataDrive.

属性

Path
public abstract string Path { get; set; }
value = baseMarketDataDrive.Path
baseMarketDataDrive.Path = value

市场数据路径.

方法

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

获取所有可用的数据类型 。

securityId
仪器识别符.
format
格式类型。

返回值: 数据类型.

GetAvailableSecuritiesAsync
public abstract IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = baseMarketDataDrive.GetAvailableSecuritiesAsync()

取出一切可用乐器.

返回值: 现有仪器。

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

来得到IMarketDataStorage的存储.

securityId
金融工具标识。
dataType
数据类型信息.
format
格式类型。

返回值: Storage for IMarketDataStorage.

LoadAsync
public virtual Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = baseMarketDataDrive.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

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

以规定标准下载金融工具.

criteria
信件金融工具查找指定标准 。
securityProvider
提供各种文书的信息。

返回值: 所出出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出所出

SaveAsync
public virtual Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = baseMarketDataDrive.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

ToString
public override string ToString()
result = baseMarketDataDrive.ToString()

转换为行代表.

返回值: 弦乐表演.

VerifyAsync
public abstract ValueTask VerifyAsync(CancellationToken cancellationToken)
result = baseMarketDataDrive.VerifyAsync(cancellationToken)

校验设置 。

cancellationToken
CancellationToken

返回值: ValueTask