Click or drag to resize

Connector Methods

The Connector type exposes the following members.

Methods
  NameDescription
Public methodCancelOrder
Cancel the order.
Public methodCancelOrders
Cancel orders by filter.
Public methodChangePassword
Change password.
Public methodClearCache
Clear cache.
Public methodConnect
Connect to trading system.
Protected methodCreateSecurityId
Generate Id security.
Public methodDisconnect
Disconnect from trading system.
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged
To release allocated resources. In particular, to disconnect from the trading system via Disconnect.
(Overrides Disposable.DisposeManaged.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetFilteredMarketDepth
Get filtered order book.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLevel1Fields
To get a set of available fields Level1Fields, for which there is a market data for the instrument.
Public methodGetMarketDepth
To get the quotes order book.
Public methodGetPortfolio
To get the portfolio by the name.
Public methodGetPosition
To get the position by portfolio and instrument.
Protected methodGetSecurity
Get security by code.
Public methodGetSecurityId
Get SecurityId.
Public methodGetSecurityValue
To get the value of market data for the instrument.
Public methodGetSessionState
Get session state for required board.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeStorage(IEntityRegistry, IStorageRegistry, SnapshotRegistry)
Initialize StorageAdapter.
Public methodInitializeStorage(ISecurityStorage, IPositionStorage, IStorageRegistry, SnapshotRegistry)
Initialize StorageAdapter.
Public methodLoad
Load settings.
(Overrides BaseLogSourceLoad(SettingsStorage).)
Public methodLookup
Lookup securities by criteria criteria.
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCancelOrder
Cancel the order.
Protected methodOnCancelOrders
Cancel orders by filter.
Protected methodOnConnect
Connect to trading system.
Protected methodOnDisconnect
Disconnect from trading system.
Protected methodOnProcessMessage
Process message.
Protected methodOnRegisterNews
Subscribe on news.
Protected methodOnRegisterOrder
Register new order.
Protected methodOnRegisterPortfolio
Subscribe on the portfolio changes.
Protected methodOnReRegisterOrder
Reregister the order.
Protected methodOnReRegisterOrderPair
Reregister of pair orders.
Protected methodOnUnRegisterNews
Unsubscribe from news.
Protected methodOnUnRegisterPortfolio
Unsubscribe from the portfolio changes.
Protected methodRaiseError
To call the event Error.
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
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.
Public methodReRegisterOrder(Order, Order)
Reregister the order.
Public methodReRegisterOrder(Order, Decimal, Decimal)
Reregister the order.
Public methodReRegisterOrderPair
Reregister of pair orders.
Public methodSave
Save settings.
(Overrides BaseLogSourceSave(SettingsStorage).)
Public methodSendInMessage
Send message.
Public methodSendOutError
Send error message.
Public methodSendOutMessage
Send outgoing message.
Public methodSubscribeBoard
Subscribe on the board changes.
Public methodSubscribeCandles
Subscribe to receive new candles.
Public methodSubscribeMarketData
To sign up to get market data by the instrument.
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseLogSource.)
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 methodUnSubscribeCandles
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 MethodConfigure
Configure connection using ConnectorWindow.
(Defined by Extensions.)
Public Extension MethodFilterSecurities
To filter Securities by given criteria.
(Defined by TraderHelper.)
Public Extension MethodGetAllSecurity
Find AllSecurity instance in the specified provider.
(Defined by TraderHelper.)
Public Extension MethodGetCandleTCandle
To get a candle by the index.
(Defined by CandleHelper.)
Public Extension MethodGetCandleCount
To get the number of candles.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries)Overloaded.
To get all candles.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, DateTimeOffset)Overloaded.
To get all candles for the time period.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, RangeDateTimeOffset)Overloaded.
To get candles by date range.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, Int32)Overloaded.
To get candles by the total number.
(Defined by CandleHelper.)
Public Extension MethodGetCurrentCandleTCandle
To get the current candle.
(Defined by CandleHelper.)
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 MethodGetSecurityCriteria
To create the search criteria Security from SecurityLookupMessage.
(Defined by TraderHelper.)
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 MethodGetSeriesTCandle
To get a candles series by the specified parameters.
(Defined by CandleHelper.)
Public Extension MethodGetTimeFrameCandle
To get a temporary candle on the specific date.
(Defined by CandleHelper.)
Public Extension MethodIsCandlesRegisteredTCandle
Whether the grouping of candles by the specified attribute is registered.
(Defined by CandleHelper.)
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 MethodStart
To start candles getting.
(Defined by CandleHelper.)
Public Extension MethodWhenCandles
To create a rule for the event of candles occurrence, change and end.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesChanged
To create a rule for candle change event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesFinished
To create a rule for candles end event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesStarted
To create a rule for the event of new candles occurrence.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenChanged
To create a rule for candle change event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenClosePriceLess
To create a rule for the event of candle closing price reduction below a specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenClosePriceMore
To create a rule for the event of candle closing price excess above a specific level.
(Defined by MarketRuleHelper.)
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 MethodWhenCurrentCandleTotalVolumeMore
To create a rule for the event of candle total volume excess above a specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenDisconnected
To create a rule for the event of disconnection.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenFinished
To create a rule for candle end event.
(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 MethodWhenPartiallyFinished
To create a rule for the event of candle partial end.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenPartiallyFinishedCandles
To create a rule for the event of candle partial end.
(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.)
Public Extension MethodWhenTotalVolumeMore
To create a rule for the event of candle total volume excess above a specific level.
(Defined by MarketRuleHelper.)
Top
See Also