Definition
An all-or-none order is an instruction to buy or sell a security in which the entire stated quantity must be executed together, or none of it is executed at all.
How it works
Most orders can be filled in pieces. If you place an order to buy 1,000 shares, the market may supply 300 at one moment, 500 a little later and the rest after that. These are partial fills, and they are normal.
An AON condition removes that possibility. The order is only eligible to trade when the full quantity can be matched at an acceptable price. Until then, nothing happens.
Two features are worth separating, because they are often confused:
- Full-quantity requirement. Every unit must be executed in a single transaction.
- Timing. AON on its own does not demand immediate execution. The order can stay open for the duration set by its time-in-force instruction, such as a day order or a good-till-cancelled order, and execute later if conditions allow.
AON is usually paired with a limit price. An AON market order is rare, because a market order seeks immediate execution at whatever price is available, which sits awkwardly with waiting for enough size. Whether a venue supports AON, and how it treats these orders, varies by exchange and broker. Some markets restrict or do not offer the instruction, so check your broker's order types and the venue's rules.
How AON differs from similar instructions
| Instruction | Full quantity required | Must execute immediately |
|---|---|---|
| Standard limit order | No | No |
| All-or-none | Yes | No |
| Immediate-or-cancel | No | Yes (unfilled part cancelled) |
| Fill-or-kill | Yes | Yes (otherwise cancelled) |
In short, AON is fill-or-kill without the urgency.
A worked example
Suppose an investor wants to sell 5,000 shares of a hypothetical company with a limit price of $20.00. The market currently shows only 1,200 shares bid at $20.00, with more bids at lower prices.
Standard limit order. The 1,200 shares trade immediately at $20.00. The remaining 3,800 stay in the order book and may fill over time, or not at all. The investor now holds a smaller position and may pay several small commissions or fees, depending on the broker's structure.
AON limit order. The order will not trade against the 1,200 shares, because that would be a partial fill. It waits. If a buyer or buyers later offer 5,000 shares at $20.00 or better and the order can be matched in full, it executes in one transaction. If that never happens before the order expires, the investor still holds all 5,000 shares.
The same logic in rupees: an order to buy 10,000 units at ₹100 as AON will not take 4,000 units offered at ₹100. It waits for a counterpart able to supply the whole 10,000.
Notice the cost of the condition. While the standard order might have sold 1,200 shares at once, the AON order sold none. If the price then drifts down to $19.00, the investor has gained certainty about size but lost the chance to sell any shares at $20.00.
Why it matters to investors
AON orders matter mainly in three situations:
- Fixed-size needs. An investor who needs an exact amount, for example to complete a position for a particular purpose, may not want a fragment.
- Avoiding fragmented costs. Where a broker charges per execution, many small fills can cost more than one large one. Check your broker's fee schedule, as many brokers no longer charge this way.
- Less-liquid securities. In thinly traded stocks or bonds, partial fills can leave an awkward odd position, and AON avoids that.
The flip side is the liquidity trade-off. An AON order narrows the set of trades it can participate in. In a deep market with plenty of volume, the condition costs little. In a shallow market, it may never fill, and that is precisely where investors are most tempted to use it.
Another consideration is queue treatment. Because AON orders cannot trade against partial quantities, many markets do not let them set or join the displayed best price in the usual way, and they may be skipped while other orders trade through. As a result, an AON order at a price others are trading at can still go unfilled. The exact treatment depends on the market, so do not assume time priority applies.
What to watch out for
- Assuming it will execute. AON gives certainty of size if filled, not certainty of being filled.
- Confusing it with fill-or-kill. AON can rest; fill-or-kill cancels immediately if it cannot fill completely.
- Setting an unrealistic size. The larger the order relative to normal trading volume, the lower the chance of a full match.
- Ignoring price movement. An unfilled order is exposed to market moves in the meantime, as with any resting limit order.
- Overlooking rules. Availability and handling differ across venues and brokers.
Related concepts
AON sits within the family of order instructions that control size, price and timing. Understanding the order book, market depth and liquidity helps explain why a full-quantity condition succeeds or fails. Fill-or-kill and immediate-or-cancel orders offer alternative combinations of the same two conditions.