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
Public property AtOpening string Returns OPG (order is valid only for stocks listed at session open).
Public property Day string Returns DAY (order is valid during the regular trading session).
Public property DayPlus string Returns DAY+ (order is valid through the extended trading session).
Public property FillorKill string Returns FOK (order must be filled entirely or canceled but no partial fill).
Public property FiveMinutes string Returns 5 Min (order expires after 5 minutes).
Public property GoodUntilCancel string Returns GTC (order is resubmitted everyday for the regular trading session until filled or until it expires after 90 days).
Public property GoodUntilCancelPlus string Returns GTC+ (order is resubmitted everyday for the extended trading session until filled or until it expires after 90 days).
Public property 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).
Public property 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).
Public property ImmediateOrCancel string Returns IOC (order must be filled immediately or it cancels).
Public property OneMinutes string Returns 1 Min (order expires after 1 minutes).
Public property ThreeMinutes string Returns 3 Min (order expires after 3 minutes).
Methods
  Name Description
Public property ToList() Returns a Vector of strings for all the possible duration values.
Public property ToList(security) Returns a Vector of strings for all the possible duration values for the specified Security type.
Inheritance Hierarchy

elsystem.Object

tsdata.trading.OrderDuration