Week 13 — Running the whole fund

By the end of this week you can set the big slices of a portfolio and trade back to them, grade any fund against the market with the Sharpe, Treynor and Jensen measures, and explain why investing a fixed amount every month gives an average cost below the average price.

← Course map

From last week. You have all the pieces: stocks, bonds and funds. This week you manage the whole portfolio. You set the slices, keep them in place, and grade the result.

This week’s ideas

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

1Asset allocation and rebalancingHow do I decide the big slices of my fund — stocks, bonds, cash — and what do I trade when the slices drift away from the plan?

Start with the big decision: how much in stocks, bonds and cash, and what to trade when the mix drifts.

Learning goals

After this idea, you can:

  • Define asset allocation, and explain why the split between asset classes drives more of a portfolio’s long-run result than the choice of single securities.
  • Compute the current weight, the target value and the rebalancing trade for every line of a portfolio, and check that the trades add to zero.
  • Apply two portfolio rules: a limit on the largest position, and a minimum number of positions.
  • State three reasons to sell a holding.

The idea

You pack a bag for a long trip. You have a plan: half clothes, a quarter books, a quarter food. After a week the food is eaten and you have bought more books. The bag is almost all books. The plan is still right. The bag drifted. Before the next leg of the trip you take out some books and buy food again.

The plan. Asset allocation is the share of your money in each asset class: a group of investments that behave alike. The three big classes are stocks, bonds and cash. This split is the biggest decision in a portfolio.

Take two investors who own the same five stocks. One keeps 90% of her money in them. The other keeps 40% in them and the rest in bonds. After twenty years their results are far apart. The stocks cannot explain it, because the stocks are the same. The split explains it. So set the slices first. Then fill them.

Choose the slices from your goal, your time horizon and the risk you can live with. Every plan adds to 100%.

The drift. Prices move, so weights move. A stock that triples becomes a bigger slice. A planned mix of 60% stocks and 40% bonds can turn into 75 / 25. Nobody chose that risk. It happened.

The fix. Rebalancing is trading back to the plan. It takes three lines of arithmetic for each line of the portfolio.

Key formulas: rebalancing

weight of a line = market value of the line ÷ total value

total value = every position + cash

target value = target weight × total value

trade = target value − current value

Check: all the trades add to zero.

The weight of a line is its share of the whole portfolio, cash included. A positive trade is a buy. A negative trade is a sale. Money sold on one line is money bought on another line, so the trades must add to zero.

Two fences. Many portfolios add two rules. Rule one: no single position above a set share of the total, for example 30%. Rule two: at least a minimum number of positions, for example five. A position is one holding other than cash. Cash counts in the total, but cash is not a position. Both rules keep one bad surprise from hurting the whole portfolio.

The trades change the risk too. Selling part of a winner with a high beta and buying bonds lowers the portfolio beta.

When to sell. Three reasons belong in a plan:

  • the holding became riskier than you planned;
  • the holding missed the return goal you set for it;
  • the holding drifted past your weight limit.

One reason does not belong in a plan: “the price feels high, so it must come down.” Nobody knows the top. Do not wait for it.

In Excel. Put the market values in column B (rows 6 to 10, cash last) and the target weights in column D. Weight, in column C: =B6/SUM($B$6:$B$10). Target value, in column E: =D6*SUM($B$6:$B$10). Trade, in column F: =E6-B6. The check =SUM(F6:F10) must return 0. Largest position, cash row left out: =MAX(C6:C9). Action: =IF(F6>50,"BUY",IF(F6<-50,"SELL","hold")).

Try it

The table starts with an example fund of six holdings and cash. Change a value or a target, or press Clear and type your own lines.

What to notice:

  • In the example fund, the trades sell part of the two holdings above their targets and buy the four below. Cash falls by $3,035, and the trades add to $0. The fund beta falls from 0.82 to 0.79: a stock with a beta of 1.9828 is sold, and a bond fund with a beta of 0.10 is bought.
  • Change one target so that the targets add to 95%. The trade columns show dashes. A plan must add to 100% before it can be traded.
  • Press Drifted winner. One stock is 38% of the fund, and the trades cut it to 25%. The second flag stays red: three positions are fewer than five, and rebalancing cannot add a holding.

The tool checks two rules after the trades: no position above 30%, and at least five positions. It skips any trade of $50 or less. The buttons under the tool are for students who keep a My Portfolio page on this site.

