Week 2 — Markets and how trades work

By the end of this week you can say where a share comes from when you buy it, measure what a first-day IPO jump and a bid–ask spread cost, and compute what borrowing (margin) or selling borrowed shares (shorting) does to your gain, your loss and your risk of a margin call.

← Course map

From last week. Last week you opened your fund and made your first buys. This week you look behind the Buy button: where shares come from, who sells them to you, and what borrowing does to a trade.

This week’s ideas

Open an idea, read it, try the tool and answer the questions. Then go on to the next one.

1Financial markets: primary and secondary, money and capitalWhere does a company's money come from, and when I buy its shares, does the company get my money?

Start with the map. When you buy a share, your money goes to another investor, not to the company. The company got its money earlier.

Learning goals

After this idea, you can:

  • Describe the circle of money from savers to borrowers and its two routes: through a financial institution or through a securities market.
  • Tell the primary market from the secondary market, and compute the cash a firm receives from an IPO after the bank’s fee.
  • Tell the money market from the capital market, and debt from preferred stock from common stock.

The idea

You open an app and buy 50 shares of a retailer for $4,000. Who gets your $4,000?

Not the retailer. Another investor sold you those shares, and the money goes to that investor. The retailer got its money years ago, on the day it first sold the shares. Yet the retailer’s CFO watches today’s price closely. It tells her what investors think the company is worth.

To see why, follow the money.

The circle of money. Savers have more money than they need today: households, pension funds, firms with spare cash. Borrowers need more than they have: companies that want to build, and governments. Money travels from savers to borrowers by two routes.

  • Through a financial institution. A bank takes deposits and makes loans. An insurer or a fund collects money and invests it. The institution stands in the middle, so it is called a financial intermediary. The saver never meets the borrower.
  • Through a securities market. The company sells a security, which is a claim on its future cash that can be traded: a bond or a share. Savers buy it directly. An investment bank helps here. It designs the new security and sells it to investors for a fee. It is not the kind of bank that holds your deposits.

Large companies use both routes: bank credit lines and public bonds and shares.

Four words sort every market.

Primary or secondary: is the security new? In the primary market a firm sells new securities and receives the cash. An initial public offering (IPO) is a company’s first sale of shares to the public, so it is a primary-market deal. In the secondary market investors trade securities that already exist. The stock exchanges, such as the NYSE and NASDAQ, are secondary markets. The firm receives nothing from these trades. It only learns the price.

Money or capital: how long does it last? The money market is for debt that is due within one year, such as a 90-day Treasury bill or the short-term notes of a company, called commercial paper. The capital market is for debt that runs longer than one year and for all stock. Stock never matures, so it always belongs to the capital market.

Money market (debt ≤ 1 year) Capital market (longer debt + all stock)
Primary (new; issuer gets cash) a firm sells new commercial paper an IPO; a new 10-year bond
Secondary (existing; investors trade) an investor resells a Treasury bill shares traded on an exchange

Three kinds of securities, in order of payment.

  • Debt (bonds, notes). The firm promises fixed interest and repayment on a set date. Lenders are paid first. They have no vote.
  • Preferred stock. A share that pays a fixed dividend. It is paid after debt but before common stock. It usually has no vote.
  • Common stock. The owners. They vote, and they get whatever is left after everyone else is paid. No dividend is promised.
Formula

Cash to the firm from a new issue = new securities sold × price × (1 − underwriting fee) Cash to the firm from secondary trading = $0

Try it

Three steps. Click the three cases on the diagram. Then sort eight deals into the grid. Then change the IPO numbers and watch who gets the money.

What to notice:

  • Ask “new or existing?” first. Only new securities send cash to the issuer.
  • Raise the next-day price as high as you like. The cash to the firm does not change by one dollar.
  • A bank loan fits none of the four boxes. It travels the institution route, where no security is sold.
Worked example

Problem. Northwind Tools Inc. sells 2,000,000 new shares in its IPO at $18 each. The investment bank keeps a 7% fee. The next week 650,000 Northwind shares trade on NASDAQ at $21. How much cash does Northwind receive, and what is it worth now?

