Class ChangeOrderRequest
Encapsulates request parameters for PatchOrderAsync(ChangeOrderRequest, CancellationToken) call.
Inheritance
System.Object
ChangeOrderRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class ChangeOrderRequest
Constructors
| Improve this Doc View SourceChangeOrderRequest(Guid)
Creates new instance of ChangeOrderRequest object.
Declaration
public ChangeOrderRequest(Guid orderId)
Parameters
Type | Name | Description |
---|---|---|
Guid | orderId | Server side order identifier. |
Properties
| Improve this Doc View SourceClientOrderId
Gets or sets updated client order ID or null
if client order ID is not changed.
Declaration
public String? ClientOrderId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<String> |
Duration
Gets or sets updated order duration or null
if duration is not changed.
Declaration
public TimeInForce? Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeInForce> |
LimitPrice
Gets or sets updated order limit price or null
if limit price is not changed.
Declaration
public Decimal? LimitPrice { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
OrderId
Gets server side order identifier.
Declaration
public Guid OrderId { get; }
Property Value
Type | Description |
---|---|
Guid |
Quantity
Gets or sets updated order quantity or null
if quantity is not changed.
Declaration
public Int64? Quantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
StopPrice
Gets or sets updated order stop price or null
if stop price is not changed.
Declaration
public Decimal? StopPrice { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |