Click or drag to resize

Level1ChangeMessage Class

The message containing the level1 market data.
Inheritance Hierarchy
SystemObject
  CloneableMessage
    StockSharp.MessagesMessage
      StockSharp.MessagesBaseChangeMessageLevel1Fields
        StockSharp.MessagesLevel1ChangeMessage

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
[SerializableAttribute]
public class Level1ChangeMessage : BaseChangeMessage<Level1Fields>

The Level1ChangeMessage type exposes the following members.

Constructors
  NameDescription
Public methodLevel1ChangeMessage
Initializes a new instance of the Level1ChangeMessage.
Top
Properties
  NameDescription
Public propertyAdapter
Source adapter. Can be .
(Inherited from Message.)
Public propertyChanges
Changes.
(Inherited from BaseChangeMessageTField.)
Public propertyExtensionInfo
Extended information.
(Inherited from Message.)
Public propertyIsBack
Is loopback message.
(Inherited from Message.)
Public propertyLocalTime
Local timestamp when a message was received/created.
(Inherited from Message.)
Public propertyOfflineMode
Offline mode handling message.
(Inherited from Message.)
Public propertySecurityId
Security ID.
Public propertyServerTime
Change server time.
(Inherited from BaseChangeMessageTField.)
Public propertyType
Message type.
(Inherited from Message.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of Level1ChangeMessage.
(Overrides MessageClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides BaseChangeMessageTFieldToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetLastTradePrice
Get last tick trade price.
(Defined by Extensions.)
Public Extension MethodGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodGetSpreadMiddle
Get middle of spread.
(Defined by Extensions.)
Public Extension MethodIsContainsQuotes
To check, are there quotes in the level1.
(Defined by TraderHelper.)
Public Extension MethodIsContainsTick
To check, are there tick data in the level1 data.
(Defined by TraderHelper.)
Public Extension MethodToMarketDepth
Cast Level1ChangeMessage to the MarketDepth.
(Defined by MessageConverterHelper.)
Public Extension MethodToTick
To convert level1 data into tick data.
(Defined by TraderHelper.)
Public Extension MethodTryGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodTryInitLocalTime
Try to initialize LocalTime by CurrentTime.
(Defined by Extensions.)
Top
See Also