Worked example

The Kestrel fund is worth $80,000 in total. The plan is 20% in each of three stocks, 30% in a bond ETF and 10% in cash.

Line Market value Target weight
Harbor Tech $31,000 20%
Meadow Foods $14,000 20%
Granite Bank $17,500 20%
Bond ETF $12,500 30%
Cash $5,000 10%

Step 1. Current weights. Divide each value by 80,000. Harbor Tech 31,000 ÷ 80,000 = 38.75%. Meadow Foods 14,000 ÷ 80,000 = 17.50%. Granite Bank 17,500 ÷ 80,000 = 21.875%. Bond ETF 12,500 ÷ 80,000 = 15.625%. Cash 5,000 ÷ 80,000 = 6.25%. Harbor Tech is above a 30% limit.

Step 2. Target values. 0.20 × 80,000 = $16,000 for each stock. 0.30 × 80,000 = $24,000 for the bond ETF. 0.10 × 80,000 = $8,000 of cash.

Step 3. Trades = target value − current value.

Line Target value − current value Trade
Harbor Tech 16,000 − 31,000 −$15,000: sell
Meadow Foods 16,000 − 14,000 +$2,000: buy
Granite Bank 16,000 − 17,500 −$1,500: sell
Bond ETF 24,000 − 12,500 +$11,500: buy
Cash 8,000 − 5,000 +$3,000: cash rises

Step 4. Check. −15,000 + 2,000 − 1,500 + 11,500 + 3,000 = 0.

Answer. Sell $15,000 of Harbor Tech and $1,500 of Granite Bank. Buy $2,000 of Meadow Foods and $11,500 of the bond ETF. Cash rises by $3,000. After the trades no stock is above 20%. The largest position is the bond ETF at 30%: exactly at a 30% limit, so that rule is met. The fund has four positions. A rule that asks for five would still fail, and only a new holding can fix that.

Check yourself · 5 questions
Check 1.

A portfolio holds $45,000 of stocks, $30,000 of bonds and $25,000 of cash. What is the weight of bonds?

Weight = value of the line ÷ total portfolio value, with cash in the total.

Check 2.

A fund of $120,000 has a target of 25 % for one stock that is currently worth $42,000. What trade brings it to target?

Target value = target weight × total; trade = target − current.

Check 3.

After a year in which one stock tripled, an investor’s planned 60 / 40 stock-bond mix has become 75 / 25. Which statement is correct?

Rebalancing trades the drift away and restores the risk level the investor chose.

Check 4.

Two investors own the same stocks. One holds 90 % of her money in them, the other 40 % with the rest in bonds. Over twenty years their results differ a lot. What explains most of the difference?

The big slices matter more than the individual picks.

Check 5.

Which of these is NOT one of the usual reasons to sell a holding?

Sell for a reason in the plan — risk, return goal, drift — not because a price ‘feels’ high.

Optional reading: Smart & Zutter ch. 13, §13.1 and §13.3 · Open this idea as its own page

2Sharpe, Treynor and Jensen: grading a fund against the marketDid my fund beat the market after adjusting for the risk it took — and which of three grades should I trust?

The mix is set. Now ask how the fund did, after counting the risk it took.

Learning goals

After this idea, you can:

  • Compute a portfolio’s holding period return, and the return of a benchmark over the same window.
  • Compute the Sharpe ratio, the Treynor ratio and Jensen’s alpha from an average return, a standard deviation, a beta and the risk-free rate, all on the same period basis.
  • Choose the measure that fits the portfolio: Sharpe for any fund, Treynor and alpha only for a diversified one.
  • Read a verdict: the fund beat the market on return, on risk-adjusted return, on both, or on neither.

The idea

Two delivery drivers finish the month. One made $3,000 and got two speeding tickets. The other made $2,600 with a clean record. Who had the better month? “More money” is one answer. “More money for each unit of risk” is another, and it is the one an insurance company cares about. So does the owner of a fund. Sharpe, Treynor and Jensen are three ways to put the tickets into the score.

First, the plain return. The holding period return (HPR) is what a portfolio earned from the first day to the last, as a share of its starting value. When no money went in or out, it is end value ÷ start value − 1. Compute the same number for a benchmark: a market index measured over the same window. Never compare two different windows.

