Class DeleteAllPositionsRequest
Encapsulates request parameters for DeleteAllPositionsAsync(DeleteAllPositionsRequest, CancellationToken) call.
Inheritance
System.Object
DeleteAllPositionsRequest
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 DeleteAllPositionsRequest
Properties
| Improve this Doc View SourceCancelOrders
Gets or sets the flag indicating that request should also cancel all open orders (false if null
).
Declaration
public Boolean? CancelOrders { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
Timeout
Gets or sets the operation timeout. Useful in case of deleting a lot of positions. The default
HTTP timeout equal to 100 seconds used if this property is equal to null
.
Declaration
public TimeSpan? Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> |