OrderCancelMessage

StockSharp.Messages

A message containing the data for the cancellation of the order.

Inherits: OrderMessage

Constructors

OrderCancelMessage
public OrderCancelMessage()
orderCancelMessage = OrderCancelMessage()

Initializes a new instance of the OrderCancelMessage.

OrderCancelMessage
protected OrderCancelMessage(MessageTypes type)
orderCancelMessage = OrderCancelMessage(type)

Initialize OrderCancelMessage.

type
Message type.

Properties

Balance
public decimal? Balance { get; set; }
value = orderCancelMessage.Balance
orderCancelMessage.Balance = value

Cancelling balance.

OrderId
public long? OrderId { get; set; }
value = orderCancelMessage.OrderId
orderCancelMessage.OrderId = value

ID cancellation order.

OrderStringId
public string OrderStringId { get; set; }
value = orderCancelMessage.OrderStringId
orderCancelMessage.OrderStringId = value

Cancelling order id (as a string if the electronic board does not use a numeric representation of the identifiers).

Side
public Sides? Side { get; set; }
value = orderCancelMessage.Side
orderCancelMessage.Side = value

Order side.

Volume
public decimal? Volume { get; set; }
value = orderCancelMessage.Volume
orderCancelMessage.Volume = value

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

Methods

Clone
public override Message Clone()
result = orderCancelMessage.Clone()

Create a copy of OrderCancelMessage.

Returns: Copy.

CopyTo
protected void CopyTo(OrderCancelMessage destination)
orderCancelMessage.CopyTo(destination)

Copy the message into the .

destination
The object, to which copied information.
ToString
public override string ToString()
result = orderCancelMessage.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.