Then, the ride. Take the value at the end of each period, for example each month. A period return is this value ÷ the last value − 1. Compute the average of the period returns and their standard deviation. Do the same for the benchmark.

Grade 1: the Sharpe ratio. The Sharpe ratio is the reward above a safe investment for each unit of total risk. The top is the average return minus the risk-free rate: what a Treasury bill pays. The bottom is the standard deviation. Here is the trap. The risk-free rate is quoted per year, and these returns are per month. Divide the yearly rate by 12 first. A yearly rate subtracted from monthly returns gives a big negative number that means nothing.

Grade 2: the Treynor ratio. Same top, different bottom. The Treynor ratio divides by beta, which measures market risk only. The market’s beta is 1, so the market’s Treynor ratio is its average return minus the risk-free rate.

Grade 3: Jensen’s alpha. First ask what return the fund’s beta required. The CAPM gives it: the risk-free rate, plus beta times the market’s return above the risk-free rate. Jensen’s alpha is the fund’s average return minus that required return. A positive alpha means the fund earned more than its market risk deserved. A fund can make money and still have a negative alpha.

Key formulas: grading a fund

HPR = (end value − start value + income) ÷ start value

period return = this value ÷ last value − 1

period risk-free rate = annual rate ÷ 12, for monthly returns

Sharpe ratio = (average period return − period risk-free rate) ÷ standard deviation of the period returns

Treynor ratio = (average period return − period risk-free rate) ÷ beta

CAPM required return = period risk-free rate + beta × (average market return − period risk-free rate)

Jensen’s alpha = average period return − CAPM required return

Higher is better for all three grades.

Which grade to trust. Treynor and alpha both trust beta, and beta ignores the risk of single companies. That is fine for a diversified portfolio: one with many holdings in many industries, where company risk has averaged out. It is not fine for four stocks in one industry. The Sharpe ratio counts every kind of risk, so it works for any fund. If Treynor says “winner” and Sharpe says “no”, believe Sharpe.

The verdict. A fund can beat the market on return, on risk-adjusted return, on both, or on neither. Remember one sentence: a fund can win on return and lose on Sharpe.

In Excel. Put the four values in B10 to B13, the returns in D11 to D13 and the yearly risk-free rate in B5. Period return: =B11/B10-1, copied down. HPR: =B13/B10-1. Average: =AVERAGE(D11:D13). Standard deviation: =STDEV.S(D11:D13). Monthly risk-free rate: =B5/12. Sharpe: =(average-rf)/stdev. Treynor: =(average-rf)/beta. CAPM required return: =rf+beta*(market_average-rf). Alpha: =average-required. Beta of a whole fund: =SUMPRODUCT(weights, betas).

Try it

The table starts with an example fund: a start value and three month-end values, for the fund and for a market index.

What to notice:

  • The example fund wins on return, 5.30% against 4.03%. It took a little more risk, and it still wins on Sharpe, Treynor and alpha. On the dot plot, the slope of each line from the risk-free rate is a Sharpe ratio: steeper is better.
  • Press More return, much more risk. The fund earns 6.00% against 4.00%, but its Sharpe ratio is 0.179 against 0.479. Treynor and alpha still favour the fund, because beta does not see the fund’s own swings.
  • Uncheck one row. Three rows give only two returns. The tool shows the HPR and waits for a fourth row before it measures risk.

The tool reads the rows as months. The buttons under the tool are for students who keep a My Portfolio page on this site.

Worked example

The Redstone fund has four month-end values: $50,000 at the start, then $51,500, $50,470 and $53,500. The market index closed at 4,000, 4,120, 4,038 and 4,200 on the same days. The risk-free rate is 3.6% a year. The fund’s beta is 0.90.

Step 1. HPR. Fund: 53,500 ÷ 50,000 − 1 = 7.00%. Market: 4,200 ÷ 4,000 − 1 = 5.00%. The fund wins on return.

Step 2. Monthly returns.

Month Fund Market
1 51,500 ÷ 50,000 − 1 = +3.0000% 4,120 ÷ 4,000 − 1 = +3.0000%
2 50,470 ÷ 51,500 − 1 = −2.0000% 4,038 ÷ 4,120 − 1 = −1.9903%
3 53,500 ÷ 50,470 − 1 = +6.0036% 4,200 ÷ 4,038 − 1 = +4.0119%

