Skip to content
Glossary

All-or-None Order

Updated 27 November 2026 · 4 min read · Reviewed against our editorial policy

In brief

An all-or-none (AON) order instructs a broker to execute the entire quantity in one go or not execute at all, with no partial fills. Unlike fill-or-kill, it does not have to execute immediately and can stay open until it can be filled or expires. The trade-off is certainty of size in exchange for a lower chance of execution, especially in thinly traded securities.

  • An all-or-none order is filled in full or not at all, so you never end up with a partial position.
  • Unlike fill-or-kill, an AON order can remain working until its time-in-force expires, which means it may sit unfilled.
  • The full-quantity condition reduces execution probability and can mean the order is passed over while other orders trade ahead of it.

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.

Frequently asked questions

What is the difference between an all-or-none order and a fill-or-kill order?

Both require the full quantity to be executed with no partial fills. The difference is timing: a fill-or-kill order must execute immediately or be cancelled, while an all-or-none order can remain open until it can be filled in full or until its time-in-force expires.

Does an all-or-none order guarantee that I will get my trade done?

No. It guarantees only that, if the order executes, it will do so for the full quantity. Because it needs enough matching volume at your price, it may sit unfilled for its whole duration, particularly for large orders or thinly traded securities.

When might an all-or-none order be a poor choice?

It can be a poor fit when you mainly want to get a trade done quickly or when the market is moving fast, since waiting for a full match may mean missing the price entirely. It is also less practical for large orders in illiquid securities, where a full match is unlikely. In those cases, a standard limit order accepting partial fills may serve the goal better.

Continue learning

Educational content only — not investment, tax or legal advice. See our disclaimer.