TIF Matrices

Key

✔ = supported

◐ = exchange- or contract-dependent

— = not supported

DAY, GTC, GTD = the standard day, good-till-cancel and good-till-date values.

IOC and FOK = immediate-or-cancel and fill-or-kil

OPG = the opening auction, which gives MOO (MKT+OPG) and LOO (LMT+OPG)

AUC = the closing or other auction. MOC and LOC are always DAY-validity orders.

  • The API also has `DTC` (day till cancelled, for a few exchanges) and `Minutes` (crypto). Newer TWS versions add `OVERNIGHT` and `OVERNIGHT_PLUS_DAY` for US stocks on IBKR's overnight venue (LMT only).

Stocks / ETFs (US SMART; non-US varies by exchange)

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ✔ ✔ ✔ ✔ (LOO) —
MKT ✔ ✔ ◐ ✔ ✔ ✔ (MOO) —
STP ✔ ✔ ✔ ◐ ✔ ✔ ✔
STP / STP LMT ✔ ✔ ✔ ◐ — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
MIT / LIT ✔ ✔ ✔ ◐ — — —
MOC / LOC ✔ (auction) — — — — — ✔
REL (Relative/Pegged-to-Primary) ✔ ✔ ✔ ◐ — — —
PEG MID / MIDPRICE ✔ ✔ ✔ ✔ — — —
MTL (Market-to-Limit) ✔ ✔ ◐ ✔ — — —
Snap Mid/Mkt/Prim — — — — — — —
Algos (Adaptive, VWAP, TWAP, Arrival Price, etc.) ✔ ◐ ◐ — — — —
  • Fractional shares: MKT, LMT, STP and STP LMT, mostly DAY, with GTC on limit and stop orders.
  • Extended hours (`outsideRth`) works on LMT and STP LMT with DAY, GTC or IOC.

Options (equity, index, ETF)

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ✔ ✔ ✔ ◐ —
MKT ✔ ✔ ◐ ✔ ✔ ◐ —
STP / STP LMT ✔ ✔ ✔ — — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
REL ✔ ✔ ✔ — — — —
MIDPRICE ✔ ✔ — ✔ — — —
Snap Mid ✔ — — — — — —
MTL ✔ ✔ — ✔ — — —
Combo / spread (LMT, MKT) ✔ ✔ ◐ ✔ ◐ — —

MOC and LOC are not supported. Index options on some exchanges are restricted to DAY, GTC and IOC.

Futures and Single-Stock Futures

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ✔ ✔ ◐ — —
MKT ✔ ✔ ◐ ✔ ◐ — —
STP / STP LMT ✔ ✔ ✔ ◐ — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
MIT / LIT ✔ ✔ ✔ — — — —
MOC / LOC ◐ ✔ ✔ — — — ◐
MTL ✔ ✔ ◐ ✔ — — —
Algos (Adaptive, TWAP, VWAP) ✔ ◐ ◐ — — — —

Spreads and combos (LMT) follow the same TIFs as outright futures.

Futures Options (FOP)

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ◐ ✔ — — —
MKT ✔ ✔ ✔ ✔ ◐ — —
STP / STP LMT ✔ ✔ ✔ — — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
MIT / LIT ◐ ◐ ◐ — — — —

Forex (IDEALPRO / Cash)

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ✔ ✔ — — —
MKT ✔ ✔ ✔ ✔ — — —
STP / STP LMT ✔ ✔ ✔ — — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
MIT / LIT ✔ ✔ ✔ — — — —
REL ✔ ✔ ✔ — — — —
Algos (Adaptive, TWAP, VWAP) ✔ — — — — — —
  • Forex orders can be sized by cash quantity.

IDEALPRO enforces a minimum order size.

Bonds (Govt, Corp, Muni, T-Bills)

Order Type DAY GTC GTD IOC FOK OPG AUC
LMT ✔ ✔ ✔ ✔ ◐ — —
MKT ◐ ◐ — ◐ — — —
STP / STP LMT ◐ ◐ ◐ — — — —
RFQ / Firm quote (BondDesk, Tradeweb) ✔ — — — — — —

Support varies by venue. Many corporate and muni bonds accept only LMT with DAY or GTC.

Warrants and Structured Products

Order Type DAY GTC GTD IOC FOK OPG AUC
MKT ✔ ✔ ✔ ✔ ◐ — —
LMT ✔ ◐ ◐ ✔ — — —
STP / STP LMT ✔ ✔ ✔ — — — —

CFDs

Order Type DAY GTC GTD IOC FOK OPG AUC
MKT ✔ ✔ ◐ ✔ — — —
LMT ✔ ✔ ✔ ✔ — — —
STP / STP LMT ✔ ✔ ✔ — — — —
TRAIL / TRAIL LIMIT ✔ ✔ ✔ — — — —
MIT / LIT / REL ✔ ✔ ✔ — — — —

CFDs mirror the underlying's exchange rules, such as RTH and auctions.

Metals / Commodities (spot and physical)

Order Type DAY GTC GTD IOC FOK
MKT ✔ ◐ — ✔ —
LMT ✔ ✔ ✔ ✔ —
STP / STP LMT ✔ ✔ ✔ — —

Physical metals (Paxos-style) are limited to MKT and LMT, with DAY or GTC.

Crypto (Paxos / Zero Hash)

Order Type DAY GTC MINUTES IOC
MKT  — — — ✔
LMT ✔ ✔ ✔ ✔
STP / STP LMT ◐ ◐ — —

Orders can be sized by cash quantity or by units, and there are no shorts.

Mutual Funds

Order Type DAY GTC OTHERS
MKT (buy by cash amount, sell by shares ✔ — —
LMT / STP — — —

Orders execute at the next NAV. There are no limit or stop orders.

Event Contracts (ForecastEx / CME event)

Order Type DAY GTC GTD IOC FOK
LMT ✔ ✔ ◐ ✔ —
MKT / STOP / TRAIL — — — — —

These are limit orders only. 

Powered by IBot
What times-in-force can I use when trading cryptocurrencies?
How can I create a Limit on Open order in TWS?
What are the order types allowed for the opening and closing auctions?
What order types are supported for equities traded on the Bursa Malaysia (BURSAMY)?