Step 3. Averages and standard deviations. Fund average: (3.0000 − 2.0000 + 6.0036) ÷ 3 = 2.3345%. Market average: (3.0000 − 1.9903 + 4.0119) ÷ 3 = 1.6739%. Sample standard deviation, with =STDEV.S: fund 4.0431%, market 3.2133%. The fund took more risk.

Step 4. Sharpe. Monthly risk-free rate: 3.6% ÷ 12 = 0.3000%. Fund: (2.3345 − 0.3000) ÷ 4.0431 = 0.503. Market: (1.6739 − 0.3000) ÷ 3.2133 = 0.428. The fund wins for each unit of total risk.

Step 5. Treynor and alpha. Fund Treynor: (2.3345% − 0.3000%) ÷ 0.90 = 2.2606%, which is 0.0226 as a decimal. Market Treynor: (1.6739% − 0.3000%) ÷ 1 = 1.3739%, which is 0.0137. CAPM required return for the fund: 0.3000 + 0.90 × (1.6739 − 0.3000) = 1.5365% a month. Alpha: 2.3345 − 1.5365 = +0.80% a month.

Answer. HPR 7.00% against 5.00%. Sharpe 0.503 against 0.428. Treynor 0.0226 against 0.0137. Alpha +0.80% a month. The fund beat the market on return and on every risk-adjusted grade, with a little more total risk.

Check yourself · 5 questions
Check 6.

A fund returned 9 % with a standard deviation of 12 %; the risk-free rate was 3 %. What is its Sharpe ratio?

Sharpe = (return − risk-free rate) ÷ standard deviation.

Check 7.

Fund P returned 14 % with a standard deviation of 28 %; Fund Q returned 8 % with a standard deviation of 10 %. The risk-free rate is 2 %. Which is true?

Higher return does not mean higher reward per unit of risk.

Check 8.

A fund’s monthly returns are being graded. The risk-free rate is 4.8 % a year. Which risk-free rate belongs in the Sharpe formula?

Convert the annual risk-free rate to the period of the returns: ÷ 12 for months.

Check 9.

A fund returned 11 % with a beta of 1.4. The market returned 9 % and the risk-free rate was 3 %. What is Jensen’s alpha?

Alpha = actual return − [rf + beta × (market − rf)].

Check 10.

A fund holds four stocks, all in one industry. Its Treynor ratio beats the market’s. Which conclusion is sound?

Use Treynor and alpha for diversified funds; Sharpe works for any fund.

Optional reading: Smart & Zutter ch. 13, §13.2 and §13.3 · Open this idea as its own page

3Dollar-cost averaging and formula plansShould I invest a lump sum now or a fixed amount every month — and what do the other mechanical plans do?

The last question is when to put new money in. All at once, or a little at a time?

Learning goals

After this idea, you can:

  • Compute the shares bought each month under dollar-cost averaging, the total shares and the average cost per share, and compare that cost with the simple average price.
  • Explain why the average cost is below the average price whenever prices vary, and when a lump sum still wins.
  • Describe the constant-dollar, constant-ratio and variable-ratio plans in one sentence each.
  • Compute the trade a constant-dollar plan makes after a price move.

The idea

Every month you buy $50 of coffee beans, whatever the price. In a cheap month you come home with a big bag. In an expensive month you get a small one. At the end of the year you work out what you paid per pound. It is less than the average price on the shelf, because you bought more pounds when they were cheap. You did not predict anything. The fixed dollar amount did the work.

Dollar-cost averaging. Dollar-cost averaging means investing the same dollar amount on a fixed schedule, for example every month, at whatever the price is that day. It takes three lines of arithmetic.

Key formulas: dollar-cost averaging

shares bought in a month = dollars invested ÷ that month’s price

total shares = the sum of the monthly shares

average cost per share = total dollars ÷ total shares

simple average price = sum of the prices ÷ number of months

average cost ≤ average price (equal only when every price is the same)

The average cost per share is what you really paid for each share. It is always at or below the simple average of the prices. The reason is in the coffee story: a cheap month buys more shares, so it counts for more.

The honest part. “Below the average price” does not mean “better than buying everything at the start”. A lump sum is all the money invested at once, at the first price. If the price mostly rises, every later purchase costs more than the first one, and the lump sum ends ahead. If the price dips first, averaging ends ahead. So averaging is not a return machine. It is a discipline against fear and against hunting for the perfect day.

