Click or drag to resize

SecurityMessage Class

A message containing info about the security.
Inheritance Hierarchy

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
[SerializableAttribute]
public class SecurityMessage : Message

The SecurityMessage type exposes the following members.

Constructors
  NameDescription
Public methodSecurityMessage
Initializes a new instance of the SecurityMessage.
Protected methodSecurityMessage(MessageTypes)
Initializes a new instance of the SecurityMessage.
Top
Properties
  NameDescription
Public propertyAdapter
Source adapter. Can be .
(Inherited from Message.)
Public propertyBasketCode
Basket security type. Can be in case of regular security.
Public propertyBasketExpression
Basket security expression. Can be in case of regular security.
Public propertyBinaryOptionType
Type of binary option.
Public propertyCfiCode
Type in ISO 10962 standard.
Public propertyClass
Security class.
Public propertyCurrency
Trading security currency.
Public propertyDecimals
Number of digits in price after coma.
Public propertyExpiryDate
Security expiration date (for derivatives - expiration, for bonds — redemption).
Public propertyExtensionInfo
Extended information.
(Inherited from Message.)
Public propertyIsBack
Is loopback message.
(Inherited from Message.)
Public propertyIssueDate
Date of issue.
Public propertyIssueSize
Number of issued contracts.
Public propertyLocalTime
Local timestamp when a message was received/created.
(Inherited from Message.)
Public propertyMultiplier
Lot multiplier.
Public propertyName
Security name.
Public propertyOfflineMode
Offline mode handling message.
(Inherited from Message.)
Public propertyOptionType
Option type.
Public propertyOriginalTransactionId
ID of the original message TransactionId for which this message is a response.
Public propertyPriceStep
Minimum price step.
Public propertySecurityId
Security ID.
Public propertySecurityType
Security type.
Public propertySettlementDate
Settlement date for security (for derivatives and bonds).
Public propertyShortName
Short security name.
Public propertyStrike
Option strike price.
Public propertyType
Message type.
(Inherited from Message.)
Public propertyUnderlyingSecurityCode
Underlying asset code, on which the current security is based.
Public propertyUnderlyingSecurityType
Underlying security type.
Public propertyVolumeStep
Minimum volume step.
Top
Methods
  NameDescription
Public methodClone
Create a copy of SecurityMessage.
(Overrides MessageClone.)
Public methodCopyTo
Copy the message into the destination.
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 MessageToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodFillDefaultCryptoFields
Fill default CryptoCurrency price and volume step by 0.00000001 value.
(Defined by Extensions.)
Public Extension MethodGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodIsBasket
Is specified security is basket.
(Defined by TraderHelper.)
Public Extension MethodIsContinuous
Is specified security is continuous.
(Defined by TraderHelper.)
Public Extension MethodIsIndex
Is specified security is index.
(Defined by TraderHelper.)
Public Extension MethodIso10962
To get the type for the instrument in the ISO 10962 standard.
(Defined by TraderHelper.)
Public Extension MethodToSecurity
To convert the message into instrument.
(Defined by MessageConverterHelper.)
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