Sub topic 15
Before your first trade: settlement, order choice and a final checklist
This chapter assumes you have already chosen a broker, opened and funded an account, and secured it with strong authentication. It uses US rules and examples. You should know what a stock and an ETF are, and what a bid and an ask price are.
By the end you will be able to:
- Explain what happens between pressing "buy" and owning the shares.
- Choose an order type and a time-in-force setting on purpose.
- Run a final checklist before your first order.
What happens after you press "buy"
A trade has two separate events. Execution is the moment your order matches with a seller at a price. Settlement is the moment cash and shares are formally exchanged and recorded. Execution takes seconds. Settlement takes longer.
Since May 28, 2024, most US stock, ETF and bond trades settle on T+1, meaning one business day after the trade date (T). Before that date the standard was T+2. Canada and Mexico moved to T+1 at the same time. Many other markets, including the UK and the EU, still use T+2 at the time of writing, so check the rule for the market you trade in.
Weekends and market holidays do not count as business days. A Friday trade settles on Monday.
from datetime import date, timedelta
def settlement_date(trade_date, business_days=1):
"""Return the settlement date, skipping weekends.
Market holidays are not handled, so check the exchange calendar."""
current = trade_date
counted = 0
while counted < business_days:
current += timedelta(days=1)
if current.weekday() < 5: # Monday=0 ... Friday=4
counted += 1
return current
print(settlement_date(date(2026, 12, 3))) # Thursday -> 2026-12-04
print(settlement_date(date(2026, 12, 4))) # Friday -> 2026-12-07
print(settlement_date(date(2026, 12, 4), 2)) # T+2 -> 2026-12-08Why settlement matters to you
For a long-term buyer, settlement is mostly invisible. It matters in four places:
- Cash accounts and unsettled funds. Money from a sale is not fully usable until the sale settles. Many brokers let you buy with it right away, but a rule applies if you then sell that new purchase before the original sale settles.
- Good faith and free-riding violations. Buying a security and selling it before you have paid for it with settled money is a violation. A broker usually responds by restricting the account to settled-cash purchases, often for 90 days. A margin account avoids this because the broker lends you the gap. That comes with the borrowing costs and risks covered in the chapter on cash and margin accounts.
- Withdrawals. You can generally withdraw only settled cash. After a sale, wait for settlement before you move money to your bank.
- Dividends and tax dates. To receive a dividend, you must own the shares before the ex-dividend date. Under T+1 that date is the same as the record date. You also need the trade date, not the settlement date, to fall before the ex-dividend date. Tax-year cutoffs use the trade date too.
Choosing an order type
An order is your instruction to the broker. The order type controls two things: whether the trade is certain to happen, and whether the price is certain.
| Order type | You control | You give up | Typical use |
|---|---|---|---|
| Market | Certainty of execution | Price | Large, heavily traded ETFs during regular hours |
| Limit | Price (a ceiling for buys, a floor for sells) | Certainty of execution | Almost every first order |
| Stop (stop-market) | Trigger price | Execution price after the trigger | Exiting a position if price falls |
| Stop-limit | Trigger price and worst acceptable price | Certainty of execution | Exits where you refuse to sell below a floor |
Market orders
A market order buys at the best available ask or sells at the best available bid. It fills almost immediately. In a stock that trades often, the price you receive will be very close to the quote you saw.
The risk is a wide spread, the gap between bid and ask. Spreads widen in thinly traded stocks, in the first minutes after the open, and when news breaks. A market order in those conditions can fill well away from the last price you saw.
Limit orders
A limit order says "buy at this price or lower" or "sell at this price or higher". You will never pay more, or receive less, than your limit. The cost is that the order may not fill, or may fill only in part, if the market never reaches your price.
For a first order, a limit set at or just above the current ask (for a buy) usually fills quickly and still caps your price. Setting the limit far below the market only produces an unfilled order.
Stop orders
A stop order sits dormant until the price reaches your stop price. It then turns into an order.
- A plain stop becomes a market order. It will execute, but if the stock gaps down overnight, it can fill far below your stop price.
- A stop-limit becomes a limit order. It protects the price but may not execute at all in a fast fall, which is the case a stop is meant for.
Neither type is a guarantee against loss. Treat stops as an advanced tool, and read your broker's description of how it handles them before using one.
Time in force
Time in force says how long an order stays active.
- Day: expires at the close of the current session if unfilled. This is the usual default.
- GTC (good till canceled): stays active until filled or canceled. Brokers usually set a maximum life, often 60 to 90 days. A forgotten GTC order can fill months later at a price you no longer want.
- Extended hours: regular US trading runs 9:30 a.m. to 4:00 p.m. Eastern. Pre-market and after-hours sessions have fewer participants and wider spreads. Brokers usually require limit orders there, and the order must be marked for extended hours or it waits for the next regular session.
Fractional shares
If you buy by dollar amount, such as $100 of a stock priced at $340, the broker sells you a fraction of a share. Many brokers accept only market orders, or place the order in a batch window, for fractional trades. You then do not control the price, and the fill may come at the next opening or batch time. Check this in your broker's help pages before relying on fractions for volatile stocks.
Sizing and checking the order
Decide the share count before you open the order screen, so you are not guided by the default fields. The function below caps the order by both your available cash and a maximum percentage of the portfolio you are willing to put in one holding.
def plan_order(settled_cash, limit_price, portfolio_value, max_position_pct):
"""Return the number of whole shares allowed by cash and by position cap."""
by_cash = int(settled_cash // limit_price)
by_cap = int(portfolio_value * max_position_pct // limit_price)
return min(by_cash, by_cap)
shares = plan_order(
settled_cash=5000,
limit_price=48.50,
portfolio_value=20000,
max_position_pct=0.10,
)
print(shares) # 41 shares: cash would allow 103, but the 10% cap allows 41
print(round(shares * 48.50, 2)) # 1988.5 maximum cost, before any feesCommon errors on a first order
- Wrong ticker. Similar symbols can be different companies or different share classes. Check the full name in the preview.
- Wrong side or wrong quantity. A buy that should have been a sell, or 1,000 shares instead of 100. Read the preview aloud.
- Dollars versus shares. Entering "100" in a field that means shares when you meant dollars.
- Market order outside regular hours. The order may wait and then fill at the next open at a very different price.
- Forgotten GTC orders. Review open orders after every session.
- Assuming "filled" means "settled". You own the position economically, but cash movement is still pending.
- Ignoring the preview. Most brokers show estimated cost, fees and buying power. Compare it with your plan.
Final checklist
Work through this list once before the first order. Reuse it for later trades.
- The account is funded, and the cash you will use is settled.
- Two-factor authentication is on, and you have stored your recovery codes offline.
- You know the account type (cash or margin) and the settlement rule that applies.
- You know the expected cost: commission, any regulatory fees, and the fund's expense ratio.
- You have chosen the ticker and checked the full name and exchange on the preview.
- You have set a quantity, limited by your position cap.
- You have chosen the order type (default to limit) and the limit price.
- You have chosen the time in force (default to Day).
- You have read the preview and confirmed side, quantity, price and total.
- After submitting, you check the order status and confirm the position appears.
- You note the trade date and settlement date for your records, and keep the confirmation for tax reporting.
Exercise
You sell shares in a cash account on Thursday, December 3, 2026, under T+1 settlement. Immediately afterwards you buy a different stock with the proceeds, then sell that new stock on Thursday afternoon. Which problem can this cause, and on what date can you safely withdraw the original sale proceeds to your bank?
Show answer
Selling the new stock before the original sale has settled, when you paid for it with unsettled funds, can be a free-riding or good faith violation. Your broker may restrict the account to settled-cash purchases, often for 90 days. The original sale settles one business day later, on Friday, December 4, 2026, so the proceeds can be withdrawn from that date, subject to your broker's own processing time.
Exercise
A stock you want trades about 200,000 shares a day. The bid is $11.90 and the ask is $12.10. It is 9:31 a.m., one minute after the open. Which order type would you use, and what limit price would you set for a buy?
Show answer
Use a limit order, because the spread is wide (20 cents, about 1.7% of the price) and the first minutes after the open are volatile. Set the limit at or near the ask, for example $12.10, to give a good chance of filling while capping the price. A limit well below the ask, such as $11.90, may not fill. Choose a Day order so it does not remain open after the session.