Click or drag to resize

IRealTimeEmulationMarketDataAdapter Interface

The interface of the real time market data adapter.

Namespace:  StockSharp.Algo.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public interface IRealTimeEmulationMarketDataAdapter : IMessageAdapterWrapper, 
	IMessageAdapter, IMessageChannel, IDisposable, ICloneable<IMessageChannel>, 
	ICloneable, IPersistable, ILogReceiver, ILogSource

The IRealTimeEmulationMarketDataAdapter type exposes the following members.

Properties
  NameDescription
Public propertyCandlesBuildFrom
Possible options for candles building.
(Inherited from IMessageAdapter.)
Public propertyCategories
Message adapter categories.
(Inherited from IMessageAdapter.)
Public propertyCheckTimeFrameByRequest
Check possible time-frame by request.
(Inherited from IMessageAdapter.)
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from ILogSource.)
Public propertyHeartbeatInterval
Server check interval for track the connection alive. The value is Zero turned off tracking.
(Inherited from IMessageAdapter.)
Public propertyId
The unique identifier of the source.
(Inherited from ILogSource.)
Public propertyInnerAdapter
Underlying adapter.
(Inherited from IMessageAdapterWrapper.)
Public propertyIsFullCandlesOnly
Translates CandleMessage as only fully filled.
(Inherited from IMessageAdapter.)
Public propertyIsNativeIdentifiers
Identify security in messages by native identifier Native.
(Inherited from IMessageAdapter.)
Public propertyIsNativeIdentifiersPersistable
Native identifier can be stored.
(Inherited from IMessageAdapter.)
Public propertyIsOpened
Is channel opened.
(Inherited from IMessageChannel.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from ILogSource.)
Public propertyIsSecurityNewsOnly
Adapter provides news related with specified security.
(Inherited from IMessageAdapter.)
Public propertyIsSupportCandlesUpdates
Support candles subscription and live updates.
(Inherited from IMessageAdapter.)
Public propertyIsSupportExecutionsPnL
Adapter fills PnL.
(Inherited from IMessageAdapter.)
Public propertyIsSupportOrderBookIncrements
Adapter translates incremental order books.
(Inherited from IMessageAdapter.)
Public propertyIsSupportSubscriptions
Support any subscriptions (ticks, order books etc.).
(Inherited from IMessageAdapter.)
Public propertyLogLevel
The logging level for the source.
(Inherited from ILogSource.)
Public propertyName
The source name.
(Inherited from ILogSource.)
Public propertyOrderCancelVolumeRequired
Volume required to cancel orders.
(Inherited from IMessageAdapter.)
Public propertyOrderConditionType
Type of OrderCondition.
(Inherited from IMessageAdapter.)
Public propertyParent
Parental logs source.
(Inherited from ILogSource.)
Public propertyPossibleSupportedMessages
Possible supported by adapter message types.
(Inherited from IMessageAdapter.)
Public propertyReConnectionSettings
Connection tracking settings IMessageAdapter with a server.
(Inherited from IMessageAdapter.)
Public propertySecurityClassInfo
Description of the class of securities, depending on which will be marked in the SecurityType and BoardCode.
(Inherited from IMessageAdapter.)
Public propertySecurityExtendedFields
Names of extended security fields in SecurityMessage.
(Inherited from IMessageAdapter.)
Public propertyStorageName
The storage name, associated with the adapter.
(Inherited from IMessageAdapter.)
Public propertySupportedInMessages
Supported by adapter message types.
(Inherited from IMessageAdapter.)
Public propertySupportedMarketDataTypes
Supported by adapter market data types.
(Inherited from IMessageAdapter.)
Public propertySupportedOrderBookDepths
Available options for MaxDepth.
(Inherited from IMessageAdapter.)
Public propertySupportedOutMessages
Supported by adapter message types.
(Inherited from IMessageAdapter.)
Public propertyTransactionIdGenerator
Transaction id generator.
(Inherited from IMessageAdapter.)
Top
Methods
  NameDescription
