Interface IStorageRegistry
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The interface describing the storage of market data.
public interface IStorageRegistry : IMessageStorageRegistry
- Inherited Members
- Extension Methods
Properties
DefaultDrive
The storage used by default.
IMarketDataDrive DefaultDrive { get; set; }
Property Value
ExchangeInfoProvider
Exchanges and trading boards provider.
IExchangeInfoProvider ExchangeInfoProvider { get; }
Property Value
Methods
GetStorage(Security, Type, object, IMarketDataDrive, StorageFormats)
To get the market-data storage.
IMarketDataStorage GetStorage(Security security, Type dataType, object arg, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
security
SecuritySecurity.
dataType
TypeMarket data type.
arg
objectThe parameter associated with the
dataType
type. For example, candle arg.drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IMarketDataStorage
Market-data storage.