Canceled Order
A canceled order is an instruction to buy or sell that a trader submits to a broker or exchange and then withdraws before it is filled, either in full or for whatever portion remains unfilled. It's distinct from a "rejected" order, which never gets accepted onto the order book in the first place, and from an "expired" order, which simply reaches its own time limit (for example, a Day order that lapses at the market close).
Traders cancel orders for practical reasons: correcting a mistyped price, reacting to breaking news that changes their view, or replacing an order with a modified version — often done in one step through a "cancel/replace" or "modify" function offered by most trading platforms. Knowing how cancellations actually work matters because a cancel request is not instant or guaranteed; it has to reach the exchange's matching engine and be processed before the order fills, which creates a real risk in fast-moving markets.
This mechanic is essentially identical everywhere electronic order books exist — forex ECNs, stock exchanges, crypto exchanges and futures/commodity markets all remove a resting order from the book once a cancellation is confirmed. For example, a trader places a limit order to buy 100 shares of a stock at $150, but the price rallies away before it fills; the trader cancels the stale order and resubmits a fresh one at $152. If the order had partially filled — say 40 of the 100 shares — before the cancel request arrived, only the unfilled 60 shares are canceled; the 40 already executed remain a valid trade.
In very fast or illiquid markets, a cancel request can lose a race against the market itself: if the price touches the order's level a fraction of a second before the exchange processes the cancellation, the order fills anyway and the cancel request is rejected as "too late." This is why professional traders treat a submitted cancellation as pending, not confirmed, until the exchange explicitly acknowledges it.
One consequence of cancelling is easy to miss and directly costly: queue position. Exchanges match resting orders at the same price by time priority, so an order that has been sitting at $150 since the morning is ahead of every order placed there since. Cancelling and resubmitting — even at the identical price, even one second later — puts the order at the back of that queue. On a busy level that can mean the difference between being filled and watching the price move away, which is why professional traders amend orders as little as possible and why a cancel/replace that changes only the size upward normally forfeits priority too, while reducing size often does not.
There is also a limit on how much cancelling is permitted, which surprises people who assume it is free. Exchanges monitor the ratio of messages sent to trades actually executed, and firms that place and cancel orders far more often than they trade face fees or throttling — the rules exist because excessive quoting consumes exchange capacity and can be used to mislead other participants about available liquidity. Retail traders rarely approach these thresholds through a broker, but the same logic explains why some platforms limit modification frequency, and why a strategy built on constantly repositioning orders behaves differently in production than in a backtest that assumed every cancellation was instant and costless.