Public methodAddLog
To record a message to the log.
(Inherited from ILogReceiver.)
Public methodClone (Inherited from ICloneableIMessageChannel.)
Public methodClose
Close channel.
(Inherited from IMessageChannel.)
Public methodCreateOrderLogMarketDepthBuilder
Create market depth builder.
(Inherited from IMessageAdapter.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetCandleArgs
Get possible args for the specified candle type and instrument.
(Inherited from IMessageAdapter.)
Public methodGetHistoryStepSize
Get maximum size step allowed for historical download.
(Inherited from IMessageAdapter.)
Public methodIsAllDownloadingSupported
Is for the specified dataType all securities downloading enabled.
(Inherited from IMessageAdapter.)
Public methodIsSecurityRequired
Support filtering subscriptions (subscribe/unsubscribe for specified security).
(Inherited from IMessageAdapter.)
Public methodLoad (Inherited from IPersistable.)
Public methodOpen
Open channel.
(Inherited from IMessageChannel.)
Public methodSave (Inherited from IPersistable.)
Public methodSendInMessage
Send message.
(Inherited from IMessageChannel.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from ILogSource.)
Public eventNewOutMessage
New message event.
(Inherited from IMessageChannel.)
Public eventStateChanged
IsOpened change event.
(Inherited from IMessageChannel.)
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 MethodAddMarketDataSupport
Fill the SupportedInMessages message types related to market-data.
(Defined by Extensions.)
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 MethodAddSupportedMarketDataType
Add market data type into SupportedMarketDataTypes.
(Defined by Extensions.)
Public Extension MethodAddSupportedMessage(MessageTypeInfo)Overloaded.
Add the message type info SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodAddSupportedMessage(MessageTypes)Overloaded.
Add the message type info SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodAddSupportedMessage(MessageTypes, NullableBoolean)Overloaded.
Add the message type info SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodAddSupportedOutMessage
Add the message type info SupportedOutMessages.
(Defined by Extensions.)
Public Extension MethodAddTransactionalSupport
Fill the SupportedInMessages message types related to transactional.
(Defined by Extensions.)
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 MethodCreateOrderCondition
Create condition for order type Conditional, that supports the adapter.
(Defined by Extensions.)
Public Extension MethodCreatePortfolioChangeMessage
Initializes a new instance of the PositionChangeMessage.
(Defined by Extensions.)
Public Extension MethodCreatePositionChangeMessage
Initializes a new instance of the PositionChangeMessage.
(Defined by Extensions.)
Public Extension MethodDownloadTResult, TRequest
Download data.
(Defined by TraderHelper.)
Public Extension MethodFindAdapterTAdapterOverloaded.
Find adapter by the specified type.
(Defined by Extensions.)
Public Extension MethodFindAdapterTAdapterOverloaded.
Find adapter by the specified type.
(Defined by Extensions.)
Public Extension MethodGetBoardCode
To get the board code for the instrument class.
(Defined by TraderHelper.)
Public Extension MethodGetCandleArgsTArg
Get possible args for the specified candle type and instrument.
(Defined by Extensions.)
Public Extension MethodGetCandles
To download candles.
(Defined by TraderHelper.)
Public Extension MethodGetLevel1
To get level1 market data.
(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 MethodGetOrderLog
To get order log.
(Defined by TraderHelper.)
Public Extension MethodGetSecurities
Download all securities.
(Defined by TraderHelper.)
Public Extension MethodGetTicks
To get tick data.
(Defined by TraderHelper.)
Public Extension MethodGetTimeFrames
Get possible time-frames for the specified instrument.
(Defined by Extensions.)
Public Extension MethodIsCandlesSupported
Determines whether the specified subscription request is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsMarketData
Is the specified adapter support market-data.
(Defined by Extensions.)
Public Extension MethodIsMarketDataTypeSupported
Determines whether the specified market-data type is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsMessageSupported
Determines whether the specified message type is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsOrderStatusRequired
OrderStatusMessage required to get orders and own trades.
(Defined by Extensions.)
Public Extension MethodIsOutMessageSupported
Determines whether the specified message type is supported by the adapter.
(Defined by Extensions.)
Public Extension MethodIsPortfolioLookupRequired
PortfolioLookupMessage required to get portfolios and positions.
(Defined by Extensions.)
Public Extension MethodIsSecurityLookupRequired
SecurityLookupMessage required to get securities.
(Defined by Extensions.)
Public Extension MethodIsSupportSecuritiesLookupAll
Support lookup all securities.
(Defined by Extensions.)
Public Extension MethodIsSupportStopLoss
Determines whether the adapter support stop-loss orders.
(Defined by Extensions.)
Public Extension MethodIsSupportSubscriptionByPortfolio
Support portfolio subscriptions.
(Defined by Extensions.)
Public Extension MethodIsSupportTakeProfit
Determines whether the adapter support take-profit orders.
(Defined by Extensions.)
Public Extension MethodIsSupportWithdraw
Determines whether the adapter support withdraw orders.
(Defined by Extensions.)
Public Extension MethodIsTransactional
Is the specified adapter support transactions.
(Defined by Extensions.)
Public Extension MethodNearestSupportedDepth
Get the nearest supported depth for the specified.
(Defined by Extensions.)
Public Extension MethodRemoveLookupMessages
Remove lookup messages support.
(Defined by Extensions.)
Public Extension MethodRemoveMarketDataSupport
Remove from SupportedInMessages message types related to market-data.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedAllMarketDataTypes
Remove all market data types from SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedMarketDataType
Remove market data type from SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedMessage
Remove the message type from SupportedInMessages.
(Defined by Extensions.)
Public Extension MethodRemoveSupportedOutMessage
Remove the message type from SupportedOutMessages.
(Defined by Extensions.)
Public Extension MethodRemoveTransactionalSupport
Remove from SupportedInMessages message types related to transactional.
(Defined by Extensions.)
Public Extension MethodTryGetCandlesBuildFrom
Try get suitable market-data type for candles compression.
(Defined by CandleHelper.)
Top
See Also