Table of Contents

Interface ISubscriptionProvider

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

Subscription provider interface.

public interface ISubscriptionProvider
Extension Methods

Properties

Subscriptions

Subscriptions.

IEnumerable<Subscription> Subscriptions { get; }

Property Value

IEnumerable<Subscription>

Methods

Subscribe(Subscription)

Subscribe.

void Subscribe(Subscription subscription)

Parameters

subscription Subscription

Subscription.

UnSubscribe(Subscription)

Unsubscribe.

void UnSubscribe(Subscription subscription)

Parameters

subscription Subscription

Subscription.

Events

BoardReceived

Board received.

event Action<Subscription, ExchangeBoard> BoardReceived

Event Type

Action<Subscription, ExchangeBoard>

CandleReceived

Candle received.

event Action<Subscription, ICandleMessage> CandleReceived

Event Type

Action<Subscription, ICandleMessage>

Level1Received

Level1 received.

event Action<Subscription, Level1ChangeMessage> Level1Received

Event Type

Action<Subscription, Level1ChangeMessage>

MarketDepthReceived

Order book received.

[Obsolete("Use OrderBookReceived event.")]
event Action<Subscription, MarketDepth> MarketDepthReceived

Event Type

Action<Subscription, MarketDepth>

NewsReceived

News received.

event Action<Subscription, News> NewsReceived

Event Type

Action<Subscription, News>

OrderBookReceived

Order book received.

event Action<Subscription, IOrderBookMessage> OrderBookReceived

Event Type

Action<Subscription, IOrderBookMessage>

OrderCancelFailReceived

Order cancellation error event.

event Action<Subscription, OrderFail> OrderCancelFailReceived

Event Type

Action<Subscription, OrderFail>

OrderEditFailReceived

Order edition error event.

event Action<Subscription, OrderFail> OrderEditFailReceived

Event Type

Action<Subscription, OrderFail>

OrderLogItemReceived

Order log received.

[Obsolete("Use OrderLogReceived event.")]
event Action<Subscription, OrderLogItem> OrderLogItemReceived

Event Type

Action<Subscription, OrderLogItem>

OrderLogReceived

Tick trade received.

event Action<Subscription, IOrderLogMessage> OrderLogReceived

Event Type

Action<Subscription, IOrderLogMessage>

OrderReceived

Order received.

event Action<Subscription, Order> OrderReceived

Event Type

Action<Subscription, Order>

OrderRegisterFailReceived

Order registration error event.

event Action<Subscription, OrderFail> OrderRegisterFailReceived

Event Type

Action<Subscription, OrderFail>

OwnTradeReceived

Own trade received.

event Action<Subscription, MyTrade> OwnTradeReceived

Event Type

Action<Subscription, MyTrade>

PortfolioReceived

Portfolio received.

event Action<Subscription, Portfolio> PortfolioReceived

Event Type

Action<Subscription, Portfolio>

PositionReceived

Position received.

event Action<Subscription, Position> PositionReceived

Event Type

Action<Subscription, Position>

SecurityReceived

Security received.

event Action<Subscription, Security> SecurityReceived

Event Type

Action<Subscription, Security>

SubscriptionFailed

Subscription is failed.

event Action<Subscription, Exception, bool> SubscriptionFailed

Event Type

Action<Subscription, Exception, bool>

SubscriptionOnline

Subscription is online.

event Action<Subscription> SubscriptionOnline

Event Type

Action<Subscription>

SubscriptionReceived

Message received.

event Action<Subscription, object> SubscriptionReceived

Event Type

Action<Subscription, object>

SubscriptionStarted

Subscription is started.

event Action<Subscription> SubscriptionStarted

Event Type

Action<Subscription>

SubscriptionStopped

Subscription is stopped.

event Action<Subscription, Exception> SubscriptionStopped

Event Type

Action<Subscription, Exception>

TickTradeReceived

Tick trade received.

event Action<Subscription, ITickTradeMessage> TickTradeReceived

Event Type

Action<Subscription, ITickTradeMessage>