A Practical Guide to Executing Stock Trades Online
This guide covers the mechanics of executing trades, not stock selection. Whether you manage one brokerage account or several, understanding order types, market hours, and account rules helps you execute trades efficiently and avoid common mistakes. Proper execution matters because even sound investment decisions can be undermined by poor trade management, and understanding these mechanics helps you make informed choices about how to enter and exit positions.
Understanding Market Hours
Regular Trading Hours
U.S. stock exchanges (NYSE and NASDAQ) operate from 9:30 AM to 4:00 PM Eastern Time, Monday through Friday. All times referenced in trading platforms default to Eastern Time regardless of where you live. Markets are closed on federal holidays and occasionally close early (1:00 PM ET) on days preceding major holidays like Thanksgiving and Christmas.
Extended Hours Trading
Pre-market sessions typically run from 4:00 AM to 9:30 AM ET, while after-hours sessions run from 4:00 PM to 8:00 PM ET, though individual brokers may offer narrower windows. Some platforms call this "overnight trading" or "extended hours" in their order entry screens.
The Basics: Buying and Selling
Buy Orders
A buy order instructs your broker to purchase shares of a stock on your behalf. Some platforms label this "Buy to Open" when establishing a new position or simply "Buy."
Sell Orders
A sell order instructs your broker to liquidate shares you currently own. You may see this labeled as "Sell," "Sell to Close," or simply paired with your existing position as an exit option.
Order Entry Fundamentals
Every trade requires you to specify the ticker symbol, quantity (shares or dollar amount if fractional shares are supported), order type, and duration. Review your order carefully before submission. Most platforms show a confirmation screen with estimated costs.
Understanding Bids and Asks
The bid-ask spread represents the difference between what buyers are willing to pay and what sellers are willing to accept. Understanding this mechanism helps you anticipate execution prices and recognize when spreads might erode your returns.
The Bid Price
The bid represents the highest price a buyer is currently willing to pay for a stock. When you sell shares at market price, you'll typically receive the current bid price or very close to it.
The Ask Price
The ask (also called the "offer") represents the lowest price a seller is currently willing to accept. When you buy shares at market price, you'll pay the ask price or very close to it.
The Spread
The spread is the difference between bid and ask prices, an implicit transaction cost. Highly liquid stocks have tight spreads of a penny or two; thinly traded stocks may have spreads of several percent.
Order Types
Choosing the right order type determines whether you prioritize speed of execution or price certainty. Each type serves different situations, and understanding the trade-offs helps you match your order to your objectives.
Market Orders
A market order executes immediately at the best available price, prioritizing speed of execution over price certainty. Use market orders when you need to get in or out of a position quickly and the stock is liquid enough that slippage is minimal.
Limit Orders
A limit order specifies the maximum price you're willing to pay (for buys) or the minimum price you're willing to accept (for sells). Your order will only execute at your limit price or better, but there's no guarantee it will fill if the market doesn't reach your price.
Stop Orders (Stop-Loss Orders)
A stop order becomes a market order once the stock reaches your specified "stop price," commonly used to limit losses on existing positions. For example, if you own a stock at $50 and set a stop at $45, your shares will be sold at market price once the stock drops to $45.
Stop Order Terminology
Some platforms call these "stop-loss orders" or "stop market orders" to distinguish them from stop-limit orders. Be aware that in fast-moving markets, your actual execution price may differ significantly from your stop price.
Stop-Limit Orders
A stop-limit order becomes a limit order (not a market order) once the stop price is triggered, giving you more control over execution price. You must set both a stop price (trigger) and a limit price (minimum acceptable execution price).
- Low-volume ETFs or stocks: wide bid-ask spreads mean prices can jump over your limit entirely
- Earnings announcements: after-hours news can cause stocks to open dramatically higher or lower than the previous close, skipping your limit price
- Pre-market/after-hours: thin liquidity amplifies gap risk
Trailing Stop Orders
A trailing stop automatically adjusts your stop price as the stock moves in your favor by a fixed dollar amount or percentage. This allows you to lock in gains while still giving the position room to run.
| Order Type | Best For | Execution Certainty | Price Certainty |
|---|---|---|---|
| Market | Immediate execution on liquid stocks | High | Low |
| Limit | Controlling entry/exit price | Low | High |
| Stop | Loss protection, breakout entries | Medium | Low |
| Stop-Limit | Loss protection with price control | Low | High |
| Trailing Stop | Locking in gains on rising positions | Medium | Low |
Order Duration (Time-in-Force)
Time-in-force settings determine how long your order remains active before expiring. Choosing the right duration prevents stale orders from executing at unexpected times.
Day Orders
Day orders expire at the end of the current trading session if not filled. This is typically the default setting on most platforms.
Good-Till-Canceled (GTC)
GTC orders remain active until filled or until you manually cancel them, though most brokers automatically expire them after 60–180 days. Some platforms label this "GTC" while others may say "Good Until Canceled" or offer a specific expiration date picker.
Extended Hours Designations
To participate in pre-market or after-hours trading, you'll often need to select "DAY+EXT," "GTC+EXT," or a specific extended hours option. Check your broker's specific terminology, as this varies significantly across platforms.
Immediate-or-Cancel (IOC) and Fill-or-Kill (FOK)
These specialized order durations require immediate execution; IOC fills whatever quantity is available and cancels the rest, while FOK requires the entire order to fill or nothing at all. Most retail investors rarely need these, but they're available at many brokers for specific situations.
Account Rules and Violations
Brokerage accounts operate under SEC and FINRA rules that impose restrictions on trading activity. Understanding these rules helps you avoid account freezes and trading restrictions.
Good Faith Violations
A good faith violation occurs when you sell a security before the funds used to purchase it have fully settled. Stock trades currently settle in one business day (T+1), meaning funds from a sale on Monday are typically available for settled trading on Tuesday. This violation typically happens when you buy shares with unsettled funds, sell those shares, and then use that unsettled cash to buy something else before the original trade settles.
Avoiding Good Faith Violations
Accumulating too many good faith violations (typically three in a 12-month period) may result in your account being restricted to settled-cash-only trading for 90 days. You can avoid these by only trading with fully settled cash or by using a margin account where available.
T+1 Settlement Note: With the shift to T+1 settlement (effective May 2024), funds from sales are available one business day faster than under the previous T+2 standard. This significantly reduces the likelihood of good faith violations for most retail traders, as the window during which you're trading on unsettled funds is narrower.
Free-Riding Violations
Free-riding is similar to good faith violations and occurs when you buy securities without sufficient funds and then sell them to cover the purchase. This is prohibited and will result in account restrictions.
Pattern Day Trader (PDT) Rules
While this guide doesn't cover day trading strategies, be aware that executing four or more "day trades" (buying and selling the same stock on the same day) within five business days in a margin account triggers PDT classification, requiring a minimum $25,000 equity balance per FINRA rules. Cash accounts are not subject to PDT rules but are subject to settlement timing constraints.
Tax Considerations for Traders
Wash Sale Rules
A wash sale occurs when you sell a security at a loss and repurchase the same or a "substantially identical" security within 30 days before or after the sale. The IRS disallows the loss deduction, and the disallowed loss is added to the cost basis of the replacement shares.
For a comprehensive look at tax-loss harvesting strategies and how to avoid wash sale issues, see our Tax-Loss Harvesting Guide.
Cost Basis Methods
When selling partial positions, you can often select which shares to sell (specific identification) or use methods like FIFO (first-in, first-out), LIFO (last-in, first-out), or highest-cost. Each method has different tax implications depending on your purchase history and current tax situation. The appropriate choice depends on your individual circumstances. Consider consulting with a tax professional for guidance specific to your situation.
| Cost Basis Method | How It Works | Best For |
|---|---|---|
| FIFO | Sells oldest shares first | Default method; may maximize long-term gains |
| LIFO | Sells newest shares first | May minimize gains if recent purchases are higher |
| Highest Cost | Sells highest-cost shares first | Minimizing taxable gains |
| Specific ID | You choose which lots to sell | Maximum tax control and flexibility |
Dividends and Corporate Actions
Understanding Dividends
Dividends are periodic cash payments made by companies to shareholders, typically paid quarterly. Dividend-paying stocks show a "yield" representing the annual dividend as a percentage of the current stock price.
Key Dividend Dates
Declaration Date
When the company announces the dividend amount and payment schedule. This sets the upcoming dividend in motion.
Ex-Dividend Date
The key date. You must own shares before this date to receive the dividend. If you buy on or after the ex-date, you won't receive the upcoming payment.
Record Date
Typically one business day after the ex-date; the company reviews its records to determine shareholders of record.
Payment Date
When the dividend is actually deposited into your account. This may be several weeks after the ex-dividend date.
Price Adjustments on Ex-Date
Stock prices typically drop by approximately the dividend amount on the ex-date, reflecting that new buyers won't receive the dividend. Don't be alarmed by this drop. It's mechanical and expected, not a sign of trouble with the stock.
Practical Tips for Multi-Platform Investors
Consistency Across Platforms
Different brokers use slightly different terminology, but the underlying concepts are identical. Familiarize yourself with each platform's order entry screen and know where to find order type and duration settings before you need to act quickly.
Order Confirmation and Review
Review the confirmation screen before submitting orders. Check the order type, limit/stop prices, quantity, and time-in-force. Mistakes are easy to make and can be costly to correct.
Practice with Small Positions
Consider practicing with small position sizes until you're fully comfortable with each order type and your platform's interface. The cost of a learning mistake is much lower with 5 shares than with 500.
Key Takeaways
- Market orders prioritize speed; limit orders prioritize price control
- Stop orders trigger at a price but execute as market orders, so beware of gaps
- Settlement timing matters in cash accounts; violations lead to restrictions
- Wash sale rules apply across all accounts, including IRAs
- Ex-dividend date determines dividend eligibility, not purchase date
- Cost basis method selection can significantly impact your tax liability
Bottom Line: Proper execution is as important as proper stock selection. Understanding these mechanics can help you avoid common mistakes that erode returns, from bad fills on illiquid stocks to account violations that restrict your trading flexibility.