Table of Contents

Class StorageExchangeInfoProvider

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

The storage based provider of stocks and trade boards.

public class StorageExchangeInfoProvider : InMemoryExchangeInfoProvider, IExchangeInfoProvider, IBoardMessageProvider
Inheritance
StorageExchangeInfoProvider
Implements
Inherited Members
Extension Methods

Constructors

StorageExchangeInfoProvider(IEntityRegistry, bool)

Initializes a new instance of the StorageExchangeInfoProvider.

public StorageExchangeInfoProvider(IEntityRegistry entityRegistry, bool autoInit = true)

Parameters

entityRegistry IEntityRegistry

The storage of trade objects.

autoInit bool

Invoke Init() method.

Methods

Init()

Initialize the storage.

public override void Init()

Save(Exchange)

To save the exchange.

public override void Save(Exchange exchange)

Parameters

exchange Exchange

Exchange.

Save(ExchangeBoard)

To save the board.

public override void Save(ExchangeBoard board)

Parameters

board ExchangeBoard

Trading board.