Click or drag to resize

ExecutionMessage Class

The message contains information about the execution.
Inheritance Hierarchy
SystemObject
  CloneableMessage
    StockSharp.MessagesMessage
      StockSharp.MessagesExecutionMessage

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

The ExecutionMessage type exposes the following members.

Constructors
  NameDescription
Public methodExecutionMessage
Initializes a new instance of the ExecutionMessage.
Top
Properties
  NameDescription
Public propertyAdapter
Source adapter. Can be .
(Inherited from Message.)
Public propertyBalance
Order contracts balance.
Public propertyBrokerCode
Broker firm code.
Public propertyClientCode
Client code assigned by the broker.
Public propertyComment
Placed order comment.
Public propertyCommission
Commission (broker, exchange etc.). Uses when ExecutionType set to Transaction.
Public propertyCommissionCurrency
Commission currency. Can be .
Public propertyCondition
Order condition (e.g., stop- and algo- orders parameters).
Public propertyCurrency
Trading security currency.
Public propertyDepoName
The depositary where the physical security.
Public propertyError
Error registering/cancelling order.
Public propertyExecutionType
Data type, information about which is contained in the ExecutionMessage.
Public propertyExpiryDate
Order expiry time. The default is , which mean (GTC).
Public propertyExtensionInfo
Extended information.
(Inherited from Message.)
Public propertyHasOrderInfo
Is the message contains order info.
Public propertyHasTradeInfo
Is the message contains trade info.
Public propertyIsBack
Is loopback message.
(Inherited from Message.)
Public propertyIsCancelled
Is the action an order cancellation.
Public propertyIsManual
Is order manual.
Public propertyIsMargin
Is margin enabled.
Public propertyIsMarketMaker
Is the order of market-maker.
Public propertyIsSystem
Is a system trade.
Public propertyIsUpTick
Is tick uptrend or downtrend in price. Uses only ExecutionType for Tick.
Public propertyLatency
Network latency. Uses when ExecutionType set to Transaction.
Public propertyLocalTime
Local timestamp when a message was received/created.
(Inherited from Message.)
Public propertyOfflineMode
Offline mode handling message.
(Inherited from Message.)
Public propertyOpenInterest
Number of open positions (open interest).
Public propertyOrderBoardId
Board order id. Uses in case of OrderId and OrderStringId is a brokerage system ids.
Public propertyOrderId
Order ID.
Public propertyOrderPrice
Order price.
Public propertyOrderState
Order state.
Public propertyOrderStatus
System order status.
Public propertyOrderStringId
Order ID (as string, if electronic board does not use numeric order ID representation).
Public propertyOrderType
Order type.
Public propertyOrderVolume
Number of contracts in the order.
Public propertyOriginalTransactionId
ID of original transaction, for which this message is the answer.
Public propertyOriginSide
Deal initiator (seller or buyer).
Public propertyPnL
The profit, realized by trade.
Public propertyPortfolioName
Portfolio name.
Public propertyPosition
The position, generated by order or trade.
Public propertySecurityId
Security ID.
Public propertyServerTime
Server time.
Public propertySide
Order side (buy or sell).
Public propertySlippage
Slippage in trade price. Uses when ExecutionType set to Transaction.
Public propertySystemComment
Message for order (created by the trading system when registered, changed or cancelled).
Public propertyTimeInForce
Limit order execution condition.
Public propertyTradeId
Trade ID.
Public propertyTradePrice
Trade price.
Public propertyTradeStatus
System trade status.
Public propertyTradeStringId
Trade ID (as string, if electronic board does not use numeric order ID representation).
Public propertyTradeVolume
Number of contracts in the trade.
Public propertyTransactionId
Transaction ID.
Public propertyType
Message type.
(Inherited from Message.)
Public propertyUserOrderId
User order id. Uses when ExecutionType set to Transaction.
Public propertyVisibleVolume
Visible quantity of contracts in order.
Top
Methods
  NameDescription
Public methodClone
Create a copy of ExecutionMessage.
(Overrides MessageClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodToString
Returns a string that represents the current object.
(Overrides MessageToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetOrderLogCancelReason
To get the reason for cancelling order in orders log.
(Defined by OrderLogHelper.)
Public Extension MethodGetPosition
To get the position on own trade.
(Defined by TraderHelper.)
Public Extension MethodGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodHasOrderInfo
Determines whether the specified message contains order information.
(Defined by Extensions.)
Public Extension MethodHasTradeInfo
Determines whether the specified message contains trade information.
(Defined by Extensions.)
Public Extension MethodIsCanceled
To check, whether the order was cancelled.
(Defined by TraderHelper.)
Public Extension MethodIsMatched
To check, is the order matched completely.
(Defined by TraderHelper.)
Public Extension MethodIsMatchedEmpty
To check, if no contract in order is implemented.
(Defined by TraderHelper.)
Public Extension MethodIsMatchedPartially
To check, is a part of volume is implemented in the order.
(Defined by TraderHelper.)
Public Extension MethodIsOrderLogCanceled
To check, does the string contain the cancelled order.
(Defined by Extensions.)
Public Extension MethodIsOrderLogMatched
To check, does the string contain the order matching.
(Defined by Extensions.)
Public Extension MethodIsOrderLogRegistered
To check, does the string contain the order registration.
(Defined by Extensions.)
Public Extension MethodSafeGetOrderId
To get order identifier, or discard exception, if no information available.
(Defined by TraderHelper.)
Public Extension MethodSafeGetVolume
To get the number of operations, or discard the exception, if no information available.
(Defined by TraderHelper.)
Public Extension MethodToLevel1
Convert ExecutionMessage to Level1ChangeMessage value.
(Defined by TraderHelper.)
Public Extension MethodToOrder(Order)Overloaded.
To convert the message into order.
(Defined by MessageConverterHelper.)
Public Extension MethodToOrder(Security)Overloaded.
To convert the message into order.
(Defined by MessageConverterHelper.)
Public Extension MethodToOrderLog(OrderLogItem)Overloaded.
To convert the message into orders log string.
(Defined by MessageConverterHelper.)
Public Extension MethodToOrderLog(Security)Overloaded.
To convert the message into orders log string.
(Defined by MessageConverterHelper.)
Public Extension MethodToTick
To tick trade from the order log.
(Defined by OrderLogHelper.)
Public Extension MethodToTrade(Security)Overloaded.
To convert the message into tick trade.
(Defined by MessageConverterHelper.)
Public Extension MethodToTrade(Trade)Overloaded.
To convert the message into tick trade.
(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