Ever wondered what really happens after you click Buy or Sell on a stock trading app?
A stock order is more than just a button on your screen. Behind that simple click is a process involving your brokerage, buyers and sellers, market prices, order types, and trade execution.
In this beginner-friendly guide, we'll explain how stock orders work, what happens after you submit an order, and the differences between market, limit, stop, and stop-limit orders. We'll also use simple examples to help you understand when each order type may be useful.
How Does a Stock Order Work?
A stock order is an instruction you give to your broker to buy or sell shares of a publicly traded company.
For example, imagine a company's stock is trading at around $100 per share. You want to buy 10 shares.
You open your brokerage account, select the stock, enter 10 shares, choose an order type, and submit the order.
But pressing Buy does not necessarily mean you've instantly purchased the shares.
Your broker first processes the instruction and routes it to an appropriate trading venue. The order then interacts with other orders in the market. If a compatible buyer and seller are found under the conditions of your order, the trade can be executed.
That entire process can happen very quickly, sometimes in fractions of a second.
The Stock Order Process Explained
Let's break the process into simple steps.
| Step | What Happens |
|---|---|
| 1. Place Order | You enter the stock, quantity, order type, and other instructions |
| 2. Broker Processes It | Your broker checks and processes the order |
| 3. Order Is Routed | The order is sent to an appropriate trading venue |
| 4. Buyers & Sellers Are Matched | The market looks for a compatible order |
| 5. Trade Is Executed | Your buy or sell order is filled, fully or partially |
| 6. Settlement | The transaction is finalized according to applicable settlement rules |
The important thing to remember is that placing an order and executing an order are not always the same thing.
What Is an Order Book?
To understand how stock orders are matched, it helps to know what an order book is.
An order book is essentially a constantly changing list of buy and sell interest for a security.
Buyers indicate the prices they're willing to pay, while sellers indicate the prices they're willing to accept.
For example:
| Buyers | Price | Sellers |
|---|---|---|
| 500 shares | $99.90 | |
| 300 shares | $99.95 | |
| 200 shares | $100.00 | |
| $100.05 | 250 shares | |
| $100.10 | 400 shares | |
| $100.20 | 600 shares |
The highest price a buyer is willing to pay is known as the bid.
The lowest price a seller is willing to accept is known as the ask.
The difference between these two prices is the bid-ask spread.
In this example:
Bid = $100.00
Ask = $100.05
Spread = $0.05
What Is a Market Order?
A market order tells your broker to buy or sell a security at the best available price in the market.
The main priority is generally execution, rather than getting a specific price.
Example of a Market Buy Order
Imagine a stock is trading around $50.
You want to buy 20 shares and submit a market order.
The available sellers might be offering shares at:
$50.01
$50.03
$50.05
Your order may be filled at one or more available prices depending on market conditions and available liquidity.
You might therefore pay slightly more than the price you saw when you placed the order.
The Key Point
A market order can be useful when getting the trade executed is more important to you than controlling the exact price.
However, a market order generally does not guarantee a specific execution price.
What Is a Limit Order?
A limit order lets you specify the price you're willing to accept.
For a buy order, you set the maximum price you're willing to pay.
For a sell order, you set the minimum price you're willing to accept.
Example of a Limit Buy
Suppose a stock is trading at $100.
You decide that you don't want to pay more than $97.
You place:
Buy 10 shares at a $97 limit price.
If the stock becomes available at $97 or lower, your order may execute.
But if the stock remains above $97, the order may never be filled.
This leads to one of the most important concepts in stock trading:
A limit order gives you price control, but it does not guarantee execution.
Market Order vs. Limit Order
The difference becomes easier to understand when you think about priorities.
| Feature | Market Order | Limit Order |
|---|---|---|
| Main priority | Execution | Price control |
| Specific price guaranteed? | No | Yes, within the limit condition |
| Execution guaranteed? | Generally high likelihood, but not absolute | No |
| Useful when | You want to trade promptly | You only want to trade at a chosen price |
Neither order is automatically better.
The appropriate choice depends on your goals, the stock you're trading, market conditions, and how much price uncertainty you're willing to accept.
What Is a Stop Order?
A stop order is an order that becomes active when a specified stop price is reached.
Investors may use stop orders for different purposes, including managing risk or entering a position after a stock reaches a particular level.
Example
Imagine you own shares currently trading at $100.
You decide that if the stock falls to $90, you want to trigger a sell order.
You could place a sell stop order with a stop price of $90.
If the stock reaches the specified trigger level, the stop order is activated according to its terms.
Here's the important part:
The stop price is a trigger. It is not necessarily the price at which your trade will execute.
If the market moves rapidly, the actual execution price could be lower than the stop price for a sell order.
What Is a Stop-Limit Order?
A stop-limit order combines a stop price with a limit price.
For example, suppose a stock is trading at $100.
You could set:
Stop price: $90
Limit price: $89
If the stock reaches the stop price, the order is activated as a limit order.
The order would then only execute at the specified limit price or better, subject to available liquidity.
The Potential Problem
Imagine the stock suddenly falls from $90 to $85.
Your stop-limit order may be triggered, but if nobody is willing to buy at $89 or better, the order may remain unfilled.
So a stop-limit order provides greater price control, but that control comes with the possibility of no execution.
What Is the Bid-Ask Spread?
The bid-ask spread is the difference between the highest displayed buying price and the lowest displayed selling price.
For example:
Bid: $49.95
Ask: $50.05
The spread is:
$0.10
Why does this matter?
If you're trying to buy immediately, you may interact with the available ask price.
If you're trying to sell immediately, you may interact with the available bid price.
The smaller the spread, all else equal, the less price difference there is between those two sides of the market.
Highly liquid securities often have relatively narrow spreads, although spreads can change with market conditions.
What Does Liquidity Mean in Stock Trading?
Liquidity refers to how easily a stock can be bought or sold without causing a significant change in its price.
Consider two stocks.
Stock A trades millions of shares every day and has many active buyers and sellers.
Stock B trades only a few thousand shares a day.
Stock A may generally have deeper liquidity.
Stock B may have fewer shares available at each price level.
This becomes particularly important when placing larger orders.
How Large Orders Can Affect Execution
Suppose you want to buy 10 shares of a highly liquid stock.
There may be plenty of sellers available at or near the current price.
Now imagine you want to buy 100,000 shares.
There may not be enough sellers offering all those shares at one price.
For example:
| Available Shares | Price |
|---|---|
| 5,000 | $100.00 |
| 10,000 | $100.05 |
| 20,000 | $100.10 |
| 30,000 | $100.20 |
A large market order could potentially consume several price levels.
This is one reason professional traders pay close attention to liquidity, market depth, and execution quality.
What Is Slippage?
Slippage occurs when the price at which your order actually executes differs from the price you expected.
Imagine you see a stock trading around $100 and submit a market buy order.
The market suddenly moves, and your order executes at $100.15.
The difference is an example of slippage.
Slippage can become more noticeable when:
The market is moving rapidly
Trading volume is low
Bid-ask spreads are wide
The order is large
There isn't enough liquidity at the expected price
This is another reason why the displayed stock price should not always be treated as a guaranteed execution price.
What Does "Filled" Mean?
When an order is marked filled, it generally means the order has been executed.
For example, if you requested 100 shares and all 100 were purchased, the order is fully filled.
But an order can also be only partially filled.
What Is a Partial Fill?
A partial fill happens when only part of your order is executed.
Imagine you submit an order to buy 1,000 shares.
Only 400 shares are immediately available under your order conditions.
You could receive a fill for 400 shares while the remaining 600 shares stay open, depending on the order's instructions.
Your brokerage account might show something like:
Filled: 400 shares
Remaining: 600 shares
Partial fills are particularly relevant when trading larger orders or less liquid securities.
What Does "Pending" Mean?
A pending order generally means the order has been submitted but hasn't yet been completed.
For a limit order, one common reason is simply that the market hasn't reached your specified price.
For example:
Current stock price: $100
Your limit buy price: $95
If the stock never reaches $95 under the applicable execution conditions, the order may remain pending.
Other reasons can include market hours, processing, order restrictions, or other brokerage and market conditions.
Because brokers can use different status labels, always check your platform's definitions.
What Does "Canceled" Mean?
A canceled order is an order that has been withdrawn or otherwise removed before full execution.
You may cancel an order manually.
An order may also expire or be canceled according to its instructions and the applicable rules.
For example, a day order generally does not remain active indefinitely.
What Is Time in Force?
When placing an order, you may be able to specify how long you want it to remain active.
This is called time in force.
Day Order
A day order generally remains active during the applicable trading session and expires if it isn't executed, subject to the broker's and market's rules.
Good 'Til Canceled
A GTC, or Good 'Til Canceled, order can remain active beyond the current session, subject to the broker's policies and expiration rules.
Different brokers may offer different time-in-force choices.
Always check the specific terms before submitting an order.
What Happens When the Stock Market Is Closed?
You can often enter orders even when the regular market session is closed.
But what happens next depends on your broker, the security, and the order type.
Your order might be queued for the next regular trading session.
Alternatively, some brokers offer extended-hours trading for eligible securities.
Extended-hours markets can behave differently from regular trading sessions.
You may encounter:
Lower liquidity
Wider bid-ask spreads
Greater volatility
Fewer market participants
So it's important to understand your broker's extended-hours rules before placing an order outside regular market hours.
Why Can a Stock Price Change Between Order Placement and Execution?
Stock prices constantly respond to new information and changing supply and demand.
Prices can react to:
Company earnings
Economic data
Interest-rate decisions
Corporate announcements
News events
Investor expectations
Market sentiment
Broader economic conditions
Imagine a company suddenly announces much stronger earnings than expected.
Thousands of investors may react at the same time.
If buyers become more aggressive, available selling prices can move higher.
As a result, the price you see before clicking Buy may not be the exact price available when your order reaches the market.
Order Execution vs. Settlement
These two terms are often confused.
Execution means your buy or sell order has been completed in the market.
Settlement is the process through which the trade is finalized, including the delivery of securities and payment.
For many U.S. securities, the standard settlement cycle is currently T+1, meaning settlement generally occurs one business day after the trade date.
Settlement cycles can differ across markets and securities, so investors should check the rules applicable to their transaction.
The important lesson is simple:
Execution happens first; settlement follows.
A Realistic Example: Buying a Stock
Let's put everything together with a simple example.
Imagine you're interested in a fictional company called GlobalTech.
Its stock is currently trading around $50.
You want to buy 100 shares.
Scenario 1: Market Order
You submit:
Buy 100 shares — Market
The order is routed to the market and matched with available sellers.
You might receive an average execution price of approximately $50, but the exact price isn't guaranteed.
If the market moves quickly, you could receive a different price.
Scenario 2: Limit Order
Instead, you submit:
Buy 100 shares — Limit $49
Now you're telling the market:
"I don't want to pay more than $49 per share."
If the stock falls to $49 and there are sellers available under the applicable conditions, your order may execute.
If the stock rises to $55 and never returns to $49, your order may remain unfilled or eventually expire.
This simple example captures the fundamental trade-off:
Market orders prioritize execution. Limit orders prioritize price control.
Common Stock Order Mistakes Beginners Should Avoid
Understanding order types is useful, but knowing what not to do is just as important.
Mistake 1: Assuming the Displayed Price Is Guaranteed
The price displayed on your trading app may change before your order executes.
Mistake 2: Using Market Orders Without Understanding Price Risk
Market orders generally prioritize execution rather than a specific price.
Mistake 3: Setting a Limit Price Without Considering the Market
A very aggressive limit price may make it unlikely that your order will execute.
Mistake 4: Ignoring Liquidity
A stock with limited trading activity may have wider spreads and more difficult execution.
Mistake 5: Forgetting About Order Expiration
Some orders expire according to their time-in-force instructions.
Mistake 6: Confusing Execution With Settlement
An executed trade may still need to go through the settlement process.
How Should Beginners Choose an Order Type?
There's no universal answer.
Instead, start by asking yourself one simple question:
What matters more to me — getting the trade executed or controlling the price?
If execution is the main priority, a market order may be considered.
If price control is more important, a limit order may be more appropriate.
If you're considering stop or stop-limit orders, make sure you understand exactly what happens after the trigger is reached and what happens if the market moves rapidly.
Most importantly, read the order preview carefully before submitting it.
Check:
Number of shares
Buy or sell
Order type
Limit or stop price
Estimated cost or proceeds
Time in force
Trading session
Any applicable fees or conditions
A few seconds of checking can prevent an expensive mistake.
The Easiest Way to Understand Stock Orders
Think of the stock market like a huge digital marketplace.
Buyers are saying:
"Here's what I'm willing to pay."
Sellers are saying:
"Here's what I'm willing to accept."
Your broker takes your instruction and sends it into the market.
The trading system looks for a compatible order.
When the relevant conditions match, the trade can be executed.
After that, the transaction goes through the applicable settlement process.
That's the basic idea behind how a stock order works.
Key Takeaways
Here's what you should remember:
A stock order is an instruction to buy or sell shares.
A market order generally prioritizes execution over price certainty.
A limit order provides price control but doesn't guarantee execution.
A stop order uses a specified price as a trigger.
A stop-limit order combines a stop trigger with a limit price.
The bid is the highest displayed buying price.
The ask is the lowest displayed selling price.
The bid-ask spread is the difference between the bid and ask.
Liquidity affects how easily a trade can be executed.
Slippage can occur when the execution price differs from the expected price.
A partial fill means only part of an order was executed.
Execution and settlement are different stages of a trade.
The biggest lesson is this:
Before you place a stock order, understand exactly what you're asking the market to do.
Once you understand the basics of market, limit, stop, and stop-limit orders, the trading screen becomes much less intimidating.
Frequently Asked Questions
1. What is a stock order?
A stock order is an instruction given to a broker to buy or sell shares of a company.
2. What is the difference between a market and limit order?
A market order generally prioritizes execution at the best available price, while a limit order specifies the maximum price for a purchase or minimum price for a sale.
3. Can a limit order fail to execute?
Yes. If the market never reaches your specified limit price under the applicable conditions, the order may remain unfilled.
4. What is a stop order?
A stop order uses a specified price as a trigger. Once triggered, it becomes active according to the order's terms.
5. What happens after a stock order is executed?
The trade is recorded, and the transaction proceeds through the applicable settlement process. The exact settlement timeline depends on the market and security.

COMMENTS