Class OrderReplaceMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The message containing the information for modify order.
[DataContract]
public class OrderReplaceMessage : OrderRegisterMessage, IMessage, ILocalTimeMessage, ICloneable, ISubscriptionIdMessage, IOriginalTransactionIdMessage, ISecurityIdMessage, ITransactionIdMessage, IPortfolioNameMessage, IStrategyIdMessage
- Inheritance
-
OrderReplaceMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderReplaceMessage()
Initializes a new instance of the OrderReplaceMessage.
public OrderReplaceMessage()
Properties
OldOrderId
Modified order id.
[DataMember]
public long? OldOrderId { get; set; }
Property Value
- long?
OldOrderPrice
Replaced price.
[DataMember]
public decimal? OldOrderPrice { get; set; }
Property Value
OldOrderStringId
Modified order id (as a string if the electronic board does not use a numeric representation of the identifiers).
[DataMember]
public string OldOrderStringId { get; set; }
Property Value
OldOrderVolume
Replaced volume.
[DataMember]
public decimal? OldOrderVolume { get; set; }
Property Value
Methods
Clone()
Create a copy of OrderReplaceMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(OrderReplaceMessage)
Copy the message into the destination
.
public void CopyTo(OrderReplaceMessage destination)
Parameters
destination
OrderReplaceMessageThe object, to which copied information.
ToString()
public override string ToString()