BaseMarketDataDrive

StockSharp.Algo.Storages

基础实施 IMarketDataDrive.

继承自: Disposable

实现: IMarketDataDrive, IPersistable, 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.

Load
public virtual void Load(SettingsStorage storage)
baseMarketDataDrive.Load(storage)

装入设置 。

storage
设置存储 。
LookupSecuritiesAsync
public abstract IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = baseMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)

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

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

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

Save
public virtual void Save(SettingsStorage storage)
baseMarketDataDrive.Save(storage)

保存设置 。

storage
设置存储 。
ToString
public override string ToString()
result = baseMarketDataDrive.ToString()

转换为行代表.

返回值: 弦乐表演.

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

校验设置 。

cancellationToken
CancellationToken

返回值: ValueTask