Enum PositionIntent
Position intent for order placement in Alpaca REST API.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public enum PositionIntent
Fields
| Name | Description |
|---|---|
| BuyToClose | Buy to close a short position. |
| BuyToOpen | Buy to open a long position. |
| SellToClose | Sell to close a long position. |
| SellToOpen | Sell to open a short position. |