Four formula plans. A formula plan is a mechanical rule for trading: no forecast, no emotion. Dollar-cost averaging is one of four. Each plan holds a different thing fixed.

Plan What is held fixed What the rule does
Dollar-cost averaging the dollars invested each period buys more shares when the price is low
Constant-dollar plan the dollars kept in stocks moves any gain above that amount to bonds, and buys stocks with bond money after a fall
Constant-ratio plan the percent kept in stocks rebalances when the percent drifts past a trigger
Variable-ratio plan nothing: the percent itself changes lowers the stock percent after the market has risen, and raises it after the market has fallen
Key formulas: constant-dollar plan

stock value after a price move = shares × new price

move to bonds = stock value − dollar target

A negative number means: buy stocks with bond money.

Many investors add a trigger band to the constant-dollar plan: the plan trades only when the stock side is a set percent away from its target.

Orders are plans too. A limit order buys only at your price or better. A stop order sells when the price falls to your line. Both carry out a plan while you are not watching: decide the rule when you are calm, and let it act when you are not.

In Excel. Put the monthly amount in B4 and the prices in B7 to B12. Shares: =$B$4/B7, copied down column C. Total shares: =SUM(C7:C12). Average cost: =COUNT(B7:B12)*B4/SUM(C7:C12). Average price: =AVERAGE(B7:B12). Lump sum at the end, with the total dollars in B14: =B14/B7*B12. Constant-dollar plan: =shares*newprice-target for the dollars moved, and =move/newprice for the shares sold.

Try it

The first tab starts with twelve real month-end closing prices of SPY, a fund that follows the S&P 500 index (course data: prices Sep 2025–Aug 2026, month-end closes). Change the monthly amount, press a button, or type your own price path.

What to notice:

  • With the SPY prices, the average cost is $704.54 against an average price of $706.49. The lump sum still ends ahead, $6,908.49 against $6,532.34, because this path mostly rose.
  • Press Coffee beans. The price dips and then recovers. Now averaging ends ahead: $2,587.50 against $2,250.00. The tallest bar on the chart is the cheapest month.
  • Open the second tab. The plan keeps $5,000 in the stock fund and trades only when the stock side is 5% or more away from it. It trades twice and moves $657.02 to bonds. It ends at $10,726.88, a little below buy-and-hold at $10,757.08: selling on the way up gives up some gain.

Returns in the tool are on the dollars invested, not weighted by time. In the second tab the bond side earns nothing.

Worked example

Priya puts $300 into the Birchwood index fund at the start of each of six months. The prices are $40.00, $32.00, $25.00, $32.00, $40.00 and $50.00.

Step 1. Shares each month = 300 ÷ price.

Month Price Shares bought
1 $40.00 300 ÷ 40 = 7.5000
2 $32.00 300 ÷ 32 = 9.3750
3 $25.00 300 ÷ 25 = 12.0000
4 $32.00 300 ÷ 32 = 9.3750
5 $40.00 300 ÷ 40 = 7.5000
6 $50.00 300 ÷ 50 = 6.0000

The cheapest month bought twice as many shares as the most expensive month.

Step 2. Totals. Dollars: 6 × 300 = $1,800. Shares: 7.5 + 9.375 + 12 + 9.375 + 7.5 + 6 = 51.75.

Step 3. Average cost against average price. Average cost per share = 1,800 ÷ 51.75 = $34.78. Simple average price = (40 + 32 + 25 + 32 + 40 + 50) ÷ 6 = $36.50. The average cost is $1.72 below the average price.

Step 4. Value at the end, and the lump sum. Priya’s shares are worth 51.75 × 50 = $2,587.50. That is a gain of $787.50 on $1,800, or +43.75%. A lump sum of $1,800 at $40 would have bought 45 shares, worth 45 × 50 = $2,250 at the end, or +25.00%. On this path, averaging won.

Step 5. The constant-dollar plan. Marco keeps exactly $2,000 in the same fund: 50 shares at $40. He also has $1,000 in bonds. The price reaches $50. His stock side is now 50 × 50 = $2,500. Move to bonds = 2,500 − 2,000 = $500. He sells $500 of the fund, which is 10 shares at $50. The stock side is back at $2,000, and the bonds are $1,500.

