Class OrderReplaceMessage
The message containing the information for modify order.
Inheritance
OrderReplaceMessage
Implements
Inherited Members
Namespace: StockSharp.Messages
Assembly: StockSharp.Messages.dll
Syntax
public class OrderReplaceMessage : OrderRegisterMessage, IExtendableEntity, ISubscriptionIdMessage, IOriginalTransactionIdMessage, ISecurityIdMessage, ITransactionIdMessage, IPortfolioNameMessage, IStrategyIdMessage, IMessage, ICloneable
Constructors
OrderReplaceMessage()
Initializes a new instance of the OrderReplaceMessage.
Declaration
public OrderReplaceMessage()
Properties
OldOrderId
Modified order id.
Declaration
public Nullable<long> OldOrderId { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int64> |
OldOrderPrice
Replaced price.
Declaration
public Nullable<Decimal> OldOrderPrice { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
OldOrderStringId
Modified order id (as a string if the electronic board does not use a numeric representation of the identifiers).
Declaration
public string OldOrderStringId { get; set; }
Property Value
Type | Description |
---|---|
String |
OldOrderVolume
Replaced volume.
Declaration
public Nullable<Decimal> OldOrderVolume { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
Methods
Clone()
Create a copy of OrderReplaceMessage.
Declaration
public override Message Clone()
Returns
Type | Description |
---|---|
Message | Copy. |
Overrides
CopyTo(OrderReplaceMessage)
Copy the message into the destination
.
Declaration
public void CopyTo(OrderReplaceMessage destination)
Parameters
Type | Name | Description |
---|---|---|
OrderReplaceMessage | destination | The object, to which copied information. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |