Click or drag to resize

StorageRegistryGetMarketDepthStorage Method

To get the storage of order books for the specified instrument.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IMarketDataStorage<MarketDepth> GetMarketDepthStorage(
	Security security,
	IMarketDataDrive drive = null,
	StorageFormats format = StorageFormats.Binary
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Security.
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: IMarketDataStorageMarketDepth
The order books storage.

Implements

IStorageRegistryGetMarketDepthStorage(Security, IMarketDataDrive, StorageFormats)
See Also