Click or drag to resize

StorageMessageAdapter Constructor (IMessageAdapter, ISecurityStorage, IPositionStorage, IStorageRegistry, SnapshotRegistry, CandleBuilderProvider)

Initializes a new instance of the StorageMessageAdapter.

Namespace:  StockSharp.Algo.Storages
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public StorageMessageAdapter(
	IMessageAdapter innerAdapter,
	ISecurityStorage securityStorage,
	IPositionStorage positionStorage,
	IStorageRegistry storageRegistry,
	SnapshotRegistry snapshotRegistry,
	CandleBuilderProvider candleBuilderProvider
)

Parameters

innerAdapter
Type: StockSharp.MessagesIMessageAdapter
The adapter, to which messages will be directed.
securityStorage
Type: StockSharp.Algo.StoragesISecurityStorage
Securities meta info storage.
positionStorage
Type: StockSharp.Algo.StoragesIPositionStorage
Position storage.
storageRegistry
Type: StockSharp.Algo.StoragesIStorageRegistry
The storage of market data.
snapshotRegistry
Type: StockSharp.Algo.StoragesSnapshotRegistry
Snapshot storage registry.
candleBuilderProvider
Type: StockSharp.Algo.Candles.CompressionCandleBuilderProvider
Candle builders provider.
See Also