Click or drag to resize

Extensions Methods

The Extensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, CurrencyTypes)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, PortfolioStates)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, SecurityStates)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Sides)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Boolean)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, DateTimeOffset)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Decimal)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Int32)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Int64)
Add change into collection.
Public methodStatic memberAddTMessage, TChange(TMessage, TChange, Object)
Add change into collection.
Public methodStatic memberAddDelta(QuoteChangeMessage, QuoteChangeMessage)
To add change to the first order book.
Public methodStatic memberAddDelta(IEnumerableQuoteChange, IEnumerableQuoteChange, Boolean)
To add change to quote.
Public methodStatic memberAddMarketDataSupport
Fill the SupportedInMessages message types related to market-data.
Public methodStatic memberAddSupportedMarketDataType
Add market data type into SupportedMarketDataTypes.
Public methodStatic memberAddSupportedMessage(MessageAdapter, MessageTypeInfo)
Add the message type info PossibleSupportedMessages.
Public methodStatic memberAddSupportedMessage(MessageAdapter, MessageTypes) Obsolete.
Add the message type info SupportedInMessages.
Public methodStatic memberAddSupportedMessage(MessageAdapter, MessageTypes, NullableBoolean)
Add the message type info SupportedInMessages.
Public methodStatic memberAddSupportedOutMessage
Add the message type info SupportedOutMessages.
Public methodStatic memberAddSupportedResultMessage
Add the message type info SupportedResultMessages.
Public methodStatic memberAddTransactionalSupport
Fill the SupportedInMessages message types related to transactional.
Public methodStatic memberChangeSupported
Public methodStatic memberConvert(Currency, CurrencyTypes)
To convert one currency to another.
Public methodStatic memberConvert(CurrencyTypes, CurrencyTypes)
To get the conversion rate for converting one currency to another.
Public methodStatic memberConvert(CurrencyTypes, CurrencyTypes, DateTime)
To get the conversion rate for the specified date.
Public methodStatic memberCopyExtensionInfo
Copy extended info.
Public methodStatic memberCreateAdapter(Type)
Create IMessageAdapter instance.
Public methodStatic memberCreateAdapter(Type, IdGenerator)
Create IMessageAdapter.
Public methodStatic memberCreateNotSupported
Create non supported subscription response.
Public methodStatic memberCreateOrderCondition(Type)
Create condition for order type Conditional, that supports the adapter.
Public methodStatic memberCreateOrderCondition(IMessageAdapter)
Create condition for order type Conditional, that supports the adapter.
Public methodStatic memberCreateOrderLogMarketDepthBuilder
Create IOrderLogMarketDepthBuilder instance.
Public methodStatic memberCreateOrderReply
Create order's transaction reply.
Public methodStatic memberCreatePortfolioChangeMessage
Initializes a new instance of the PositionChangeMessage.
Public methodStatic memberCreatePositionChangeMessage
Initializes a new instance of the PositionChangeMessage.
Public methodStatic memberCreateReply
Public methodStatic memberCreateResponse
Create subscription response.
Public methodStatic memberCreateResult
Public methodStatic memberCreateSubscriptionResponse
Create subscription response.
Public methodStatic memberDataTypeArgToString(DataType)
Convert candle parameter into folder name replacing the reserved symbols.
Public methodStatic memberDataTypeArgToString(Type, Object)
Convert candle parameter into folder name replacing the reserved symbols.
Public methodStatic memberDataTypeToFileName
Convert file name to DataType.
Public methodStatic memberDecodeToPeriods
Decode from string to Periods.
Public methodStatic memberDecodeToSpecialDays
Decode from string to SpecialDays.
Public methodStatic memberEncodeToString(IDictionaryDateTime, RangeTimeSpan)
Encode SpecialDays to string.
Public methodStatic memberEncodeToString(IEnumerableWorkingTimePeriod)
Encode Periods to string.
Public methodStatic memberEnsureToday(NullableDateTimeOffset)
Determines the specified date equals is Today and returns Today.
Public methodStatic memberEnsureToday(NullableDateTimeOffset, NullableDateTimeOffset)
Determines the specified date equals is Today and returns todayValue.
Public methodStatic memberFileNameToDataType
Convert DataType to file name.
Public methodStatic memberFillDefaultCryptoFields(SecurityId)
Fill default CryptoCurrency price and volume step by 0.00000001 value.
Public methodStatic memberFillDefaultCryptoFields(SecurityMessage)
Fill default CryptoCurrency price and volume step by 0.00000001 value.
Public methodStatic memberFilter
To filter instruments by the given criteria.
Public methodStatic memberFilterTimeFrames
Extract time frames from the specified data types set.
Public methodStatic memberFindAdapterTAdapter(IMessageAdapter)
Find adapter by the specified type.
Public methodStatic memberFindAdapterTAdapter(IMessageAdapterWrapper)
Find adapter by the specified type.
Public methodStatic memberFindById
Get adapter by the specified key.
Public methodStatic memberFormatToString
Convert DataType to String value.
Public methodStatic memberFromMicexCurrencyName
To convert the currency name in the MICEX format into CurrencyTypes.
Public methodStatic memberGetArg(MarketDataMessage)
Get typed argument.
Public methodStatic memberGetArgTArg(MarketDataMessage)
Get typed argument.
Public methodStatic memberGetBalance
Get Balance.
Public methodStatic memberGetBestAsk
Get best ask.
Public methodStatic memberGetBestBid
Get best bid.
Public methodStatic memberGetBoardCode
To get the board code for the instrument class.
Public methodStatic memberGetCandleArgsTArg
Get possible args for the specified candle type and instrument.
Public methodStatic memberGetDefaultMaxCount
Get maximum possible items count per single subscription request.
Public methodStatic memberGetDelta
To calculate the change between order books.
Public methodStatic memberGetHistoryStepSize
Get maximum size step allowed for historical download.
Public methodStatic memberGetLastTradePrice
Get last tick trade price.
Public methodStatic memberGetPeriod
Get period for schedule.
Public methodStatic memberGetPreferredLanguage
Get preferred language.
Public methodStatic memberGetPriceStep
To get the price increment on the basis of accuracy.
Public methodStatic memberGetSecurityClassInfo
To get the instrument description by the class.
Public methodStatic memberGetSecurityTypes
Public methodStatic memberGetServerTime
Get message server time.
Public methodStatic memberGetSpreadMiddle(Level1ChangeMessage)
Get middle of spread.
Public methodStatic memberGetSpreadMiddle(QuoteChangeMessage)
Get middle of spread.
Public methodStatic memberGetSpreadMiddle(Decimal, Decimal)
Get middle of spread.
Public methodStatic memberGetSpreadMiddle(NullableDecimal, NullableDecimal)
Get middle of spread.
Public methodStatic memberGetSubscriptionIds
Get subscription identifiers from the specified message.
Public methodStatic memberGetSupportedDataTypes
Get supported y adapter data types.
Public methodStatic memberGetTimeFrame
Get time-frame from the specified market-data message.
Public methodStatic memberGetTimeFrames
Get possible time-frames for the specified instrument.
Public methodStatic memberGetTradePrice
Get TradePrice.
Public methodStatic memberGroup(QuoteChangeMessage, Unit)
To group the order book by the price range.
Public methodStatic memberGroup(QuoteChange, Sides, Unit)
To group quotes by the price range.
Public methodStatic memberHandleErrorResponse
Public methodStatic memberHasOrderId
Determines the specified message contains single order request.
Public methodStatic memberHasOrderInfo
Determines whether the specified message contains order information.
Public methodStatic memberHasTradeInfo
Determines whether the specified message contains trade information.
Public methodStatic memberIsAllSecurity
Check if the specified identifier is IsAllSecurity(SecurityId).
Public methodStatic memberIsBack
Determines the specified message is loopback.
Public methodStatic memberIsBestAskField
Is the specified Level1Fields is related to best ask.
Public methodStatic memberIsBestBidField
Is the specified Level1Fields is related to best bid.
Public methodStatic memberIsCandle
Determine the type is candle data type.
Public methodStatic memberIsCandleDataType Obsolete.
Determine the type is candle data type.
Public methodStatic memberIsCandleMessage
Determines whether the specified message type is derived from CandleMessage.
Public methodStatic memberIsCandlesSupported
Determines whether the specified subscription request is supported by the adapter.
Public methodStatic memberIsContainsCandle
To check, are there CandleTimeFrame in the level1 data.
Public methodStatic memberIsContainsQuotes
To check, are there quotes in the level1.
Public methodStatic memberIsContainsTick
To check, are there tick data in the level1 data.
Public methodStatic memberIsCrypto
Determines the specified type is crypto currency.
Public methodStatic memberIsHistoryOnly
Determines the specified message contains historical request only.
Public methodStatic memberIsLastTradeField
Is the specified Level1Fields is related to last trade.
Public methodStatic memberIsLookup Obsolete.
Determines the specified type is lookup.
Public methodStatic memberIsLookupAll
Determine the criteria contains lookup all filter.
Public methodStatic memberIsMarketData(ExecutionMessage)
Determines whether the execMsg contains market-data info.
Public methodStatic memberIsMarketData(IMessageAdapter)
Is the specified adapter support market-data.
Public methodStatic memberIsMarketDataTypeSupported
Determines whether the specified market-data type is supported by the adapter.
Public methodStatic memberIsMatch(BoardMessage, BoardLookupMessage)
Determines the specified message is matched lookup criteria.
Public methodStatic memberIsMatch(ExecutionMessage, OrderStatusMessage)
Determines the specified message is matched lookup criteria.
Public methodStatic memberIsMatch(ISubscriptionIdMessage, ISubscriptionMessage)
Determines the specified message is matched lookup criteria.
Public methodStatic memberIsMatch(SecurityMessage, SecurityLookupMessage)
Determines the specified security is matched lookup criteria.
Public methodStatic memberIsMatch(ExecutionMessage, OrderStatusMessage, ISetOrderStates)
Determines the specified transaction is matched lookup criteria.
Public methodStatic memberIsMatch(PortfolioMessage, PortfolioLookupMessage, Boolean)
Determines the specified message is matched lookup criteria.
Public methodStatic memberIsMatch(PositionChangeMessage, PortfolioLookupMessage, Boolean)
Determines the specified message is matched lookup criteria.
Public methodStatic memberIsMatch(SecurityMessage, SecurityLookupMessage, HashSetSecurityTypes)
Determines the specified security is matched lookup criteria.
Public methodStatic memberIsMessageSupported
Determines whether the specified message type is contained in SupportedInMessages.
Public methodStatic memberIsMoney
Determines the specified message contains Money position.
Public methodStatic memberIsNotSupported
Determines whether the reply contains the error NotSupported.
Public methodStatic memberIsObsolete(Level1Fields)
Is the specified Level1Fields was obsolete.
Public methodStatic memberIsObsolete(PositionChangeTypes)
Is the specified PositionChangeTypes was marked by ObsoleteAttribute.
Public methodStatic memberIsOk
Determines whether the reply contains an error Error.
Public methodStatic memberIsOpened
Is channel opened.
Public methodStatic memberIsOrderLogCanceled
To check, does the string contain the cancelled order.
Public methodStatic memberIsOrderLogMatched
To check, does the string contain the order matching.
Public methodStatic memberIsOrderLogRegistered
To check, does the string contain the order registration.
Public methodStatic memberIsOutMessageSupported
Determines whether the specified message type is contained in SupportedOutMessages..
Public methodStatic memberIsResultMessageSupported
Determines whether the specified message type is contained in SupportedResultMessages..
Public methodStatic memberIsStockSharp
Determines whether the specified news related with StockSharp.
Public methodStatic memberIsSupportSecuritiesLookupAll
Support lookup all securities.
Public methodStatic memberIsSupportStopLoss
Determines whether the adapter support stop-loss orders.
Public methodStatic memberIsSupportSubscriptionByPortfolio
Support portfolio subscriptions.
Public methodStatic memberIsSupportTakeProfit
Determines whether the adapter support take-profit orders.
Public methodStatic memberIsSupportWithdraw
Determines whether the adapter support withdraw orders.
Public methodStatic memberIsToday(DateTimeOffset)
To check the specified date is today.
Public methodStatic memberIsToday(NullableDateTimeOffset)
To check the specified date is today.
Public methodStatic memberIsTransactional
Is the specified adapter support transactions.
Public methodStatic memberJoin
To merge the initial order book and its sparse representation.
Public methodStatic memberLoopBackTMessage
Made the specified message as BackMode.
Public methodStatic memberMakeAsStockSharp
Make news related with StockSharp.
Public methodStatic memberNearestSupportedDepth
Get the nearest supported depth for the specified.
Public methodStatic memberRegisterCandleTypeTArg
Register new candle type.
Public methodStatic memberRemoveMarketDataSupport
Remove from SupportedInMessages message types related to market-data.
Public methodStatic memberRemoveSupportedAllMarketDataTypes
Remove all market data types from SupportedMarketDataTypes.
Public methodStatic memberRemoveSupportedMarketDataType
Remove market data type from SupportedMarketDataTypes.
Public methodStatic memberRemoveSupportedMessage
Remove the message type from PossibleSupportedMessages.
Public methodStatic memberRemoveSupportedOutMessage
Remove the message type from SupportedOutMessages.
Public methodStatic memberRemoveSupportedResultMessage
Remove the message type from SupportedResultMessages.
Public methodStatic memberRemoveTransactionalSupport
Remove from SupportedInMessages message types related to transactional.
Public methodStatic memberReplaceSecurityId
Replace security id by the specified.
Public methodStatic memberSetArgTArg
Set typed argument.
Public methodStatic memberSetNativeId(SecurityId, Object)
Initialize Native.
Public methodStatic memberSetNativeId(SecurityMessage, Object)
Initialize Native.
Public methodStatic memberSetSecurityCode
Initialize SecurityCode.
Public methodStatic memberSetSecurityTypes
Initialize SecurityTypes.
Public methodStatic memberSetSubscriptionIdsTMessage
Set subscription identifiers into the specified message.
Public methodStatic memberShrinkPrice
To cut the price, to make it multiple of minimal step, also to limit number of signs after the comma.
Public methodStatic memberSparse(QuoteChangeMessage, Unit, NullableDecimal)
To create from regular order book a sparse one.
Public methodStatic memberSparse(QuoteChange, QuoteChange, Unit, NullableDecimal)
To create form pair of quotes a sparse collection of quotes, which will be included into the range between the pair.
Public methodStatic memberSparse(QuoteChange, Sides, Unit, NullableDecimal)
To create the sparse collection of quotes from regular quotes.
Public methodStatic memberToCandleMarketDataType Obsolete.
Cast message type CandleMessage to the MarketDataTypes.
Public methodStatic memberToCandleMessage
Cast candle type MessageTypes to the message CandleMessage.
Public methodStatic memberToCandleMessageType
To convert the type of message MessageTypes into type of candles CandleMessage.
Public methodStatic memberToDataType(ExecutionTypes)
Convert ExecutionTypes to DataType value.
Public methodStatic memberToDataType(MarketDataMessage) Obsolete.
Convert MarketDataMessage to DataType value.
Public methodStatic memberToDataType(String, String)
Convert String to DataType value.
Public methodStatic memberToDataType(MarketDataTypes, Object) Obsolete.
Convert MarketDataTypes to DataType value.
Public methodStatic memberToDataType(MessageTypes, Object) Obsolete.
Convert MessageTypes to DataType value.
Public methodStatic memberToDataTypeArg
To convert string representation of the candle argument into typified.
Public methodStatic memberToErrorMessage(String)
Convert error text message to ErrorMessage instance.
Public methodStatic memberToErrorMessage(Exception, Int64)
Convert error info into ErrorMessage.
Public methodStatic memberToExec
Public methodStatic memberToId
Convert key to numeric identifier.
Public methodStatic memberToInfo
Convert MessageTypes to MessageTypeInfo value.
Public methodStatic memberToLevel1(CandleMessage)
Public methodStatic memberToLevel1(ExecutionMessage)
Public methodStatic memberToLevel1(QuoteChangeMessage)
Public methodStatic memberToLevel1(IEnumerableQuoteChangeMessage)
To build level1 from the order books.
Public methodStatic memberToMarketDataType(DataType) Obsolete.
Convert DataType to MarketDataTypes value.
Public methodStatic memberToMarketDataType(MessageTypes, Object) Obsolete.
Convert MarketDataTypes to MessageTypes value.
Public methodStatic memberToMessageType(Type)
Convert Type to MessageTypes value.
Public methodStatic memberToMessageType(MessageTypes)
Convert MessageTypes to Type value.
Public methodStatic memberToMessageType(MarketDataTypes, Object) Obsolete.
Convert MarketDataTypes to MessageTypes value.
Public methodStatic memberToMessageType2
Convert DataType to MessageTypes value.
Public methodStatic memberToMicexCurrencyName
To convert the currency type into the name in the MICEX format.
Public methodStatic memberToOrderBooks
To convert level1 data into order books.
Public methodStatic memberToReg
Public methodStatic memberToTick
To convert level1 data into tick data.
Public methodStatic memberToTicks
To convert level1 data into tick data.
Public methodStatic memberToType(Level1Fields)
Convert Level1Fields to Type value.
Public methodStatic memberToType(PositionChangeTypes)
Convert PositionChangeTypes to Type value.
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableCurrencyTypes)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullablePortfolioStates)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableSecurityStates)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableSides)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableBoolean)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableDateTimeOffset)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, String)
To add a change to the collection, if value is other than .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, Decimal, Boolean)
To add a change to the collection, if value is other than 0.
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, Int32, Boolean)
To add a change to the collection, if value is other than 0.
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, Int64, Boolean)
To add a change to the collection, if value is other than 0.
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableDecimal, Boolean)
To add a change to the collection, if value is other than 0 and .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableInt32, Boolean)
To add a change to the collection, if value is other than 0 and .
Public methodStatic memberTryAddTMessage, TChange(TMessage, TChange, NullableInt64, Boolean)
To add a change to the collection, if value is other than 0 and .
Public methodStatic memberTryGetTMessage, TChange
Try get change from message.
Public methodStatic memberTryGetDecimalTMessage, TChange
Try get change from message.
Public methodStatic memberTryGetSecurityId
Try get security ID from the specified message.
Public methodStatic memberTryGetServerTime
Get message server time.
Public methodStatic memberTryInitLocalTime
Try to initialize LocalTime by CurrentTime.
Public methodStatic memberTryRemoveWrapperTAdapter
Remove adapter by the specified type.
Public methodStatic memberTrySort
Sort order book.
Public methodStatic memberUndoBackTMessage
Public methodStatic memberUnGroup
To de-group the order book, grouped using the method Group(QuoteChangeMessage, Unit).
Public methodStatic memberValidateBounds
Validate From and To values.
Public methodStatic memberVerify
To determine whether the order book is in the right state.
Top
See Also