FOK vs IOC vs Day Orders: How Time-in-Force Instructions Change Fill Outcomes in FX and Crypto
FOK vs IOC vs Day Orders: Master Your Trade Fill Outcomes
Understand how time-in-force instructions dictate whether your FX or crypto order fills completely, partially, or gets cancelled.
The Three Little Words That Decide Your Trade
Imagine you’re at a bustling chai stall. You want ten cups, right now, for your entire cricket team. You tell the vendor, "I need all ten immediately, or I’m not buying any." That’s a Fill-or-Kill order. Now imagine you say, "Give me as many as you have ready right now, and forget the rest." That’s an Immediate-or-Cancel order. Finally, you say, "I’ll wait here all day until you can make all ten." That’s a Day order. The instruction you give—the time-in-force—completely changes the outcome, even though you wanted the same thing: ten cups of chai. In trading, these instructions are just as powerful. They determine whether your order is filled completely, partially, or cancelled on the spot.
What Is Time-in-Force (TIF)?
Time-in-force is a set of instructions you attach to an order that tells your broker or exchange how long the order should remain active and under what conditions it should be filled [Source 8]. Think of it as the expiry date and the fill policy for your order. Without it, you’re leaving the outcome to chance. The two most common TIF instructions are Day and Good-Til-Canceled (GTC), but the real action happens with the immediate execution types: Fill-or-Kill (FOK) and Immediate-or-Cancel (IOC).
A Day order is the default. It stays active for the entire trading day, trying to get filled at your specified price. If the closing bell rings and it hasn't been filled, it's cancelled automatically [Source 6]. On many platforms, if you don’t specify anything, the system assumes you want a Day order [Source 10].
A Good-Til-Canceled (GTC) order is the patient one. It remains active across multiple trading days until it’s either filled or you decide to cancel it. Your brokerage firm will typically set a limit on how long it can stay open, often many months [Source 8]. But be careful: GTC orders might be automatically cancelled if a company issues a dividend or if you don’t log into your account for a while [Source 6]. Always check your broker’s specific rules.
FOK: The All-or-Nothing Ultimatum
A Fill-or-Kill (FOK) order is the most demanding. It instructs your broker to execute the entire order immediately, at your specified price or better. If the full quantity isn’t available right away, the entire order is cancelled. No partial fills. Ever [Source 8].
Let’s see this in action. Imagine you want to buy 10,000 contracts of a crypto perpetual future at a price of $8,001 or lower. You look at the order book and see there are only 5,000 contracts available at that price. If you submit an FOK order, nothing happens. The system sees it can’t fill all 10,000, so it kills the order instantly [Source 9].
This is a powerful tool. It’s often used by traders who need to guarantee a specific position size immediately, like those executing a complex arbitrage strategy where a partial fill would ruin the plan. The trade-off is obvious: you get certainty of fill or certainty of no fill, but you sacrifice any chance of a partial execution.
IOC: The Take-What-You-Can Approach
An Immediate-or-Cancel (IOC) order is more flexible. It tells your broker to fill as much of the order as possible, right now, at your price or better. Any portion that can’t be filled immediately is cancelled [Source 8].
Using the same example, you want to buy 10,000 contracts. The order book shows 5,000 available at your price. With an IOC order, you would get a partial fill of 5,000 contracts. The remaining 5,000 are cancelled instantly [Source 9].
This strategy is popular for traders looking to avoid “slippage”—the risk of their order getting filled at a worse price later. By cancelling the remainder, you avoid leaving a large order sitting in the book that could be picked off at unfavorable prices [Source 9]. It’s often used to test the market’s liquidity or to grab a quickly vanishing opportunity without committing to a full fill.
How FOK and IOC Differ in FX and Crypto
The core mechanics of FOK and IOC are the same across markets, but the context matters. In the foreign exchange (FX) market, which is decentralized and trades over-the-counter (OTC), the availability of different time-in-force instructions can vary depending on your broker and the specific trading venue (like an Electronic Communication Network, or ECN) [Source 1]. Some venues may not support FOK or IOC for all order types. The same is true in crypto. While major exchanges like Bybit support FOK and IOC for their spot and perpetual futures markets [Source 9], others might not. You must check your exchange’s documentation. Also, remember that these instructions work with limit orders. A market order is always immediate, but it doesn’t have the same price control. You can’t place an FOK *market* order—that’s just a market order with a guaranteed full fill, which isn’t how it works. FOK and IOC are qualifiers you add to limit orders to control execution.
Key Takeaways for Your Trading
Understanding these instructions is about matching your order type to your intention. If you absolutely must get the entire position at a specific price, FOK is your tool. If you want to grab whatever liquidity is available at a good price and don’t mind a partial fill, IOC is the way. A Day order is for when you have patience and a specific price target in mind, while GTC is for the long game. There’s no single “best” instruction; it depends entirely on your goal for that specific trade. Mixing them up can lead to surprising results—like your perfectly planned trade being cancelled just because you chose FOK instead of IOC.
A Note on Risk and Uncertainty
These tools give you more control, but they don’t eliminate risk. An FOK order might be cancelled, leaving you unhedged. An IOC order might get you a partial fill, leaving you with a smaller position than you intended. Day and GTC orders leave you exposed to price movements while you wait. Every choice involves a trade-off. Also, remember that rules and available order types are not universal. What works on one crypto exchange might not work on another, and the FX market is a patchwork of different venues with different rules [Source 1, Source 7]. Always verify what your specific broker or exchange supports. And finally, the information here is educational. It’s not a recommendation to buy or sell any specific asset. Trading involves risk, and you should only trade with money you can afford to lose.
Educational explanations only—not personalised trading instructions.
Comments
Comments are coming soon.