Answer. Priya owns 51.75 shares at an average cost of $34.78, against an average price of $36.50. Her shares end at $2,587.50. Marco’s constant-dollar plan moves $500 to bonds after the rise.

To check it, press Coffee beans in the tool above.

Check yourself · 5 questions
Check 11.

You invest $200 a month for three months at prices of $20, $10 and $25. How many shares do you own?

Shares = dollars ÷ that month’s price, month by month.

Check 12.

In the same plan ($200 a month at $20, $10 and $25), what is the average cost per share, and how does it compare with the average price?

Average cost = total dollars ÷ total shares, always at or below the average price.

Check 13.

A stock’s price rises every single month for a year. Which statement about investing a lump sum at the start versus the same total spread over the twelve months is correct?

Averaging is a discipline, not a return machine; a steadily rising path favours the lump sum.

Check 14.

An investor keeps exactly $8,000 in a stock fund and the rest in bonds. The fund rises so her stock side is worth $9,100. Under her plan she:

Constant-dollar: fixed dollars in stocks; profit above the target goes to bonds.

Check 15.

Which pair correctly matches a plan with its rule?

Four plans, four things held fixed: monthly dollars, stock dollars, a stock percentage, or a moving percentage.

Optional reading: Smart & Zutter ch. 13, §13.4 · Open this idea as its own page

· · Your progress is saved in this browser only.

Before the first class, press the Example fund button of the scorecard in idea 2 once. Every formula the homework uses is inside these ideas. The book is not required.

Review: three ideas from earlier weeks
  • The CAPM and the security market line: review. Jensen’s alpha uses the CAPM required return: the risk-free rate + beta × (the market’s return − the risk-free rate). The class risk-free rate is 4.13% a year.
  • The risk–return trade-off and the coefficient of variation: review from Week 4. The standard deviation under the Sharpe ratio is the same =STDEV.S you used then. The scorecard’s dot plot is the Week 4 map with the risk-free rate added.
  • Portfolio beta and my fund: review from Week 5. Both tools below read your fund beta: the sum of (market value ÷ total fund value) × beta. Cash has a beta of 0. Bond ETFs use the class convention: 0.1 for BND and AGG, 0.3 for TLT, 0.0 for SHY. These are fixed values, not a data provider’s beta.

In class

The lecture is short: the three ideas above. The first class is a lab in Excel, and the second is a pitch workshop. This week’s move in the Fund Game is the final rebalance.

What the two classes do, and My Portfolio this week

First class: the lab (Excel). You build the fund-against-market sheet for your own fund: monthly returns, the holding period return, the standard deviation with =STDEV.S, the Sharpe ratio, your fund beta, the Treynor ratio, Jensen’s alpha, and the rebalance table. The computation is the skill. At the end of the lab you open the two tools below with your own numbers, and you check them against your sheet.

Second class: the pitch workshop. There is no lab worksheet. Your team works on its pitch.

The Trading Floor. You place the trades from the list you saved in the lab.

My Portfolio this week. The scorecard reads these check-in rows: the Start row and the last trading day of each month. You type the Start row yourself: $100,000 and the SPY close of the first game day. You type each month-end row in the first class after that month ends. A row from another day, for Report 1 or Report 2, is not a scorecard row: you uncheck it in the scorecard. After the Fund Game closes, add the check-in “Final”: the last trading day is the game close. Then type every holding’s price again, and export a backup.

Your fund this week

Did your fund beat the market after risk, and what are your last trades? The scorecard reads your check-in rows; the rebalance tool gives the trades that bring your fund back to its target mix. Both go into the Final Portfolio Memo.

Open this week’s taskClose this week’s tasktwo tools and the steps

