Table of Contents

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 MessageTypes

Message type.

Properties

Balance

Cancelling balance.

[DataMember]
public decimal? Balance { get; set; }

Property Value

decimal?

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

string

Side

Order side.

[DataMember]
public Sides? Side { get; set; }

Property Value

Sides?

Volume

Cancelling volume. If not specified, then it canceled the entire balance.

[DataMember]
public decimal? Volume { get; set; }

Property Value

decimal?

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 OrderCancelMessage

The object, to which copied information.

ToString()

public override string ToString()

Returns

string