Time in Force Orders: GTC, IOC, FOK Explained
⏱️ 6 min read
- Time in force orders like GTC, IOC, and FOK control how long an order stays active before it’s canceled. Each serves a different trading purpose.
- GTC orders stay open until filled or canceled, making them great for long-term entries. IOC and FOK are better for fast, precise executions in volatile markets.
- Choosing the wrong time in force can lead to partial fills, missed opportunities, or unexpected slippage. Match the order type to your strategy and market conditions.
You place a limit order, walk away, and come back to find it filled — but at a price you no longer want. Or you try to enter a position fast, and only half fills, leaving you with a messy partial. Sound familiar? That’s where time in force orders come in. They’re the unsung heroes of order management, telling the exchange exactly how long your order should live. Let’s break down the three most common ones: GTC, IOC, and FOK.
What Is a Time in Force Order?
A time in force order is an instruction you attach to a trade that defines its lifespan. Without it, your order might sit on the book indefinitely, or get canceled the moment it doesn’t fill completely. In Investopedia‘s words, it’s “a special instruction used when placing a trade to indicate how long an order will remain active before it is executed or expires.”
Think of it like setting an expiration date on milk. You wouldn’t let it sit out for weeks, right? Same logic applies to orders. In fast-moving crypto futures markets, a stale order can be dangerous. Prices swing 2-3% in seconds, and an old GTC order might get filled at a level that’s no longer favorable.
There are three main types you’ll encounter on most exchanges:
- GTC (Good ‘Til Canceled) — stays open until you cancel it or it fills.
- IOC (Immediate or Cancel) — fills what it can instantly, then cancels the rest.
- FOK (Fill or Kill) — must fill the entire order immediately or it’s canceled.
Each one solves a different problem. And picking the wrong one can cost you real money. I’ve seen traders lose 5% of their position because they used GTC instead of IOC in a fast market.
How Do GTC, IOC, and FOK Orders Work?
Let’s go deeper into each type. You’ll want to understand the mechanics before you decide which one fits your style.
GTC (Good ‘Til Canceled) Orders
GTC is the default on most exchanges. You place a limit order at $50,000 for BTC, and it stays on the book until it fills or you cancel it. Simple. This is perfect for swing traders who want to catch a specific price over days or weeks. But here’s the catch: in crypto, some exchanges auto-cancel GTC orders after 30-90 days. Always check the fine print.
I once set a GTC buy order for ETH at $1,800, forgot about it, and came back two weeks later to find it filled — at a price that was now 10% above market. That was a painful lesson in setting alerts.
IOC (Immediate or Cancel) Orders
IOC is for speed. You send an order, the exchange fills as much as it can immediately, then cancels the rest. If you want to buy 10 BTC but only 7 are available at your price, you get 7 and the remaining 3 are canceled. This is great for scalpers who need to get in and out fast. But partial fills can mess up your position sizing. If you’re running a tight risk management system, a partial fill might throw off your stop-loss calculations.
FOK (Fill or Kill) Orders
FOK is all-or-nothing. The order must fill completely at your specified price, or it’s canceled entirely. No partials, no waiting. This is ideal for large institutional orders where you need the full position or nothing. But in thin order books, FOK orders often get rejected because there isn’t enough liquidity. I’ve seen FOK orders fail 60% of the time on low-cap altcoins.
Which Time in Force Order Is Best for Your Trading?
There’s no universal “best” — it depends on your strategy. Let’s match them to common scenarios.
For Long-Term Position Traders: GTC
If you’re accumulating Bitcoin over months, GTC is your friend. Set a limit order at a price you’re comfortable with and let it sit. No need to babysit the screen. Just remember to cancel it if market conditions change. A good rule: check your open orders once a day. I set a recurring calendar reminder for this.
For Day Traders and Scalpers: IOC
When you’re trading 5-minute candles, speed matters. IOC lets you grab liquidity fast without leaving residual orders that might get filled later at a worse price. Use IOC when you’re entering a breakout or fading a spike. But watch out for partial fills — they can mess up your risk-reward ratio. If you’re trading with 2% risk per trade, a 50% partial fill means you’re actually risking 1% without realizing it.
For Large Block Traders: FOK
If you’re moving 50 ETH or more, FOK ensures you don’t get stuck with a partial position. This is especially useful when arbitraging between exchanges or executing a complex multi-leg strategy. But test the order book depth first. On Binance Square, traders often share liquidity data for major pairs — worth checking before you hit send.
Can You Combine Time in Force Orders With Limit Orders?
Absolutely. In fact, that’s the most common setup. You attach a time in force instruction to a limit order. So you might place a “Limit GTC” order, a “Limit IOC” order, or a “Limit FOK” order. Each combination behaves differently.
For example, a Limit IOC order on a limit order means: “Try to fill this at my limit price immediately, and cancel whatever doesn’t fill.” A Limit FOK order means: “Only fill this entire amount at my limit price right now, or cancel everything.”
Here’s a quick comparison:
- Market GTC — not common; market orders usually fill instantly anyway.
- Market IOC — fills what’s available immediately, cancels rest.
- Limit FOK — strictest; must fill full size at limit price or nothing.
Most exchanges let you pick both the order type (market or limit) and the time in force separately. Don’t assume the default is right for you. I always double-check before clicking “Place Order.”
FAQ
Q: What happens if a GTC order doesn’t fill for months?
A: On most exchanges, GTC orders auto-cancel after 30-90 days. Check your exchange’s terms. For example, Binance cancels GTC orders after 90 days, while some smaller exchanges keep them open indefinitely. Always set a reminder to review open orders weekly.
Q: Can I use IOC on a market order?
A: Yes. A market IOC order fills as much as possible at the current market price and cancels the rest. This is useful when you need to enter a position quickly but don’t want a partial fill sitting around. However, you might get worse pricing on the filled portion due to slippage.
Q: Is FOK or IOC better for avoiding slippage?
A: FOK is better for avoiding slippage because it only fills at your exact limit price. IOC can fill at multiple price levels if the order book is thin, leading to slippage. But FOK has a higher rejection rate. There’s always a trade-off.
Picture This
Look ahead 12 months. Consistent, boring, profitable trades. You didn’t catch every pump. You didn’t need to. Your system worked — quietly, relentlessly.
Now imagine that system built on the right time in force orders. No more stale GTC orders catching you off guard. No more partial fills ruining your risk management. Just clean, precise execution every time. That’s the edge you’ve been looking for. Aivora AI Trading signals