Good-Til-Date/Time (GTD) Orders

The GTD (Good-til-Date/Time) time in force lets you select an expiration date and time up until which an order will continue to work. Setting this attribute requires both a time in force selection of GTD, a date entry in the Expiration Date field, and a time entry in the Expiration Time field if that level of detail is required. Note that if you only enter a good-till date, the unfilled order will cancel at the close of the market on the specified day.*

Notes:

The Reference Table to the upper right provides a general summary of the order type characteristics. The checked features are applicable in some combination, but do not necessarily work in conjunction with all other checked features. For example, if Options and Stocks, US and Non-US, and Smart and Directed are all checked, it does not follow that all US and Non-US Smart and direct-routed stocks support the order type. It may be the case that only Smart-routed US Stocks, direct-routed Non-US stocks and Smart-routed US Options are supported.


Products Availability Routing TWS
Bonds US Products Smart Attribute
EFPs Time in Force
Forex
Futures
FOPs
Options
Stocks
Warrants
View Supported Exchanges|Open Users' Guide

Example

Good–Til-Date/Time Order

Order Type In Depth - Good–Til-Date/Time Order

Step 1 – Enter a Good-Til-Date/Time Limit Order

You want to submit an order for 100 shares of XYZ which will continue to work (if necessary) until 4:00 pm ET on July 23. First you create a limit buy order by clicking the Ask price of XYZ, then you enter a limit price.

Assumptions
Action BUY
Qty 100
Order Type LMT
Market Price 47.56
Limit Price 47.54
Good–Til-Date/Time Order
Step 2 – Enter a Date and Time, then Transmit the Order

Next, you complete your order by selecting GTD from the time in force field, then entering a date and time In the Exp Date and Exp Time fields, you use the Calendar icons to select the desired date and time, then you transmit the order. The submitted order will work until it executes, is canceled, or until 4:00 pm ET on July 23, the specified date and time.


Step 3 – Order Transmitted

You've transmitted your good-til-date/time order, which will be held in the IB system until it fills, until you cancel it or until 4:00 pm ET on July 23, the specified date and time.


Step 4 – If Not Filled, Order Canceled on Specified Date and Time

At 4:00 pm ET on July 23, your limit order still has not been filled, and you have not canceled it. Because your order includes a good-til-date/time (GTD) time in force, it is therefore canceled.

Assumptions
Action BUY
Qty 100
Order Type LMT
Market Price 47.56
Limit Price 47.54
Time in Force GTD
Exp. Date July 23, 20XX
Exp. Time 4:00 PM