Enum TimeInForce
Supported order durations in Alpaca REST API. See Alpaca Trading Documentation for more information.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public enum TimeInForce
Fields
Name | Description |
---|---|
Cls | The order will become a limit order if a limit price is specified or a market order otherwise at market close. |
Day | The order is good for the day and it will be canceled automatically at the end of market hours. |
Fok | The order is immediately filled or canceled after being placed (may not partial fill). |
Gtc | The order is good until canceled. |
Ioc | The order is immediately filled or canceled after being placed (may partial fill). |
Opg | The order is placed at the time the market opens. |