Interface IExchangeInfoProvider
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
Interface describing exchanges and trading boards provider.
public interface IExchangeInfoProvider : IBoardMessageProvider
- Inherited Members
- Extension Methods
Properties
Boards
All exchanges.
IEnumerable<ExchangeBoard> Boards { get; }
Property Value
Exchanges
All boards.
IEnumerable<Exchange> Exchanges { get; }
Property Value
Methods
Delete(Exchange)
Delete exchange.
void Delete(Exchange exchange)
Parameters
exchange
ExchangeExchange.
Delete(ExchangeBoard)
Delete exchange board.
void Delete(ExchangeBoard board)
Parameters
board
ExchangeBoardExchange board.
Init()
Initialize the storage.
void Init()
Save(Exchange)
To save the exchange.
void Save(Exchange exchange)
Parameters
exchange
ExchangeExchange.
Save(ExchangeBoard)
To save the board.
void Save(ExchangeBoard board)
Parameters
board
ExchangeBoardTrading board.
TryGetExchange(string)
To get an exchange by the code.
Exchange TryGetExchange(string code)
Parameters
Returns
- Exchange
Exchange. If the exchange with the specified code does not exist, then null will be returned.
TryGetExchangeBoard(string)
To get a board by the code.
ExchangeBoard TryGetExchangeBoard(string code)
Parameters
Returns
- ExchangeBoard
Trading board. If the board with the specified code does not exist, then null will be returned.
Events
BoardAdded
Notification about adding a new board.
event Action<ExchangeBoard> BoardAdded
Event Type
BoardRemoved
Notification about removing the existing board.
event Action<ExchangeBoard> BoardRemoved
Event Type
ExchangeAdded
Notification about adding a new exchange.
event Action<Exchange> ExchangeAdded
Event Type
ExchangeRemoved
Notification about removing the existing exchange.
event Action<Exchange> ExchangeRemoved