Step 1. What investors pay in the IPO. 2,000,000 × 18 = $36,000,000.

Step 2. Take off the bank’s fee. 36,000,000 × (1 − 0.07) = 36,000,000 × 0.93 = $33,480,000 to Northwind. The bank keeps $2,520,000.

Step 3. The trading next week. 650,000 × 21 = $13,650,000 changes hands. All of it moves from investors who buy to investors who sell. Northwind receives $0.

Step 4. What the price tells Northwind. The 2,000,000 shares are now worth 2,000,000 × 21 = $42 million in the market. No cash arrived, but the CFO has learned something: investors value the company higher than they did on the IPO day.

Answer: Northwind receives $33,480,000 in total, all of it from the primary market.

Follow-up: sort Northwind’s later financing. Northwind sells $30 million of 45-day commercial paper: new debt, due within a year → primary market, money market. It sells $100 million of 10-year bonds: new debt, longer than a year → primary market, capital market. It also has a credit line at its bank: that is the institution route, not a market at all.

Check yourself · 5 questions
Check 1.

Northwind Tools sells 2,000,000 new shares at $18 in its IPO (7% bank fee). Later 650,000 shares trade on NASDAQ at $21. How much cash did Northwind receive in total?

Primary = new securities, firm gets cash. Secondary = existing securities, investors trade.

Check 2.

Which is a money-market instrument?

One-year line: shorter debt = money market; longer debt and all stock = capital market.

Check 3.

A bank takes your deposit and lends the money to Harbor Coffee for a new café. Harbor Coffee also sells bonds directly to investors. Which statement is correct?

savers → [institution] → borrowers, or savers → [market] → borrowers.

Check 4.

Which security promises a fixed payment and is paid BEFORE common stockholders but usually carries no vote?

Debt first, preferred second, common last — the order of payment.

Check 5.

An investment bank’s main job in a new bond issue is to:

Investment banks move securities from firms to savers; commercial banks move deposits to loans.

Optional reading: Smart & Zutter ch. 2, §2.1 (types of securities markets) · Open this idea as its own page

2IPOs and underpricingHow does a company go public, and why does the stock so often jump on the first day — and who wins and who loses when it does?

The one day the company does get the money is the day it first sells its shares. Here is how that day works.

Learning goals

After this idea, you can:

  • Order the five steps of an IPO, and say what the underwriter does.
  • Compute IPO underpricing from the offer price and the first-day closing price.
  • Compute the gross proceeds and the money left on the table, and explain who gained that money.

The idea

You sell your old bike online for $150. It is gone in ten minutes. The buyer lists it the same afternoon for $300 and sells it by dinner. You got your $150, but you priced the bike too low. The buyer kept the other $150.

A company that sells its shares to the public for the first time can make the same mistake, with millions of shares.

The first sale. A company gets cash from its shares only when it sells new ones. That is the primary market. The first sale of shares to the public is the initial public offering (IPO). After the IPO, investors trade the shares with each other, and the company gets nothing from those trades.

Five steps. An IPO follows the same path almost every time.

  1. The company chooses an underwriter. The underwriter is an investment bank that buys the new shares from the company and resells them to investors. It carries the risk that nobody wants them. Its pay is a fee taken out of the money raised.
  2. The company files a prospectus. A prospectus is a long legal document that describes the business, its numbers and its risks.
  3. The quiet period starts. In the quiet period the company must not promote its stock. The first draft of the prospectus has no final price yet. People call that draft the red herring.
  4. The road show. On the road show the bankers visit large investors. They present the company and ask how many shares each investor wants.
  5. The offer price is set. The offer price is the price that the first investors pay for each share. The bank and the company fix it just before trading starts. Then the stock begins to trade on the exchange.

The first-day jump. Often the stock closes its first day well above the offer price. That jump, as a percent of the offer price, is called underpricing. The shares were sold for less than the market was ready to pay, like the bike.