Now your own fund: the scorecard. Do this at the end of the lab.

  1. Press Use my numbers. The tool reads your check-in rows from My Portfolio. You type the Start row there yourself: $100,000 and the SPY close of the first game day. Nothing is filled in for you.
  2. Keep the Start row and the last trading day of each month checked. Uncheck any row from another day, for example a row you typed for Report 1 or Report 2.
  3. The scorecard needs four checked rows. If you have only three before the Fund Game closes, press Add a check-in and type today’s fund value and today’s SPY close: the same numbers as in the last row of your Excel sheet.
  4. Compare the scorecard with your Excel sheet: HPR, standard deviation, Sharpe, Treynor, alpha. Use the same four check-in rows and the same betas in both, and the two agree to the last digit shown.
  5. Press Save to My Portfolio. This stores the check-ins used, the risk-free rate, the beta and the scorecard for Sections 1 and 5 of the Memo.
  6. Press Export PNG. Section 1 of the Memo asks for this picture.
  7. Press Copy as table for the seven rows of the Memo’s data summary (Section 5), with the Memo’s row names and in its order. Copy the full scorecard gives the fund, market and winner table: its first five rows are the table of Section 1.
  8. After the Fund Game closes, add the check-in “Final” in My Portfolio and press Use my numbers again. Do step 2 again: every complete row loads checked. Now the four checked rows are the Start row and the last trading day of each month. Then repeat steps 5 to 7.

Now your own fund: the last trades.

  1. Press Use my numbers. The tool makes one row for each holding (market value = shares × price) and one row for your cash.
  2. Type your target weights from Step 4 of the lab sheet. They must add to 100%.
  3. Read the sentence and the two flags. Both fund rules are checked after the trades: no position above 30% of the fund, and at least five positions (cash is not a position).
  4. Press Save to My Portfolio. This stores your target weights and the trade list as “Final rebalance”.
  5. At the Trading Floor, place these trades in the Fund Game and write them in your Trade Log. Then type the new shares and prices in My Portfolio, and export a backup.

Your numbers stay in your browser. The site never downloads prices.

More about the steps of the two tools

Scorecard, step 1. The tool reads your check-ins, the risk-free rate and your fund beta from My Portfolio. Which check-in rows to type, and where to read the SPY close: Find your numbers. If the tool says that a holding has no beta, type that beta in My Portfolio first. Bond ETFs use the class convention: 0.1 for BND and AGG, 0.3 for TLT, 0.0 for SHY.

Scorecard, step 2. Every complete row loads checked. The tool reads the checked rows in order, so the first checked row is the start. The sentence under the table says how many rows are checked.

Scorecard, step 3. A row that you add by hand stays in the tool only. It is not stored in My Portfolio, and it is gone when you press Use my numbers again.

Scorecard, step 6. The picture prints your fund nickname, every check-in used, the risk-free rate and the beta.

Rebalance, step 2. The line under the table compares your targets with the stocks, bonds and cash mix you chose in Week 1.

After class: averaging, and what to collect for the Memo

After class: averaging. Open the simulator in the dollar-cost averaging idea. Press its three buttons once. Then try your own monthly amount with any price path.

For the Memo, collect: the scorecard PNG and the Memo summary table; the final holdings table from My Portfolio (the button Copy final holdings table); and from last week, your real-money mix and the fee-drag PNG.

The example fund: check-ins, holdings and fund beta

Grading the example fund. Here is one fund, worked all the way through. Use it to check that your own sheet and the scorecard give the same kind of numbers. The values are invented. It is an example fund: your numbers will differ.

The check-ins. SPY is a fund that follows the S&P 500 index. It stands for the market. The rows are the Start row and the last trading day of each month. The last one, “Final”, is the game close.

Check-in Fund value SPY close Fund monthly return SPY monthly return
Start $100,000 770.00 — —
Month-end 1 $102,400 786.00 +2.4000% +2.0779%
Month-end 2 $99,800 764.00 −2.5391% −2.7990%
Final $105,300 801.00 +5.5110% +4.8429%

The risk-free rate is 4.13% a year: the class number, a 1-year Treasury rate from the course data. Per month it is 4.13 ÷ 12 = 0.3442%.

The holdings at the end, and the plan.

Holding Type Market value Beta Target weight Trade to the target
AAPL stock $22,000 0.8556 20% sell $940
JPM stock $20,000 0.8917 20% buy $1,060
KO stock $15,000 0.1817 15% buy $795
NVDA stock $18,000 1.9828 15% sell $2,205
BND bond ETF $12,000 0.10 15% buy $3,795
SPY ETF $10,000 1.00 10% buy $530
Cash cash $8,300 0 5% cash falls by $3,035
Total $105,300 100% the trades add to $0

The stock betas are course data with four decimals (prices Aug 2023–Aug 2026, monthly). They are the values My Portfolio stores from Week 5. The beta of BND is the class convention for a bond ETF.

