Table of Contents

Class OrderFail

Namespace
StockSharp.BusinessEntities
Assembly
StockSharp.BusinessEntities.dll

Description of the error that occurred during the registration or cancellation of the order.

[DataContract]
public class OrderFail : IErrorMessage, ILocalTimeMessage, IServerTimeMessage, ISeqNumMessage
Inheritance
OrderFail
Implements
Inherited Members
Extension Methods

Constructors

OrderFail()

Initializes a new instance of the OrderFail.

public OrderFail()

Properties

Error

System information about error containing the reason for the refusal or cancel of registration.

[DataMember]
public Exception Error { get; set; }

Property Value

Exception

LocalTime

Local time, when the error has been received.

public DateTimeOffset LocalTime { get; set; }

Property Value

DateTimeOffset

Order

The order which was not registered or was canceled due to an error.

[DataMember]
public Order Order { get; set; }

Property Value

Order

SeqNum

Sequence number.

[DataMember]
public long SeqNum { get; set; }

Property Value

long

Remarks

Zero means no information.

ServerTime

Server time.

[DataMember]
public DateTimeOffset ServerTime { get; set; }

Property Value

DateTimeOffset

Methods

ToString()

public override string ToString()

Returns

string