Click or drag to resize

HistoryMessageAdapter Class

The adapter, receiving messages form the storage IStorageRegistry.
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class HistoryMessageAdapter : MessageAdapter

The HistoryMessageAdapter type exposes the following members.

Constructors
  NameDescription
Public methodHistoryMessageAdapter(IdGenerator)
Initializes a new instance of the HistoryMessageAdapter.
Public methodHistoryMessageAdapter(IdGenerator, ISecurityProvider)
Initializes a new instance of the HistoryMessageAdapter.
Top
Properties
  NameDescription
Public propertyAssociatedBoardCode
Board code for combined security.
(Inherited from MessageAdapter.)
Public propertyBasketStorage
The aggregator-storage.
Public propertyCategories
Message adapter categories.
(Inherited from MessageAdapter.)
Public propertyCheckTimeFrameByRequest
Check possible time-frame by request.
(Inherited from MessageAdapter.)
Public propertyCheckTradableDates
Check loading dates are they tradable.
Public propertyCurrentTime
The current time.
(Overrides BaseLogSourceCurrentTime.)
Public propertyDrive
The storage which is used by default. By default, DefaultDrive is used.
Public propertyHeartbeatInterval
Server check interval for track the connection alive. The value is Zero turned off tracking.
(Inherited from MessageAdapter.)
Public propertyId
The unique identifier of the source.
(Inherited from BaseLogSource.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsFullCandlesOnly
Translates CandleMessage as only fully filled.
(Overrides MessageAdapterIsFullCandlesOnly.)
Public propertyIsNativeIdentifiers
Identify security in messages by native identifier Native.
(Inherited from MessageAdapter.)
Public propertyIsNativeIdentifiersPersistable
Native identifier can be stored.
(Inherited from MessageAdapter.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from BaseLogSource.)
Public propertyIsSupportCandlesUpdates
Support candles subscription and live updates.
(Inherited from MessageAdapter.)
Protected propertyIsSupportNativePortfolioLookup
Gets a value indicating whether the connector supports position lookup.
(Inherited from MessageAdapter.)
Protected propertyIsSupportNativeSecurityLookup
Gets a value indicating whether the connector supports security lookup.
(Inherited from MessageAdapter.)
Public propertyIsSupportSecuritiesLookupAll
Support lookup all securities.
(Inherited from MessageAdapter.)
Public propertyIsSupportStopLoss
Determines whether the adapter support stop-loss orders.
(Inherited from MessageAdapter.)
Public propertyIsSupportSubscriptionByPortfolio
Support portfolio subscriptions.
(Inherited from MessageAdapter.)
Public propertyIsSupportSubscriptionBySecurity
Support filtering subscriptions (subscribe/unsubscribe for specified security).
(Inherited from MessageAdapter.)
Public propertyIsSupportSubscriptions
Support any subscriptions (ticks, order books etc.).
(Inherited from MessageAdapter.)
Public propertyIsSupportTakeProfit
Determines whether the adapter support take-profit orders.
(Inherited from MessageAdapter.)
Public propertyIsSupportWithdraw
Determines whether the adapter support withdraw orders.
(Inherited from MessageAdapter.)
Public propertyLoadedMessageCount
The number of loaded events.
Public propertyLogLevel
The logging level. The default is set to Inherit.
(Inherited from BaseLogSource.)
Public propertyLookupTimeOut
Securities and portfolios lookup timeout.
(Inherited from MessageAdapter.)
Public propertyMarketTimeChangedInterval
The interval of message TimeMessage generation. By default, it is equal to 1 sec.
Public propertyMaxMessageCount
The maximal size of the message queue, up to which history data are read. By default, it is equal to DefaultMaxMessageCount.
Public propertyName
Source name (to distinguish in log files).
(Inherited from BaseLogSource.)
Public propertyOrderCancelVolumeRequired
Volume required to cancel orders.
(Inherited from MessageAdapter.)
Public propertyOrderLogMarketDepthBuilders
Order book builders.
Public propertyOrderStatusRequired
OrderStatusMessage required to get orders and own trades.
(Inherited from MessageAdapter.)
Public propertyParent
Parent.
(Inherited from BaseLogSource.)
Public propertyPlatform
Bit process, which can run the adapter.
(Inherited from MessageAdapter.)
Public propertyPortfolioLookupRequired
PortfolioLookupMessage required to get portfolios and positions.
(Inherited from MessageAdapter.)
Public propertyPostTradeMarketTimeChangedCount
The number of the event MarketTimeChanged calls after end of trading. By default it is equal to 2.
Public propertyReConnectionSettings
Connection tracking settings IMessageAdapter with a server.
(Inherited from MessageAdapter.)
Public propertySecurityClassInfo
Description of the class of securities, depending on which will be marked in the SecurityType and BoardCode.
(Inherited from MessageAdapter.)
Public propertySecurityExtendedFields
Names of extended security fields in SecurityMessage.
(Inherited from MessageAdapter.)
Public propertySecurityLookupRequired
SecurityLookupMessage required to get securities.
(Inherited from MessageAdapter.)
Public propertySecurityProvider
The provider of information about instruments.
Public propertyStartDate
Date in history for starting the paper trading.
Public propertyStopDate
Date in history to stop the paper trading (date is included).
Public propertyStorageFormat
The format of market data. Binary is used by default.
Public propertyStorageName
The storage name, associated with the adapter.
(Inherited from MessageAdapter.)
Public propertyStorageRegistry
Market data storage.
Public propertySupportedMarketDataTypes
Supported by adapter market data types.
(Inherited from MessageAdapter.)
Public propertySupportedMessages
Supported by adapter message types.
(Inherited from MessageAdapter.)
Public propertyTimeFrames
Possible time-frames.
(Overrides MessageAdapterTimeFrames.)
Public propertyTransactionIdGenerator
Transaction id generator.
(Inherited from MessageAdapter.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of MessageAdapter.
(Inherited from MessageAdapter.)
Public methodCreateOrderCondition
Create condition for order type Conditional, that supports the adapter.
(Inherited from MessageAdapter.)
Public methodCreateOrderLogMarketDepthBuilder
Create market depth builder.
(Overrides MessageAdapterCreateOrderLogMarketDepthBuilder(SecurityId).)
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged
Release resources.
(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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTimeFrames
Get possible time-frames for the specified instrument.
(Overrides MessageAdapterGetTimeFrames(SecurityId).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsConnectionAlive
Check the connection is alive. Uses only for connected states.
(Inherited from MessageAdapter.)
Public methodLoad
Load settings.
(Inherited from MessageAdapter.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Raise PropertyChanged event.
(Inherited from MessageAdapter.)
Protected methodOnSendInMessage
Send message.
(Overrides MessageAdapterOnSendInMessage(Message).)
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
Public methodSave
Save settings.
(Inherited from MessageAdapter.)
Public methodSendInMessage
Send message.
(Inherited from MessageAdapter.)
Protected methodSendOutDisconnectMessage
Send to SendOutMessage(Message) disconnect message.
(Inherited from MessageAdapter.)
Protected methodSendOutError(Exception)
Initialize a new message ErrorMessage and pass it to the method SendOutMessage(Message).
(Inherited from MessageAdapter.)
Protected methodSendOutError(String)
Initialize a new message ErrorMessage and pass it to the method SendOutMessage(Message).
(Inherited from MessageAdapter.)
Protected methodSendOutMarketDataNotSupported
Initialize a new message SecurityMessage and pass it to the method SendOutMessage(Message).
(Inherited from MessageAdapter.)
Public methodSendOutMessage
Send next outgoing message.
Public methodSendOutMessage(Message)
Send outgoing message and raise NewOutMessage event.
(Overrides MessageAdapterSendOutMessage(Message).)
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Overrides BaseLogSourceToString.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from BaseLogSource.)
Public eventNewOutMessage
Outgoing message event.
(Inherited from MessageAdapter.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultMaxMessageCount
Default value of MaxMessageCount.
Top
See Also