Now follow the money. The gross proceeds are what the buyers paid in the IPO: the offer price times the shares sold. At the close of the first day the market says that the same shares are worth more. The difference is the money left on the table: cash that the company could have raised, but did not.

Key formulas

Underpricing = (first-day closing price − offer price) ÷ offer price

Gross proceeds = offer price × shares sold

Money left on the table = (first-day closing price − offer price) × shares sold

Always divide by the offer price, not by the closing price.

Who wins and who loses. The money left on the table does not disappear. It moves. The investors who got shares at the offer price can sell at the higher market price on the first day. They win. The company and its old owners sold part of the business too cheaply. They lose.

Why would a bank set the price a little low? A lower price makes the shares easy to sell, and that is safer for the bank.

When the number is negative. Sometimes the stock closes below the offer price. Then the underpricing is negative. People call this a broken issue. Nothing was left on the table. The company already has its money, and this time the first-day buyers are the losers.

In Excel. Put the offer price, the closing price and the shares sold in three cells. =(close-offer)/offer gives the underpricing. =offer*shares gives the gross proceeds. =(close-offer)*shares gives the money left on the table. Keep the shares in millions, so that the answers read in millions of dollars.

Try it

Type an offer price, a first-day closing price and the number of shares sold. The two bars show what the company received and what the market said the same shares were worth at the close.

What to notice:

  • The shaded block on the second bar is the money left on the table. Press Hot IPO. The block is almost as large as the money the company received.
  • Press Broken issue. The red block is gone: nothing is left on the table. The pale outlined block now shows what the first-day buyers lost.
  • Change only the shares sold. The underpricing percent does not move. The dollars left on the table do.
Worked example

Northwind Batteries goes public. Its bankers set the offer price at $26.00, and the company sells 12 million shares. The stock closes its first day at $35.10.

Step 1. Underpricing. (35.10 − 26.00) ÷ 26.00 = 9.10 ÷ 26.00 = 0.35 = 35.0%.

Step 2. Gross proceeds. 26.00 × 12 million = $312 million. The underwriter’s fee comes out of this amount. The company keeps the rest.

Step 3. Value at the close. 35.10 × 12 million = $421.2 million. This is what the market said the same shares were worth at the end of the first day.

Step 4. Money left on the table. (35.10 − 26.00) × 12 million = 9.10 × 12 million = $109.2 million. Check: 421.2 − 312 = 109.2.

To see it, type 26, 35.10 and 12 into the calculator above.

Answer. Underpricing 35.0%; gross proceeds $312 million; $109.2 million left on the table. The investors who got shares at $26.00 earned 35% in one day. Northwind could have raised $109.2 million more if it had sold the shares at the closing price. The underwriter’s clients were the winners. The company’s old owners were the losers.

Check yourself · 5 questions
Check 6.

A bakery chain sells 5 million new shares to the public for the first time. Which statement is true?

An IPO is a primary-market sale: the company gets the money.

Check 7.

Who is the underwriter in an IPO?

Underwriter = the bank that buys the issue and resells it.

Check 8.

Sunrise Dental lists at an offer price of $32.00 and closes its first day at $38.40. What is the underpricing?

Underpricing = (close − offer) ÷ offer.

Check 9.

Pinecrest Software sold 9 million shares at $22.00 and closed the first day at $28.00. How much money was left on the table?

Money left on the table = (close − offer) × shares sold.

Check 10.

A company’s IPO was priced at $15.00 and the stock closed its first day at $13.50. Which group lost money that day?

Negative underpricing means the IPO buyers, not the company, lost.

Optional reading: Smart & Zutter ch. 2, §2.1 (the IPO process) · Open this idea as its own page

3The bid–ask spread and market makersWhy do I pay one price when I buy and get a lower price when I sell the same second — and who keeps the difference?

After that first day, shares trade between investors. Someone stands in the middle, and that service has a price.

Learning goals

