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.17.0 (4.4.17)
Syntax
C#
public IMarketDataStorage<CandleMessage> GetCandleMessageStorage(
	Type candleMessageType,
	SecurityId securityId,
	Object arg,
	IMarketDataDrive drive = null,
	StorageFormats format = StorageFormats.Binary
)

Parameters

candleMessageType
Type: SystemType
The type of candle message.
securityId
Type: StockSharp.MessagesSecurityId
Security ID.
arg
Type: SystemObject
Candle arg.
drive (Optional)
Type: StockSharp.Algo.StoragesIMarketDataDrive
The storage.
format (Optional)
Type: StockSharp.Algo.StoragesStorageFormats
The format type.

Return Value

Type: IMarketDataStorageCandleMessage
The candles storage.

Implements

IMessageStorageRegistryGetCandleMessageStorage(Type, SecurityId, Object, IMarketDataDrive, StorageFormats)
See Also