Click or drag to resize

ISubscriptionProvider Interface

Subscription provider interface.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
public interface ISubscriptionProvider

The ISubscriptionProvider type exposes the following members.

Properties
  NameDescription
Public propertySubscriptions
Subscriptions.
Top
Methods
  NameDescription
Public methodSubscribe
Subscribe.
Public methodUnSubscribe
Unsubscribe.
Top
Events
  NameDescription
Public eventBoardReceived
Board received.
Public eventCandleReceived
Candle received.
Public eventLevel1Received
Level1 received.
Public eventMarketDepthReceived
Order book received.
Public eventNewsReceived
News received.
Public eventOrderBookReceived
Order book received.
Public eventOrderCancelFailReceived
Order cancellation error event.
Public eventOrderEditFailReceived
Order edition error event.
Public eventOrderLogItemReceived
Order log received.
Public eventOrderReceived
Order received.
Public eventOrderRegisterFailReceived
Order registration error event.
Public eventOwnTradeReceived
Own trade received.
Public eventPortfolioReceived
Portfolio received.
Public eventPositionReceived
Position received.
Public eventSecurityReceived
Security received.
Public eventSubscriptionFailed
Subscription is failed.
Public eventSubscriptionOnline
Subscription is online.
Public eventSubscriptionReceived
Message received.
Public eventSubscriptionStarted
Subscription is started.
Public eventSubscriptionStopped
Subscription is stopped.
Public eventTickTradeReceived
Tick trade received.
Top
Extension Methods
  NameDescription
Public Extension MethodLookupBoards(BoardLookupMessage)Overloaded.
To find boards that match the filter criteria. Found boards will be passed through the event LookupBoardsResult.
(Defined by TraderHelper.)
Public Extension MethodLookupBoards(ExchangeBoard, IMessageAdapter, MessageOfflineModes)Overloaded.
To find boards that match the filter criteria. Found boards will be passed through the event LookupBoardsResult.
(Defined by TraderHelper.)
Public Extension MethodLookupOrders(OrderStatusMessage)Overloaded.
To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.
(Defined by TraderHelper.)
Public Extension MethodLookupOrders(Order, IMessageAdapter, MessageOfflineModes)Overloaded.
To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.
(Defined by TraderHelper.)
Public Extension MethodLookupPortfolios(PortfolioLookupMessage)Overloaded.
To find portfolios that match the filter criteria. Found portfolios will be passed through the event LookupPortfoliosResult.
(Defined by TraderHelper.)
Public Extension MethodLookupPortfolios(Portfolio, IMessageAdapter, MessageOfflineModes)Overloaded.
To find portfolios that match the filter criteria. Found portfolios will be passed through the event LookupPortfoliosResult.
(Defined by TraderHelper.)
Public Extension MethodLookupSecurities(SecurityLookupMessage)Overloaded.
To find instruments that match the filter criteria. Found instruments will be passed through the event LookupSecuritiesResult.
(Defined by TraderHelper.)
Public Extension MethodLookupSecurities(Security, IMessageAdapter, MessageOfflineModes)Overloaded.
To find instruments that match the filter criteria. Found instruments will be passed through the event LookupSecuritiesResult.
(Defined by TraderHelper.)
Public Extension MethodLookupTimeFrames
To find time-frames that match the filter criteria. Found time-frames will be passed through the event LookupTimeFramesResult.
(Defined by TraderHelper.)
Public Extension MethodSubscribeBoard
Subscribe on the board changes.
(Defined by TraderHelper.)
Public Extension MethodSubscribeCandles
Subscribe to receive new candles.
(Defined by TraderHelper.)
Public Extension MethodSubscribeFilteredMarketDepth
To start getting filtered quotes (order book) by the instrument. Quotes values are available through the event FilteredMarketDepthChanged.
(Defined by TraderHelper.)
Public Extension MethodSubscribeLevel1
To start getting new information (for example, LastTrade or BestBid) by the instrument.
(Defined by TraderHelper.)
Public Extension MethodSubscribeMarketData(MarketDataMessage)Overloaded.
To subscribe to get market data.
(Defined by TraderHelper.)
Public Extension MethodSubscribeMarketData(Security, MarketDataMessage)Overloaded.
To subscribe to get market data by the instrument.
(Defined by TraderHelper.)
Public Extension MethodSubscribeMarketDepth
To start getting quotes (order book) by the instrument. Quotes values are available through the event MarketDepthChanged.
(Defined by TraderHelper.)
Public Extension MethodSubscribeNews
Subscribe on news.
(Defined by TraderHelper.)
Public Extension MethodSubscribeOrderLog
Subscribe on order log for the security.
(Defined by TraderHelper.)
Public Extension MethodSubscribeOrders(OrderStatusMessage)Overloaded.
To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.
(Defined by TraderHelper.)
Public Extension MethodSubscribeOrders(Security, NullableDateTimeOffset, NullableDateTimeOffset, NullableInt64, IEnumerableOrderStates, IMessageAdapter, NullableInt64)Overloaded.
Subscribe on orders changes.
(Defined by TraderHelper.)
Public Extension MethodSubscribePositions(PortfolioLookupMessage)Overloaded.
To find portfolios that match the filter criteria. Found portfolios will be passed through the event LookupPortfoliosResult.
(Defined by TraderHelper.)
Public Extension MethodSubscribePositions(Security, Portfolio, NullableDateTimeOffset, NullableDateTimeOffset, NullableInt64, IMessageAdapter, NullableInt64)Overloaded.
Subscribe on positions changes.
(Defined by TraderHelper.)
Public Extension MethodSubscribeTrades
To start getting trades (tick data) by the instrument. New trades will come through the event NewTrade.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribe
Unsubscribe.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeBoard
Unsubscribe from the board changes.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeCandles (Defined by TraderHelper.)
Public Extension MethodUnSubscribeLevel1
To stop getting new information.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeMarketData(MarketDataMessage)Overloaded.
To unsubscribe from getting market data.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeMarketData(Security, MarketDataMessage)Overloaded.
To unsubscribe from getting market data by the instrument.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeMarketDepth
To stop getting quotes by the instrument.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeNews
Unsubscribe from news.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeOrderLog
Unsubscribe from order log for the security.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeOrders
Unsubscribe from orders changes.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribePositions
Unsubscribe from positions changes.
(Defined by TraderHelper.)
Public Extension MethodUnSubscribeTrades
To stop getting trades (tick data) by the instrument.
(Defined by TraderHelper.)
Top
See Also