After this idea, you can:

  • Define bid, ask and spread, and say which price a buyer pays and which price a seller receives.
  • Compute the spread in dollars, the midpoint, the spread as a percent of the midpoint, and the round-trip cost of a position.
  • Tell a broker market from a dealer market, and name one exchange of each type.
  • Explain why a quiet, thinly traded stock has a wider spread than a busy large stock.

The idea

A currency booth at the airport shows two numbers: “We buy euros at 1.05. We sell euros at 1.15.” You change $115 into €100. Then you change the €100 straight back, and you get $105. Nothing happened to the euro. The booth kept $10.

A stock quote works the same way. It always has two prices.

Bid and ask. The bid is the highest price that a buyer is ready to pay right now. When you sell, you receive the bid. The ask is the lowest price that a seller is ready to accept right now. When you buy, you pay the ask. The ask is always the higher of the two. The gap between them is the spread.

An easy way to remember it: you always get the worse price. You buy at the high one and you sell at the low one.

In the airport story the booth’s two numbers are its bid and its ask. The spread is 10 cents on each euro, so $10 on €100.

Four numbers. From one quote and a number of shares you can compute four things: the spread in dollars, the midpoint, the spread in percent, and the cost of trading. The midpoint is the price halfway between the bid and the ask.

Key formulas

Spread ($) = ask − bid

Midpoint = (bid + ask) ÷ 2

Spread (%) = spread ÷ midpoint

Round-trip cost = spread × shares

One-way cost = half the spread × shares

On this page the spread in percent always divides by the midpoint, not by the bid or the ask.

A round trip is a buy followed by a sell. You pay the ask and later you receive the bid. So a round trip costs the whole spread on every share, even when the quote does not move. One trade alone, a buy or a sell, costs half the spread: you buy half a spread above the midpoint, or you sell half a spread below it. This cost comes on top of any commission.

Who keeps the spread? That depends on the kind of market.

  • In a broker market a broker matches a buyer with a seller, and the two investors trade with each other. The broker owns nothing. Think of a matchmaker. The New York Stock Exchange works mostly this way.
  • In a dealer market a market maker stands in the middle. A market maker is a firm that is always ready to buy at its bid and to sell at its ask. It holds shares in between, as the booth holds euros. Nasdaq is the largest dealer market. Small companies that are not listed on an exchange trade in another dealer market, the over-the-counter (OTC) market.

The spread is the market maker’s pay for standing ready to trade all day.

Why some spreads are tiny and some are wide. A busy large stock trades millions of shares a day. A market maker who buys it can sell it again in seconds, so a spread of a cent or two is enough. A small stock may trade only a few thousand shares a day. Such a stock is thinly traded. The market maker may wait days to sell, and the price can move against it while it waits. It protects itself with a wide spread, sometimes 10% of the price or more.

Two lessons follow. Trade busy stocks when you can. And trade less often, because every trade pays the spread.

In Excel. =ask-bid gives the spread. =(bid+ask)/2 gives the midpoint. =spread/midpoint gives the spread in percent: format the cell as a percent with 3 decimals. =spread*shares is the round trip, and =spread/2*shares is one way. A negative spread means that the bid and the ask were typed in the wrong order.

Try it

Type a bid, an ask and a number of shares. Read the numbers, then press the three presets.

What to notice:

  • Press Busy large stock, then Thinly traded small stock. The spread goes from 0.009% of the price to 11.765%. The round trip costs $2.00 on the first and $400.00 on the second, although the second position is much smaller.
  • The round-trip cost in percent is the same number as the spread in percent. More shares change the dollars, not the percent.
  • Type an ask below the bid. The tool stops: the ask is never the lower price.
Worked example

Lena wants 150 shares of Harborlight Foods. The quote on a dealer market is bid $41.80, ask $42.05.

Step 1. Spread in dollars. 42.05 − 41.80 = $0.25.

Step 2. Midpoint. (41.80 + 42.05) ÷ 2 = $41.925.

Step 3. Spread in percent. 0.25 ÷ 41.925 = 0.00596 = 0.596%.

