Click or drag to resize

Extensions Methods

The Extensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddMarketDataSupport
Fill the SupportedInMessages message types related to market-data.
Public methodStatic memberAddSupportedMarketDataType
Add market data type into SupportedMarketDataTypes.
Public methodStatic memberAddSupportedMessage(IMessageAdapter, MessageTypeInfo)
Add the message type info SupportedInMessages.
Public methodStatic memberAddSupportedMessage(IMessageAdapter, MessageTypes) Obsolete.
Add the message type info SupportedInMessages.
Public methodStatic memberAddSupportedMessage(IMessageAdapter, 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 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 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 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 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 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 memberGetBalance
Get Balance.
Public methodStatic memberGetBestAsk
Get best ask.
Public methodStatic memberGetBestBid
Get best bid.
Public methodStatic memberGetCandleArgsTArg
Get possible args for the specified candle type and instrument.
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 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 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 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 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
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 memberIsCrypto
Determines the specified type is crypto currency.
Public methodStatic memberIsLastTradeField
Is the specified Level1Fields is related to last trade.
Public methodStatic memberIsLookup(DataType)
Determines the specified type is lookup.
Public methodStatic memberIsLookup(MessageTypes)
Determines the specified type is lookup.
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 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 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 memberIsSecurityRequired
Is the data type required security info.
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 memberIsTransactional
Is the specified adapter support transactions.
Public methodStatic memberLoopBackTMessage
Made the specified message as IsBack.
Public methodStatic memberMakeAsStockSharp
Make news related with StockSharp.
Public methodStatic memberNearestSupportedDepth
Get the nearest supported depth for the specified.
Public methodStatic memberNotRequiredSecurityId
Determines the security id required for the specified message.
Public methodStatic memberRegisterCandleType
Register new candle type.
Public methodStatic memberRemoveLookupMessages
Remove lookup messages support.
Public methodStatic memberRemoveMarketDataSupport
Remove from SupportedInMessages message types related to market-data.
Public methodStatic memberRemoveSupportedAllMarketDataTypes
Remove all market data types from SupportedInMessages.
Public methodStatic memberRemoveSupportedMarketDataType
Remove market data type from SupportedInMessages.
Public methodStatic memberRemoveSupportedMessage
Remove the message type from SupportedInMessages.
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 memberSetNativeId(SecurityId, Object)
Initialize Native.
Public methodStatic memberSetNativeId(SecurityMessage, Object)
Initialize Native.
Public methodStatic memberSetSecurityCode
Initialize SecurityCode.
Public methodStatic memberSetSecurityTypes
Initialize SecurityTypes.
Public methodStatic memberSetSubscriptionIds
Set subscription identifiers into the specified message.
Public methodStatic memberToCandleArg
To convert string representation of the candle argument into typified.
Public methodStatic memberToCandleMarketDataType(Type)
Cast message type CandleMessage to the MarketDataTypes.
Public methodStatic memberToCandleMarketDataType(MessageTypes)
To convert the type of message MessageTypes into type of candles MarketDataTypes.
Public methodStatic memberToCandleMessage
Cast candle type MarketDataTypes to the message CandleMessage.
Public methodStatic memberToCandleMessageType
To convert the type of candles MarketDataTypes into type of message MessageTypes.
Public methodStatic memberToDataType(ExecutionTypes)
Convert ExecutionTypes to DataType value.
Public methodStatic memberToDataType(MarketDataMessage)
Convert MarketDataMessage to DataType value.
Public methodStatic memberToDataType(MarketDataTypes, Object)
Convert MarketDataTypes to DataType value.
Public methodStatic memberToDataType(MessageTypes, Object)
Convert MessageTypes to DataType value.
Public methodStatic memberToErrorMessage(Exception)
Convert error info into ErrorMessage.
Public methodStatic memberToErrorMessage(String)
Convert error text message to ErrorMessage instance.
Public methodStatic memberToInfo
Convert MessageTypes to MessageTypeInfo value.
Public methodStatic memberToMarketDataType(DataType)
Convert DataType to MarketDataTypes value.
Public methodStatic memberToMarketDataType(MessageTypes, Object)
Convert MarketDataTypes to MessageTypes value.
Public methodStatic memberToMessageType
Convert MarketDataTypes to MessageTypes value.
Public methodStatic memberTryGetServerTime
Get message server time.
Public methodStatic memberTryInitLocalTime
Try to initialize LocalTime by CurrentTime.
Public methodStatic memberUndoBackTMessage
Public methodStatic memberValidateBounds
Validate From and To values.
Top
See Also