How buying and selling works
Market vs. limit orders, the bid–ask spread, and market hours. · 5 min read
To buy or sell a stock you place an order with a broker, which sends it to the market. The kind of order you choose decides how much control you have over price versus speed.
Bid, ask and spread
At any moment there's a bid (the highest price someone will pay) and an ask (the lowest price someone will sell for). The gap between them is the spread. Popular stocks have spreads of a cent or two; thinly traded ones can be much wider, which quietly costs you money.
The two basic orders
- Market order: buy or sell right now at the best available price. Fast and almost always fills, but you don't control the exact price.
- Limit order: buy at your price or lower, or sell at your price or higher. You control the price, but it may never fill if the market doesn't get there.
Limit orders can last for just today (a day order, which expires at the 4:00 PM close) or stay open until you cancel them (good till cancelled, or GTC).
Market hours
US stock markets are open 9:30 AM to 4:00 PM Eastern Time on weekdays, except holidays. In Simtick, a market order placed while the market is closed fills when it next opens, possibly at quite a different price than the last close.
Rule of thumb: use limit orders when price matters more than speed, especially for less popular stocks or when the market has just opened and prices are jumpy.
Quick check
1. The bid is $50.00 and the ask is $50.04. What is the spread?
2. You want to buy, but not for more than $30. Which order fits?
3. When does a day order expire if it hasn't filled?
Try it in Simtick
Open SPY and place a limit buy a little below the current price. Notice it waits instead of filling right away.
For education only. Nothing here is investment advice.