Step 4. What she pays. She buys at the ask: 150 × 42.05 = $6,307.50. If she sold the same minute, she would receive the bid: 150 × 41.80 = $6,270.00.

Step 5. Round-trip cost. 6,307.50 − 6,270.00 = $37.50. That is the spread times the shares: 0.25 × 150 = $37.50. The buy alone costs half of it: $18.75.

To see it, type 41.80, 42.05 and 150 into the calculator above.

Answer. Spread $0.25 (0.596%); midpoint $41.925; a round trip on 150 shares costs $37.50, before any commission. The market maker who sells to her at the ask, and would buy back at the bid, keeps the $37.50. That is its pay for standing ready to trade all day.

Check yourself · 5 questions
Check 11.

A stock is quoted bid $18.30 / ask $18.42. You place a market order to BUY. Which price do you pay?

Buy at the ask, sell at the bid.

Check 12.

Bid $73.60 / ask $73.84. What is the spread as a percent of the midpoint?

Spread % = (ask − bid) ÷ midpoint.

Check 13.

You buy 400 shares of a stock quoted bid $9.75 / ask $9.85 and sell them an hour later at an unchanged quote. Ignoring commission, what did the round trip cost you?

Round trip = spread × shares, even if the price is unchanged.

Check 14.

Which description fits a DEALER market?

Dealer market = a market maker in the middle; broker market = buyer and seller matched.

Check 15.

Two stocks: Granite Utilities trades a million shares a day with a spread of $0.02; Tidepool Toys trades two thousand shares a day with a spread of $0.45. Why is Tidepool’s spread so much wider?

Thin trading → wider spread; busy stocks → spreads of a cent or two.

Optional reading: Smart & Zutter ch. 2, §2.1 (dealer markets, bid and ask) · Open this idea as its own page

4Margin and short sellingHow does borrowing to buy (margin) or selling shares I do not own (shorting) change my gains and losses — and at what price does the broker call me?

So far you used your own money, and you bought first. Now see what changes when you borrow, or when you sell first.

Learning goals

After this idea, you can:

  • Compute the equity, the loan and the margin percentage of a position.
  • Compute the return on invested capital of a margin trade, with dividends and interest, and show that borrowing multiplies gains and losses alike.
  • Find the margin-call price from the loan, the shares and the maintenance margin.
  • Compute the profit or loss on a short sale, dividends included, and explain why the loss has no limit while the gain is capped.

The idea

You buy a $20,000 car with $10,000 of your own money and a $10,000 loan. A year later the car is worth $26,000. You sell it and repay the loan. Your $10,000 became $16,000: a 60% gain on a car that rose 30%. Now the other way. The car drops to $14,000. Your $10,000 is now $4,000: a 60% loss on a 30% drop.

The loan did not change the car. It doubled your result, in both directions.

Buying on margin. The ordinary trade is a long purchase: you buy shares, hope that the price rises, and sell later. Margin trading is a long purchase made with your own money plus a loan from your broker. Using borrowed money to hold a larger position is called leverage.

Every margin position has three numbers.

  • The value: the shares times the price.
  • The equity: the part that is your own money.
  • The loan: the part that the broker lent you. Brokers call it the debit balance.

The margin is the share of the position that is yours, as a percent.

Key formulas: a margin position

Equity = value × margin %

Loan = value − equity

Margin % = (value − loan) ÷ value

After you buy, the value moves with the price, but the loan stays the same. So the margin percentage moves too.

The return on your own money. The loan is not free: you pay interest. The shares may pay dividends, and those are yours. The return on invested capital counts all of it, and divides by your equity only.

Key formula: return on invested capital

Return on invested capital = (dividends received − interest paid + sale value − purchase value) ÷ equity

Interest paid = loan × yearly rate × months ÷ 12

Only your own money goes on the bottom. That is why the same price move gives a larger percent, up or down.

The margin call. The maintenance margin is the lowest margin percentage that the broker accepts while you hold the position, for example 30%. If the price falls so far that your margin drops below it, you get a margin call: add cash at once, or the broker sells your shares.

