OrderDuration Class
Contains string constants representing the values returned by the Duration property of an Order object.
Namespace: tsdata.trading
Properties
Additional
properties, methods, and events are described in the classes listed
under Inheritance Hierarchy (see below).
Name | Type | Description | |
![]() |
AtOpening | string | Returns OPG (order is valid only for stocks listed at session open). |
![]() |
Day | string | Returns DAY (order is valid during the regular trading session). |
![]() |
DayPlus | string | Returns DAY+ (order is valid through the extended trading session). |
![]() |
FillorKill | string | Returns FOK (order must be filled entirely or canceled but no partial fill). |
![]() |
FiveMinutes | string | Returns 5 Min (order expires after 5 minutes). |
![]() |
GoodUntilCancel | string | Returns GTC (order is resubmitted everyday for the regular trading session until filled or until it expires after 90 days). |
![]() |
GoodUntilCancelPlus | string | Returns GTC+ (order is resubmitted everyday for the extended trading session until filled or until it expires after 90 days). |
![]() |
GoodUntilDate | string | Returns GTD (order is resubmitted everyday for the regular trading session to fill until the specified date or until it expires after 90 days). |
![]() |
GoodUntilDatePlus | string | Returns GTD+ (order is resubmitted everyday for the extended trading session to fill until the specified date or until it expires after 90 days). |
![]() |
ImmediateOrCancel | string | Returns IOC (order must be filled immediately or it cancels). |
![]() |
OneMinutes | string | Returns 1 Min (order expires after 1 minutes). |
![]() |
ThreeMinutes | string | Returns 3 Min (order expires after 3 minutes). |
Methods
Name | Description | |
![]() |
ToList() | Returns a Vector of strings for all the possible duration values. |
![]() |
ToList(security) | Returns a Vector of strings for all the possible duration values for the specified Security type. |
Inheritance Hierarchy
tsdata.trading.OrderDuration