Click or drag to resize

StorageRegistryGetStorage Method

To get the market-data storage.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IMarketDataStorage GetStorage(
	Security security,
	Type dataType,
	Object arg,
	IMarketDataDrive drive = null,
	StorageFormats format = StorageFormats.Binary
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Security.
dataType
Type: SystemType
Market data type.
arg
Type: SystemObject
The parameter associated with the dataType type. For example, Arg.
drive (Optional)
Type: StockSharp.Algo.StoragesIMarketDataDrive
The storage. If a value is , DefaultDrive will be used.
format (Optional)
Type: StockSharp.Algo.StoragesStorageFormats
The format type. By default Binary is passed.

Return Value

Type: IMarketDataStorage
Market-data storage.

Implements

IStorageRegistryGetStorage(Security, Type, Object, IMarketDataDrive, StorageFormats)
See Also