Sub topic 1
What You Need Before You Can Trade: Account, Funding and Buying Power
Prerequisites
This chapter assumes you know what a share of stock is and can do arithmetic with prices and quantities. A paper-trading account works for every step here.
Brokerage account and buying power
A brokerage account is an account a broker opens so you can buy and sell securities. You must fund it before you trade. Buying power is the dollar amount the broker lets you commit to new orders. It is usually your settled cash plus any margin the broker extends, so it can be less than your account balance. Check buying power before you build an order, because the broker rejects an order that exceeds it.
Tickers, shares and where they trade
A ticker is a short code that identifies a stock, such as XYZ. A share is one unit of ownership in the company. Most orders use whole shares. The same ticker can trade on several exchanges and venues, and your broker routes your order to them. You choose the ticker, and the broker handles routing.
Reading a quote: bid, ask and spread
The bid is the highest price a buyer offers. The ask is the lowest price a seller accepts. The spread is the ask minus the bid.
def spread_info(bid, ask):
spread = round(ask - bid, 4)
mid = (bid + ask) / 2
return spread, round(spread / mid * 100, 3)
spread, spread_pct = spread_info(49.98, 50.02)
print(spread, spread_pct) # 0.04 0.08Order book, depth and liquidity
The order book lists the resting bids and asks at each price, with the number of shares at each level. Depth is the total size near the best prices. Liquidity describes how easily you can trade at the quoted price. A deep book fills a small order near the quote. A thin book forces a larger order to worse prices.
Anatomy of an order ticket
An order ticket is the form you fill in to send an order.
| Field | Meaning |
|---|---|
| Side | Buy or sell |
| Symbol | Ticker, such as XYZ |
| Quantity | Number of shares |
| Order type | Market or limit |
| Limit price | Maximum price to pay, or minimum to accept (limit orders only) |
| Time in force | How long the order stays active, such as day |
Exercise
A stock has a bid of 49.98 and an ask of 50.02. What is the spread?
Show answer
The spread is 50.02 minus 49.98, which equals 0.04.