Key formula: margin-call price

Margin-call price = loan ÷ [(1 − maintenance margin) × shares]

With no loan there is no call.

Short selling. A margin purchase is a bet that the price will rise. Short selling is the mirror image: a bet that the price will fall. It takes three steps.

  1. You borrow shares from your broker.
  2. You sell them today.
  3. Later you buy the same number of shares and give them back.

If you buy back at a lower price, the difference is your profit. If you buy back at a higher price, you lose. You must leave a deposit with the broker. And if the company pays a dividend while you are short, you owe it to the lender of the shares.

Key formula: short sale

Short-sale profit = (short price − buy-back price) × shares − dividends paid to the lender

The best case for a short seller is a price of $0. So the gain can never be more than the short price times the shares. The worst case has no limit: a price can keep rising, and you must buy the shares back at any price.

In Excel. Equity: =value*margin. Loan: =value-equity. Interest: =loan*rate*months/12. Return on invested capital: =(dividends-interest+sale-purchase)/equity. Margin-call price: =loan/((1-maintenance)*shares). Short profit: =(short-buyback)*shares-dps*shares. With no loan the call formula returns 0, so write =IF(loan=0,"no call",loan/((1-maintenance)*shares)).

Try it

The tool starts with a real case: 100 shares of Nvidia (NVDA), bought at $119.37 and sold at $220.78, 24 months later, with half of the money borrowed at 8% a year (course data: month-end closing prices, Aug 2023–Aug 2026). Press the presets, then press SHORT.

What to notice:

  • Press No loan, then Half borrowed. The stock’s move is the same 85.0%, but the return on your own money goes from 85.0% to 153.9%. Not double: the loan cost $954.96 of interest.
  • Press Price falls 25%. The 25% drop costs about 58% of your own money. On the chart the three lines cross where the stock earns exactly what the loan costs. Right of that crossing borrowing helps. Left of it borrowing hurts.
  • Press SHORT and read the table from the top. The gain stops at the short price times the shares. The last row has no number: the loss has no limit.
Worked example

Omar buys 200 shares of Red Cedar Logistics at $45.00 with a 60% margin. The broker charges 9% a year on the loan, and the maintenance margin is 30%. One year later the stock has paid $0.60 per share in dividends, and Omar sells at $57.00.

Step 1. Value, equity and loan. Value = 200 × 45.00 = $9,000. Equity = 0.60 × 9,000 = $5,400. Loan = 9,000 − 5,400 = $3,600.

Step 2. Interest for one year. 3,600 × 0.09 = $324.

Step 3. Dividends and sale. Dividends received = 200 × 0.60 = $120. Sale value = 200 × 57.00 = $11,400.

Step 4. Return on invested capital. (120 − 324 + 11,400 − 9,000) ÷ 5,400 = 2,196 ÷ 5,400 = 0.4067 = 40.67%. The stock’s price rose (57 − 45) ÷ 45 = 26.67%. Leverage turned that into 40.67% after interest.

Step 5. Margin-call price. 3,600 ÷ [(1 − 0.30) × 200] = 3,600 ÷ 140 = $25.71. Below that price Omar’s margin is under 30%, and the broker calls.

Step 6. The mirror image. Suppose Omar had shorted 200 shares at $45.00 instead, and bought them back at $57.00. He owes the $0.60 dividend. Result = (45.00 − 57.00) × 200 − 0.60 × 200 = −2,400 − 120 = −$2,520. If the stock had fallen to $33.00 instead: (45.00 − 33.00) × 200 − 120 = +$2,280. Best case, a price of $0: 9,000 − 120 = $8,880. Worst case: no limit.

To check it in the tool above: 45, 57, 200 shares, 60% margin, 9.0%, 12 months, dividends 0.60.

Answer. Equity $5,400, loan $3,600, interest $324. Return on invested capital 40.67%, against 26.67% for the stock. Margin-call price $25.71. The same price move as a short sale would have lost $2,520.

Check yourself · 5 questions
Check 16.

