Interface ISubscriptionProvider
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
Subscription provider interface.
public interface ISubscriptionProvider
- Extension Methods
-
MarketRuleHelper.WhenPartiallyFinishedCandles<TCandle>(ISubscriptionProvider, Subscription, decimal)
Properties
Subscriptions
Subscriptions.
IEnumerable<Subscription> Subscriptions { get; }
Property Value
Methods
Subscribe(Subscription)
Subscribe.
void Subscribe(Subscription subscription)
Parameters
subscription
SubscriptionSubscription.
UnSubscribe(Subscription)
Unsubscribe.
void UnSubscribe(Subscription subscription)
Parameters
subscription
SubscriptionSubscription.
Events
BoardReceived
Board received.
event Action<Subscription, ExchangeBoard> BoardReceived
Event Type
CandleReceived
Candle received.
event Action<Subscription, ICandleMessage> CandleReceived
Event Type
Level1Received
Level1 received.
event Action<Subscription, Level1ChangeMessage> Level1Received
Event Type
MarketDepthReceived
Order book received.
[Obsolete("Use OrderBookReceived event.")]
event Action<Subscription, MarketDepth> MarketDepthReceived
Event Type
NewsReceived
News received.
event Action<Subscription, News> NewsReceived
Event Type
OrderBookReceived
Order book received.
event Action<Subscription, IOrderBookMessage> OrderBookReceived
Event Type
OrderCancelFailReceived
Order cancellation error event.
event Action<Subscription, OrderFail> OrderCancelFailReceived
Event Type
OrderEditFailReceived
Order edition error event.
event Action<Subscription, OrderFail> OrderEditFailReceived
Event Type
OrderLogItemReceived
Order log received.
[Obsolete("Use OrderLogReceived event.")]
event Action<Subscription, OrderLogItem> OrderLogItemReceived
Event Type
OrderLogReceived
Tick trade received.
event Action<Subscription, IOrderLogMessage> OrderLogReceived
Event Type
OrderReceived
Order received.
event Action<Subscription, Order> OrderReceived
Event Type
OrderRegisterFailReceived
Order registration error event.
event Action<Subscription, OrderFail> OrderRegisterFailReceived
Event Type
OwnTradeReceived
Own trade received.
event Action<Subscription, MyTrade> OwnTradeReceived
Event Type
PortfolioReceived
Portfolio received.
event Action<Subscription, Portfolio> PortfolioReceived
Event Type
PositionReceived
Position received.
event Action<Subscription, Position> PositionReceived
Event Type
SecurityReceived
Security received.
event Action<Subscription, Security> SecurityReceived
Event Type
SubscriptionFailed
Subscription is failed.
event Action<Subscription, Exception, bool> SubscriptionFailed
Event Type
SubscriptionOnline
Subscription is online.
event Action<Subscription> SubscriptionOnline
Event Type
SubscriptionReceived
Message received.
event Action<Subscription, object> SubscriptionReceived
Event Type
SubscriptionStarted
Subscription is started.
event Action<Subscription> SubscriptionStarted
Event Type
SubscriptionStopped
Subscription is stopped.
event Action<Subscription, Exception> SubscriptionStopped
Event Type
TickTradeReceived
Tick trade received.
event Action<Subscription, ITickTradeMessage> TickTradeReceived