Click or drag to resize

IConnector Methods

The IConnector type exposes the following members.

Methods
  NameDescription
Public methodAddLog
To record a message to the log.
(Inherited from ILogReceiver.)
Public methodCancelOrder
Cancel the order.
Public methodCancelOrders
Cancel orders by filter.
Public methodConnect
Connect to trading system.
Public methodDisconnect
Disconnect from trading system.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetFilteredMarketDepth
Get filtered order book.
Public methodGetLevel1Fields
To get a set of available fields Level1Fields, for which there is a market data for the instrument.
(Inherited from IMarketDataProvider.)
Public methodGetMarketDepth
To get the quotes order book.
(Inherited from IMarketDataProvider.)
Public methodGetPortfolio
To get the portfolio by the name.
(Inherited from IPortfolioProvider.)
Public methodGetPosition
To get the position by portfolio and instrument.
(Inherited from IPositionProvider.)
Public methodGetSecurityId
Get SecurityId.
Public methodGetSecurityValue
To get the value of market data for the instrument.
(Inherited from IMarketDataProvider.)
Public methodGetSessionState
Get session state for required board.
Public methodLoad (Inherited from IPersistable.)
Public methodLookup
Lookup securities by criteria criteria.
(Inherited from ISecurityProvider.)
Public methodLookupBoards(BoardLookupMessage)
To find boards that match the filter criteria. Found boards will be passed through the event LookupBoardsResult.
Public methodLookupBoards(ExchangeBoard, IMessageAdapter, MessageOfflineModes)
To find boards that match the filter criteria. Found boards will be passed through the event LookupBoardsResult.
Public methodLookupOrders(OrderStatusMessage)
To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.
Public methodLookupOrders(Order, IMessageAdapter)
To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.
Public methodLookupPortfolios(PortfolioLookupMessage)
To find portfolios that match the filter criteria. Found portfolios will be passed through the event LookupPortfoliosResult.
Public methodLookupPortfolios(Portfolio, IMessageAdapter, MessageOfflineModes)
To find portfolios that match the filter criteria. Found portfolios will be passed through the event LookupPortfoliosResult.
Public methodLookupSecurities(SecurityLookupMessage)
To find instruments that match the filter criteria. Found instruments will be passed through the event LookupSecuritiesResult.
Public methodLookupSecurities(Security, IMessageAdapter, MessageOfflineModes)
To find instruments that match the filter criteria. Found instruments will be passed through the event LookupSecuritiesResult.
Public methodLookupSecurity
Lookup security by identifier.
Public methodRegisterFilteredMarketDepth
To start getting filtered quotes (order book) by the instrument. Quotes values are available through the event GetFilteredMarketDepth(Security).
Public methodRegisterMarketDepth
To start getting quotes (order book) by the instrument. Quotes values are available through the event MarketDepthsChanged.
Public methodRegisterNews
Subscribe on news.
Public methodRegisterOrder
Register new order.
Public methodRegisterOrderLog
Subscribe on order log for the security.
Public methodRegisterPortfolio
Subscribe on the portfolio changes.
Public methodRegisterSecurity
To start getting new information (for example, LastTrade or BestBid) by the instrument.
Public methodRegisterTrades
To start getting trades (tick data) by the instrument. New trades will come through the event NewTrades.
Public methodRequestNewsStory
Request news Story body. After receiving the event NewsChanged will be triggered.
(Inherited from INewsProvider.)
Public methodReRegisterOrder(Order, Order)
Reregister the order.
Public methodReRegisterOrder(Order, Decimal, Decimal)
Reregister the order.
Public methodSave (Inherited from IPersistable.)
Public methodSendInMessage
Send message.
(Inherited from IMessageSender.)
Public methodSendOutMessage
Send outgoing message.
(Inherited from IMessageSender.)
Public methodSubscribeBoard
Subscribe on the board changes.
Public methodSubscribeMarketData
To sign up to get market data by the instrument.
Public methodUnRegisterFilteredMarketDepth
To stop getting filtered quotes by the instrument.
Public methodUnRegisterMarketDepth
To stop getting quotes by the instrument.
Public methodUnRegisterNews
Unsubscribe from news.
Public methodUnRegisterOrderLog
Unsubscribe from order log for the security.
Public methodUnRegisterPortfolio
Unsubscribe from the portfolio changes.
Public methodUnRegisterSecurity
To stop getting new information.
Public methodUnRegisterTrades
To stop getting trades (tick data) by the instrument.
Public methodUnSubscribeBoard
Unsubscribe from the board changes.
Public methodUnSubscribeMarketData
To unsubscribe from getting market data by the instrument.
Top
Extension Methods
  NameDescription
Public Extension MethodAddDebugLog
To record a debug message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(FuncString)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(Exception, String)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddErrorLog(String, Object)Overloaded.
To record an error to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(FuncString)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddInfoLog(String, Object)Overloaded.
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddLog
To record a message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddOrderErrorLog
Write order error to the log.
(Defined by TraderHelper.)
Public Extension MethodAddOrderInfoLog
Write order info to the log.
(Defined by TraderHelper.)
Public Extension MethodAddVerboseLog
To record a verbose message to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(FuncString)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodAddWarningLog(String, Object)Overloaded.
To record a warning to the log.
(Defined by LoggingHelper.)
Public Extension MethodCancelOrders
Cancel orders by filter.
(Defined by TraderHelper.)
Public Extension MethodGetAllSecurity
Find AllSecurity instance in the specified provider.
(Defined by TraderHelper.)
Public Extension MethodGetLogLevel
Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.
(Defined by LoggingHelper.)
Public Extension MethodGetSecurityValueT
To get the value of market data for the instrument.
(Defined by TraderHelper.)
Public Extension MethodGetSecurityValues
To get all market data values for the instrument.
(Defined by TraderHelper.)
Public Extension MethodLookupAllOverloaded.
Get all available instruments.
(Defined by TraderHelper.)
Public Extension MethodLookupAll(MessageOfflineModes)Overloaded.
Lookup securities, portfolios and orders.
(Defined by TraderHelper.)
Public Extension MethodLookupByCode
To get the instrument by the instrument code.
(Defined by TraderHelper.)
Public Extension MethodLookupById(String)Overloaded.
To get the instrument by the identifier.
(Defined by TraderHelper.)
Public Extension MethodLookupById(SecurityId)Overloaded.
To get the instrument by the identifier.
(Defined by TraderHelper.)
Public Extension MethodLookupByNativeId
To get the instrument by the system identifier.
(Defined by TraderHelper.)
Public Extension MethodLookupByPortfolioName
To get the portfolio by the code name.
(Defined by TraderHelper.)
Public Extension MethodWhenConnected
To create a rule for the event of connection established.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenConnectionLost
To create a rule for the event of connection lost.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenDisconnected
To create a rule for the event of disconnection.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenIntervalElapsed
To create a rule for the event MarketTimeChanged, activated after expiration of interval.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenNewMyTrade
To create a rule for the event of new trade occurrences.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenNewOrder
To create a rule for the event of new orders occurrences.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenTimeCome(DateTimeOffset)Overloaded.
To create a rule, activated at the exact time, specified through times.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenTimeCome(IEnumerableDateTimeOffset)Overloaded.
To create a rule, activated at the exact time, specified through times.
(Defined by MarketRuleHelper.)
Top
See Also