You buy 300 shares at $24.00 with a 70% margin. How large is the margin loan (debit balance)?

Loan = value − equity; equity = value × margin %.

Check 17.

A position is worth $12,000 and the loan is $4,800. What is the margin percentage?

Margin % = (value − loan) ÷ value.

Check 18.

Mia bought 100 shares at $80 with 50% margin, so her loan is $4,000. The maintenance margin is 25%. Below what price will she get a margin call?

Margin-call price = loan ÷ [(1 − maintenance margin) × shares].

Check 19.

Theo bought shares worth $10,000 using $5,000 of his own money and a $5,000 loan at 6% for one year. He received $200 in dividends and sold the shares for $11,500. What is his return on invested capital?

Return on invested capital = (dividends − interest + sale − purchase) ÷ equity.

Check 20.

Nora shorts 200 shares at $36.00. While she is short the company pays a $0.50 dividend per share. She buys the shares back at $41.00. What is her result?

Short profit = (short price − buy-back price) × shares − dividends owed; losses have no top.

Optional reading: Smart & Zutter ch. 2, §2.4 (long purchase, margin trading, short selling) · Open this idea as its own page

· · Your progress is saved in this browser only.

Every formula the homework uses is inside these ideas. The book is not required.

In class

The lecture is short, and both labs run in Excel. Then you trade on the Trading Floor: a limit order and a small short position. The box below says what each part covers.

The lecture, the two labs and the Trading Floor

The lecture is short. It covers where a share comes from (the primary and the secondary market, the IPO), who stands on the other side of your trade (brokers, dealers and the bid–ask spread), and what borrowing does to a position (margin and short selling).

Both labs run in Excel.

  • First lab. You compute the spread in dollars, the midpoint, the spread in percent, and the one-way and round-trip cost for nine tickers. Then you compute the underpricing, the proceeds and the money left on the table for three IPOs, and you work through a $20,000 order. After the lab, check your numbers with the calculators in the spread idea and the IPO idea.
  • Second lab. You build the Nvidia margin table (in the box “The Nvidia margin case” below) at 100%, 65% and 50% margin, with the margin-call price. Then you build a short-sale table.
  • The Trading Floor. This week’s move in the Fund Game is a limit order plus a small short position (or an inverse ETF, a fund built to rise when the market falls). Right before you trade, you open the leverage tool below with one of your own holdings.

Your fund this week

Which of your holdings would hurt most if it fell? Load that holding into the leverage simulator and see what a loss does with and without borrowed money. The number tells you whether to place a stop or a short this week.

Open this week’s taskClose this week’s taskthe tool and the steps

Load the holding into the tool before the Trading Floor.

  1. The tool opens with the Nvidia case. Check it against the table in the box “The Nvidia margin case” below: a return of 153.9% and a call price of $85.26.
  2. Press Use my numbers and pick, in the list, the holding that you think is the riskiest. The tool takes three numbers from My Portfolio: the buy price is your cost per share, the sell price is your latest price, and the shares are your shares.
  3. Read the sentence under the buttons: it gives the return on your own money if half of the position were borrowed, and the price at which the broker would call. Type a lower sell price to see a bad outcome.
  4. Press SHORT and type today’s price as the short price. Read the table: your gain or loss at each buy-back price, and the last row.
  5. Place your limit order and your short position (or inverse ETF) in the Fund Game. Then write Trade Log Week 2 in Moodle, and name the risk that you just read.
  6. If you want a picture for your notes, press Export PNG. It prints your fund nickname, the mode (long or short) and every input.

Nothing is saved in My Portfolio this week. Your numbers stay in your browser, and the site never downloads prices.

Where do your shares come from? The secondary market

First: where do your shares come from? Every buy in the Fund Game is a secondary-market trade. The shares come from another investor who is selling, and the company receives nothing. Apple sold shares to the public once, at its IPO decades ago. Every Apple trade since then, including yours in the game, is investor to investor. A company gets cash only in the primary market, when it sells new shares: an IPO or a later offering. Your fund’s first five buys moved money between investors, not into the companies. That is the secondary market, and it is where almost all trading happens.

