Class DeletePositionRequest
Encapsulates request parameters for DeletePositionAsync(DeletePositionRequest, CancellationToken) call.
Inheritance
System.Object
DeletePositionRequest
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 DeletePositionRequest
Constructors
| Improve this Doc View SourceDeletePositionRequest(String)
Creates new instance of DeletePositionRequest object.
Declaration
public DeletePositionRequest(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Symbol for liquidation. |
Properties
| Improve this Doc View SourcePositionQuantity
Gets or sets the custom position liquidation size (if null
the position will be liquidated completely).
Declaration
public PositionQuantity? PositionQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Alpaca.Markets.PositionQuantity> |
Symbol
Gets the symbol for liquidation.
Declaration
public String Symbol { get; }
Property Value
Type | Description |
---|---|
String |