Click or drag to resize

StorageRegistryGetCandleMessageStorage Method

To get the candles storage 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<CandleMessage> GetCandleMessageStorage(
	Type candleMessageType,
	Security security,
	Object arg,
	IMarketDataDrive drive = null,
	StorageFormats format = StorageFormats.Binary
)

Parameters

candleMessageType
Type: SystemType
The type of candle message.
security
Type: StockSharp.BusinessEntitiesSecurity
Security.
arg
Type: SystemObject
Candle 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: IMarketDataStorageCandleMessage
The candles storage.

Implements

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