The Nvidia margin case: the data table and what it says

The margin case of the second lab. It uses two real month-end closing prices of Nvidia (NVDA) from the course data (course data: prices Aug 2023–Aug 2026, monthly). NVDA closed one month at $119.37 and, 24 months later, at $220.78. The lowest month-end close in between was $108.38. The position is 100 shares. The loan costs 8% a year, simple interest, for 2 years. The maintenance margin is 30%. No dividends are counted.

Margin Equity you put up Loan Interest (2 years at 8%) Capital gain Return on invested capital Margin-call price Margin at the $108.38 low
100% $11,937.00 $0.00 $0.00 $10,141.00 85.0% no call possible 100.0%
65% $7,759.05 $4,177.95 $668.47 $10,141.00 122.1% $59.69 61.5%
50% $5,968.50 $5,968.50 $954.96 $10,141.00 153.9% $85.26 44.9%

Return on invested capital = (capital gain − interest) ÷ equity. Margin-call price = loan ÷ (0.70 × 100). Every number is computed from the unrounded prices and rounded only for display.

What the table says.

  • The stock rose 85.0%: (220.78 − 119.37) ÷ 119.37.
  • With half the money borrowed, the same two years earned 153.9% on the investor’s own money. That is about 1.8 times the stock’s move, not 2 times, because the interest cost $954.96.
  • At 50% margin the broker would have called below $85.26. The lowest month-end close was $108.38. At that price the margin was 44.9%, still above 30%, so there was no call. The price would have had to fall another 21% from that low to reach the call price.
  • If the stock had fallen by half instead, the shares of the 50% position would have been worth only the loan, and the investor’s own money would have been gone. The broker would have called, and sold the shares, long before that.
  • The mirror image: suppose an investor had shorted 100 shares at $119.37 and bought them back at $220.78. The loss is (119.37 − 220.78) × 100 = −$10,141.00. On a deposit of $5,968.50 that is −169.9%: more than the whole deposit. This is the risk that your trade log must mention when you place a short.

Class experiment

Your move of the week: tell the class what you did, with one anonymous click.

In Moodle

  1. Homework CH2
  2. Trade Log Week 2
  3. Lab worksheets 1 and 2

Due dates and points are in Moodle.

This week’s formulas

Underpricing = (first-day closing price − offer price) ÷ offer price

Gross proceeds = offer price × shares sold

Money left on the table = (first-day closing price − offer price) × shares sold

Spread = ask − bid · Midpoint = (bid + ask) ÷ 2 · Spread % = spread ÷ midpoint

Round-trip cost = spread × shares · One-way cost = half the spread × shares

Equity = value × margin % · Loan = value − equity · Margin % = (value − loan) ÷ value

Interest = loan × yearly rate × months ÷ 12

Return on invested capital = (dividends received − interest paid + sale value − purchase value) ÷ equity

Margin-call price = loan ÷ [(1 − maintenance margin) × shares]

Short-sale profit = (short price − buy-back price) × shares − dividends paid to the lender

Common mistakes
  • Dividing the first-day jump by the closing price. Divide by the offer price.
  • Calling the gross proceeds “money left on the table”. The proceeds are what the company received. The money left on the table is what it did not receive.
  • Mixing up the two prices of a quote. You buy at the ask and you sell at the bid.
  • Dividing the spread by the bid or by the ask. Divide by the midpoint.
  • Thinking that a round trip is free when the price does not move. It costs the whole spread.
  • Dividing a margin gain by the full value of the position. Divide by your equity.
  • Leaving out the interest on the loan, or the dividends.
  • Finding the margin-call price from the purchase price alone. It comes from the loan.
  • Counting a dividend as income when you are short. A short seller pays it.
  • Thinking that a short sale can lose only the deposit. The loss has no limit.

Next week. You know how the market works. Next week you learn to read what it tells you, and to give it exact orders. Week 3 — Quotes, orders, brokers, indexes →