Class OrderCancelMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
A message containing the data for the cancellation of the order.
[DataContract]
public class OrderCancelMessage : OrderMessage, IMessage, ILocalTimeMessage, ICloneable, ISubscriptionIdMessage, IOriginalTransactionIdMessage, ISecurityIdMessage, ITransactionIdMessage, IPortfolioNameMessage, IStrategyIdMessage
- Inheritance
-
OrderCancelMessage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
OrderCancelMessage()
Initializes a new instance of the OrderCancelMessage.
public OrderCancelMessage()
OrderCancelMessage(MessageTypes)
Initialize OrderCancelMessage.
protected OrderCancelMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
Balance
Cancelling balance.
[DataMember]
public decimal? Balance { get; set; }
Property Value
OrderId
ID cancellation order.
[DataMember]
public long? OrderId { get; set; }
Property Value
- long?
OrderStringId
Cancelling order id (as a string if the electronic board does not use a numeric representation of the identifiers).
[DataMember]
public string OrderStringId { get; set; }
Property Value
Side
Order side.
[DataMember]
public Sides? Side { get; set; }
Property Value
Volume
Cancelling volume. If not specified, then it canceled the entire balance.
[DataMember]
public decimal? Volume { get; set; }
Property Value
Methods
Clone()
Create a copy of OrderCancelMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(OrderCancelMessage)
Copy the message into the destination
.
protected void CopyTo(OrderCancelMessage destination)
Parameters
destination
OrderCancelMessageThe object, to which copied information.
ToString()
public override string ToString()