Fund beta = (22,000 × 0.8556 + 20,000 × 0.8917 + 15,000 × 0.1817 + 18,000 × 1.9828 + 12,000 × 0.10 + 10,000 × 1.00 + 8,300 × 0) ÷ 105,300 = 86,273.10 ÷ 105,300 = 0.8193.

The example fund: scorecard, rebalance and what they say

The scorecard.

Measure Example fund Market (SPY) Winner
HPR, first to last check-in 105,300 ÷ 100,000 − 1 = 5.30% 801 ÷ 770 − 1 = 4.03% fund
Average monthly return 1.7907% 1.3740%
Monthly standard deviation 4.0595% 3.8693% market (less risk)
Sharpe ratio (1.7907 − 0.3442) ÷ 4.0595 = 0.356 (1.3740 − 0.3442) ÷ 3.8693 = 0.266 fund
Treynor ratio (1.7907 − 0.3442) ÷ 0.8193 = 1.7655%, or 0.0177 (1.3740 − 0.3442) ÷ 1 = 1.0298%, or 0.0103 fund
CAPM required return 0.3442 + 0.8193 × (1.3740 − 0.3442) = 1.1879% a month —
Jensen’s alpha 1.7907 − 1.1879 = +0.60% a month 0 fund (alpha > 0)

Every number is computed before rounding.

The winner rule. Each row names a winner: fund, market or tie. Higher wins on HPR, Sharpe and Treynor; lower wins on the standard-deviation row; on the alpha row the fund wins when alpha > 0 and the market wins when alpha < 0 (printed “market — fund below the CAPM”); a tie is equality at the displayed decimals. The market column is the benchmark, and it can win a row.

The rebalance. Before the trades, the largest position is AAPL at 20.89% of the fund. After the trades it is 20.00%. The fund keeps six positions. The fund beta falls from 0.8193 to 0.7891, because the trades sell NVDA and buy BND.

What the tables say. The example fund wins on return and on every risk-adjusted grade, with a little more risk than the market. Not every fund does. In the scorecard tool, press More return, much more risk. That fund earns 6.00% against 4.00% for the market, and its Sharpe ratio is 0.179 against 0.479. It won on return and lost on Sharpe. Your Memo has to say which kind of fund yours is.

Class experiment

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

In Moodle

  1. Homework CH13
  2. Trade Log Week 13
  3. Lab worksheet 1
  4. Final Portfolio Memo (one PDF, with your Week 13 Excel file as a second file)
  5. Team Pitch memo and slides
This week’s formulas

Weight = market value ÷ total fund value (the total includes cash)

Target value = target weight × total fund value · trade = target value − current value · the trades add to zero

HPR = (end value − start value + income) ÷ start value

Period return = this value ÷ last value − 1 · Excel: =AVERAGE(returns) and =STDEV.S(returns)

Monthly risk-free rate = yearly rate ÷ 12

Sharpe ratio = (average return − risk-free rate) ÷ standard deviation

Treynor ratio = (average return − risk-free rate) ÷ beta

CAPM required return = risk-free rate + beta × (market average return − risk-free rate)

Jensen’s alpha = average return − CAPM required return

Fund beta = sum of (weight × beta) · Excel: =SUMPRODUCT(weights, betas)

Shares bought in a month = dollars invested ÷ price · average cost per share = total dollars ÷ total shares

Constant-dollar plan: move to bonds = shares × new price − dollar target

Common mistakes
  • Leaving cash out of the total when you compute a weight.
  • Typing target weights that do not add to 100%.
  • Skipping the check: the trades must add to zero.
  • Subtracting a yearly risk-free rate from monthly returns. Divide the rate by 12 first.
  • Comparing your fund and the market over two different windows.
  • Using =STDEV.P. Use =STDEV.S.
  • Calling a fund a winner because its return is higher. Check the Sharpe ratio.
  • Trusting Treynor or alpha for a fund with a few stocks in one industry. Use Sharpe.
  • Dividing the total dollars by the average price to get the shares. Divide month by month, then add.
  • Saying that dollar-cost averaging always beats a lump sum. On a rising path the lump sum wins.
  • Selling because a price “feels high”. Sell for a reason that is in your plan.

Due dates and points are in Moodle.

Next week. Your fund is graded. In the last week you present it, and your team pitches a portfolio to a client. Week 14 — Pitch Day and the Portfolio Show →