Table of Contents

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

IEnumerable<ExchangeBoard>

Exchanges

All boards.

IEnumerable<Exchange> Exchanges { get; }

Property Value

IEnumerable<Exchange>

Methods

Delete(Exchange)

Delete exchange.

void Delete(Exchange exchange)

Parameters

exchange Exchange

Exchange.

Delete(ExchangeBoard)

Delete exchange board.

void Delete(ExchangeBoard board)

Parameters

board ExchangeBoard

Exchange board.

Init()

Initialize the storage.

void Init()

Save(Exchange)

To save the exchange.

void Save(Exchange exchange)

Parameters

exchange Exchange

Exchange.

Save(ExchangeBoard)

To save the board.

void Save(ExchangeBoard board)

Parameters

board ExchangeBoard

Trading board.

TryGetExchange(string)

To get an exchange by the code.

Exchange TryGetExchange(string code)

Parameters

code string

The exchange code Name.

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

code string

The board code Code.

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

Action<ExchangeBoard>

BoardRemoved

Notification about removing the existing board.

event Action<ExchangeBoard> BoardRemoved

Event Type

Action<ExchangeBoard>

ExchangeAdded

Notification about adding a new exchange.

event Action<Exchange> ExchangeAdded

Event Type

Action<Exchange>

ExchangeRemoved

Notification about removing the existing exchange.

event Action<Exchange> ExchangeRemoved

Event Type

Action<Exchange>