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
IEntityRegistryThe storage of trade objects.
autoInit
boolInvoke 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
ExchangeExchange.
Save(ExchangeBoard)
To save the board.
public override void Save(ExchangeBoard board)
Parameters
board
ExchangeBoardTrading board.