Investments - Teaching Notes 20221114
Investments - Teaching Notes 20221114
Investments - Teaching Notes 20221114
Teaching notes
1 Portfolio Choice 5
1.1 Risk and return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.1 Holding period return . . . . . . . . . . . . . . . . . . . . . 5
1.1.2 Expected return and standard deviation . . . . . . . . . . . 6
1.1.3 Risk premium and Sharpe Ratio . . . . . . . . . . . . . . . 7
1.1.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Risk Aversion and Capital Allocation . . . . . . . . . . . . . . . . . 8
1.2.1 Risk Aversion . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2.2 Portfolio rate of return . . . . . . . . . . . . . . . . . . . . . 10
1.2.3 Portfolios of one risky asset and a risk-free asset . . . . . . 12
1.2.4 Risk tolerance and asset allocation . . . . . . . . . . . . . . 13
1.2.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.3 Optimal Risky Portfolios . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3.1 Diversification and portfolio risk . . . . . . . . . . . . . . . 15
1.3.2 Portfolios of two risky assets . . . . . . . . . . . . . . . . . 16
1.3.3 Portfolios of two risky assets and a risk-free asset . . . . . . 18
1.3.4 The Markowitz portfolio optimization model . . . . . . . . 20
1.3.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2
Contents 3
4 Bond Markets 38
4.1 Price quotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.1.1 Face value and coupons . . . . . . . . . . . . . . . . . . . . 39
4.1.2 Bond price units . . . . . . . . . . . . . . . . . . . . . . . . 39
4.1.3 Quoting conventions . . . . . . . . . . . . . . . . . . . . . . 40
4.2 Rates of return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2.1 Annual Percentage Rate . . . . . . . . . . . . . . . . . . . . 42
4.2.2 Effective Annual Rate . . . . . . . . . . . . . . . . . . . . . 42
4.3 Bond Prices and Yields . . . . . . . . . . . . . . . . . . . . . . . . 43
4.3.1 Bond Pricing . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.3.2 Yield to Maturity . . . . . . . . . . . . . . . . . . . . . . . 44
4.3.3 Realized Yield . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.3.4 Default risk and ratings . . . . . . . . . . . . . . . . . . . . 46
4.3.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4 Term structure of interest rates . . . . . . . . . . . . . . . . . . . . 47
4.4.1 Spot rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4.2 Forward rates . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.4.3 Expectations of future interest rates . . . . . . . . . . . . . 49
4.4.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.5 Yield curve fitting . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.5.1 Continuous compounding . . . . . . . . . . . . . . . . . . . 51
4.5.2 Discount factors and interest rates . . . . . . . . . . . . . . 51
4.5.3 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.5.4 Bootstrap . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.5.5 Nelson-Siegel Model . . . . . . . . . . . . . . . . . . . . . . 56
4.5.6 Svensson Model . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.5.7 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.6 Bond management . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.6.1 Macaulay Duration . . . . . . . . . . . . . . . . . . . . . . . 62
4.6.2 Active bond management . . . . . . . . . . . . . . . . . . . 64
4.6.3 Duration for general term structures . . . . . . . . . . . . . 65
4.6.4 Passive bond management: Immunization . . . . . . . . . . 66
4.6.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Contents 4
6 Futures markets 75
6.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.1 Forward contract . . . . . . . . . . . . . . . . . . . . . . . . 75
6.1.2 Futures contract . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.3 Differences between Futures and Forwards . . . . . . . . . . 78
6.2 Trading strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.2.1 Speculation and leverage . . . . . . . . . . . . . . . . . . . . 80
6.2.2 Hedging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.2.3 Spread trading . . . . . . . . . . . . . . . . . . . . . . . . . 83
6.3 Single-stock futures . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.4 Futures prices of stock indices . . . . . . . . . . . . . . . . . . . . . 86
6.5 Investment strategies with stock-index futures . . . . . . . . . . . . 89
6.5.1 Creating synthetic stock positions . . . . . . . . . . . . . . 89
6.5.2 Hedging an equity portfolio from market risk . . . . . . . . 91
6.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
7 Swaps 94
7.1 Interest Rate Swaps . . . . . . . . . . . . . . . . . . . . . . . . . . 94
7.2 Hedging with an IRS . . . . . . . . . . . . . . . . . . . . . . . . . . 95
8 Solutions to Problems 97
Bibliography 98
Chapter 1
Portfolio Choice
P (T ) − P (0) + Payouts
HPR = (1.1)
P (0)
where
• P (t) is the price of the asset at time t
Instead of HPR, will usually just say “rate of return” or simply “return”, and
denote it by r.
5
1.1. Risk and return 6
where
• s = 1, . . . , S are the possible states of nature (scenarios)
Time-series estimation
The “true” moments are not observable, so we have to estimate the inputs to our
models
1.1. Risk and return 7
1. Excess return is the difference in any particular period between the actual
rate of return on a risky asset and the actual risk-free rate.
2. Risk premium is the difference between the expected HPR on a risky asset
and the risk-free rate
Risk premium
SR =
Std-dev of return
1.1.4 Exercises
Ex. 1.1 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 5:
CFA problems 1 through 5 (same CFA problems in 2018 and 2021 editions).
Definition
A fair game is a gamble with an expected payoff of zero. Example: toss a coin
and double or loose your monthly salary.
Depending on whether you like a fair game or not, you are either:
- Risk Averse
- Risk Neutral
- Risk Lover
Remarks:
Mean-Variance Dominance
µx ≥ µy and σx < σy
or µx > µy and σx ≤ σy
p
where µi = E[ri ] and σi = Var[ri ]
1.2. Risk Aversion and Capital Allocation 10
E[r]
✻
✲
σ
Definition
where
• ri = return on security i
Stock A Stock B
Initial Investment $40,000 $60,000
P0 $20 $10
Initial Number of shares ... ...
P1 $24 $11
and
Stock µ σ
X 10% 20%
Y 20% 40%
1.2. Risk Aversion and Capital Allocation 12
The risk-free asset is not random and thus has Var[rf ] = 0 and σf p = 0.
Therefore,
E[rc ] = wf rf + wp E[rp ]
V ar[rc ] = wp2 σp2 ⇒ σc = wp σp
where
rc = return on the complete portfolio.
All possible combinations of the risk-free asset and the risky portfolio p lie
on the following straight line:
E[rp ] − rf
CAL(p): E[rc ] = rf + σc
σp
E[r]
✻
✲
σ
E[r ]−r
p f
The slope of the CAL is σp . This slope is called “reward-to-variability”
ratio. It is also called the Sharpe ratio. The higher this ratio, the better.
E[rp ] − rf
wp∗ = and wf∗ = 1 − wp∗ (1.4)
Aσp2
Proof. The investor gets the following utility from a portfolio on CAL(p):
The investor picks the particular portfolio on the CAL that maximizes his utility
function.
maximize (1 − wp )rf + wp E[rp ] − 0.5 × A × wp2 σp2
wp
E[r]
✻
✲
σ
1.2.5 Exercises
Ex. 1.2 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 6:
2, 13–19. Same problems in 2018 and 2021 editions.
Ex. 1.3 — The return on stock x over the next year will depend on the state of
the market as follows:
State of Market Prob rx
Expansion 0.6 0.3
Recession 0.4 -0.1
The risk-free rate is 2%.
What is the Sharpe Ratio of a portfolio that invests 60% in stock x and 40% in
the risk-free asset?
1.3. Optimal Risky Portfolios 15
The main idea is “Don’t put all your eggs in one basket”. Different stocks respond
differently to economic shocks. Diversifying your funds into several assets reduces
the risk of the overall portfolio.
1. The part of the risk that can be easily eliminated through diversification.
This is called:
(a) unique risk or firm-specific risk;
(b) nonsystematic risk; or
(c) diversifiable risk
2. The part of the risk that cannot be eliminated and remains even after di-
versifying. This is called:
(a) market risk;
(b) systematic risk; or
(c) nondiversifiable risk
Suppose there are just two risky assets (stocks). Recall that the mean and variance
of the return on the portfolio formed by these two assets is:
Correlation effects
σp = w1 σ1 + (1 − w1 )σ2
which means that all possible portfolios lie on the straight line between the two
assets (in σ, µ - space).
Imperfect correlation (−1 < ρ < +1). Now we have the diversification
benefit. At each level of µp , the corresponding σp is less than in the ρ = 1 case.
This is because σp2 increases in ρ (∂σp2 /∂ρ = 2w1 w2 σ1 σ2 > 0).
Whereas the expected return on the portfolio is always the weighted average of
expected returns on the individual assets, the standard-deviation of the portfolio
is now less than the weighted average of the individual standard-deviations.
Note that only the portfolios on the upper part of the curve are efficient, that
is, they (mean-variance) dominate the ones on the lower part of the curve.
1.3. Optimal Risky Portfolios 17
E[r]
✻
✲
σ
σ22 − σ12
w1 = and w2 = 1 − w1
σ12 + σ22 − 2σ12
minimize σp2
w1 ,w2
s.t. w1 + w2 = 1
or
minimize w12 σ12 + (1 − w1 )2 σ22 + 2w1 (1 − w1 )σ12
w1
Security µ σ
1 0.10 0.20
2 0.20 0.30
Tangency portfolio
The optimal risky portfolio to combine with a risk-free asset is the one that pro-
duces the steepest Capital Allocation Line. It is called the Tangency portfolio.
E[r]
✻
✲
σ
1.3. Optimal Risky Portfolios 19
Given two risky assets and a risk-free rate rf , the tangency portfolio is
Proof. We want to find the portfolio that maximizes the slope of the CAL going
through it:
E[rp ] − rf
maximize
w1 ,w2 σp
s.t. E[rp ] = w1 E[r1 ] + w2 E[r2 ]
σp = [w12 σ12 + w22 σ22 + 2w1 w2 σ12 ]1/2
w1 + w2 = 1
Once we have the Tangency portfolio, we can find the optimal complete portfo-
lio that combines T and the risk-free asset. For an investor with mean-variance
preferences (equation 1.2), the optimal solution is given by (1.4):
E[rT ] − rf
wT∗ =
AσT2
1.3. Optimal Risky Portfolios 20
or equivalently,
E[r]
✻
✲
σ
The previous concepts can be extended to the case of 1 risk-free asset and N risky
stocks. This is called the Markowitz portfolio model.
E[r]
✻
✲
σ
1.3.5 Exercises
Ex. 1.4 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 7:
4–10. Same problems in 2018 and 2021 editions.
The correlation between the two funds is 0.3. Additionally, it is possible to invest
in a risk-free asset with rf = 0.02.
An investor is willing to tolerate a maximum standard-deviation of 0.15. What is
the expected return on the best portfolio for this investor?
Ex. 1.6 — Two stocks have the following means and variances:
Stock E[r] σ2
a 0.08 (0.2)2
b 0.12 (0.4)2
The correlation between the two stocks is zero. There is no risk-free asset.
Investors have mean-variance preferences given by U (r) = E[r] − A2 Var[r].
Find the optimal portfolio of the two stocks for an investor with A = 3, that is,
indicate the optimal weights wa and wb .
Chapter 2
The value of any asset is the present value, or discounted value, of its future
cash flows. The CAPM gives us a formula for the discount rate. Hence, it is used
everyday by corporations and investors to price investment projects, stocks, mutual
funds, etc. The CAPM was developed almost simultaneously in three papers by
Sharpe in 1964, Lintner in 1965, and Mossin in 1966.
Assumptions:
1. All investors are mean-variance optimizers, i.e., they all use the Markowitz
model.
4. All assets are publicly traded and short positions are allowed.
22
2.1. Assumptions and derivation 23
Derivation:
1. Since all investors estimate the same inputs (means and covariances), the
tangency portfolio is the same for every investor.
2. The efficient frontier (namely, the straight line through rf and T ) is the
same for every investor.
5. Furthermore, for every asset, the weight in T must be the same as in the
whole market:
Market Capj
wjT = P =: wjM , ∀ asset j
n Market Capn
If we all put 2% of our risky money into IBM stock, then IBM will have
2% of all money invested in the stock market, meaning that the market
capitalization of IBM will be worth 2% of the whole market capitalization.
Note that different investors may put different amounts of money at risk, ie,
in the tangency portfolio. But from these amounts, each investor allocates
the same 2% to IBM.
CAPM
The CAPM states that the Market portfolio is mean-variance efficient, that
is,
Market portfolio = Tangency portfolio
2.2. Efficient frontier 24
When we use M instead of T, the efficient frontier is called Capital Market Line:
E[r]
✻
✲
σ
E[rM ] − rf
CM L : E[rp ] = rf + σp
σM
where p is an efficient portfolio.
Recall that any p ∈ CML is a combination of the risk-free and the market
portfolio, thus σp = wM σM .
2. How much money do you expect to have one year from now?
(Answer: $108,500)
2
E[rM ] − rf = ĀσM
where Ā is the risk-aversion of the “representative” investor.
Proof. Under the CAPM, the best complete portfolio for an investor with mean-
variance preferences must be a CML portfolio. More precisely, for an investor with
risk-aversion parameter A, the optimal portfolio is determined as in equation (1.4):
E[rM ] − rf
wM = 2 and wf = 1 − wM
AσM
In the aggregate, the amount of borrowing and lending among investors has to net
out to zero. Hence, the “representative” investor will have wf = 0 ⇒ wM = 1.
E[rM ]−rf
Denoting by Ā the risk aversion of the representative investor, 1 = Āσ 2 .
M
Example 2.2.2. (Concept check 9.2 in BKM) Data from the last 8
decades for the S&P500 index yield the following stats: average excess
return, 7.9%; standard-deviation, 23.2%.
To the extent that these averages approximated investor expectations
for the period, what must have been the average coefficient of risk
aversion?
2.3. Expected returns on individual securities 26
Under the CAPM, the equilibrium expected return for any asset j is given
by
SM L : E[rj ] = rf + βj ( E[rM ] − rf )
where
Cov(rj , rM )
βj :=
Var[rM ]
Different stocks have different betas and thus different expected returns:
E[r]
✻
✲
β
• The SML applies to every single asset or portfolio (not necessarily on the
CML).
• For any asset or portfolio j, the relevant measure of risk is βj , not its vari-
ance.1
year. You also estimate the beta of the stock to be βa = 0.9. What is
the equilibrium price of the stock?
Note: recall that the present value of a stream of dividends growing
D1
at rate g is P0 = r−g , where r is the discount rate. Thus, you just
need to use the CAPM to estimate the required discount for stock a.
Answer: Pa = $45
1. What matters in βj is Cov(rj , rM ) (the market variance is the same for all
stocks)
4. Since all investors hold the market portfolio (in some combination with the
risk-free rate), investors do not like stocks with high betas (why?)
XN
βp := Cov(rp , rM )/ Var(rM ) = Cov( wi ri , rM )/ Var(rM )
i=1
N
X XN
= wi Cov(ri , rM )/ Var(rM ) = wi βi
i=1 i=1
Note that p in the previous example is not efficient: it will surely have too
much σp2 . However, the CAPM does not reward all of σp2 ; it only rewards the part
that is nondiversifiable, which depends on Cov(rp , rM ) or βp .
2.4. Exercises 29
2. Since the SML applies to any portfolio and the betas are the same,
the risk premium on q is the same as p:2
E[rq ] − rf = . . .
2.4 Exercises
Ex. 2.1 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 9:
3–7, 17, 21. Same problem numbers in the 2018 and 2021 editions.
2
Alternatively, to compute the risk premium on q without using the SML, Note that
rq − rf = wM rM + wf rf − rf = wM rM + wf rf − (wM + wf )rf = wM (rM − rf ).
Chapter 3
Based (somewhat) on chapters 10 and 24 of Bodie, Kane, and Marcus (2014), with
additional materials from other sources.
3.1 Theory
1. Factor model. The APT starts by assuming that stock returns are gener-
ated by K factors:
K
X
rj = aj + βjk Fk + εj , j = 1, 2, . . . , N (3.1)
k=1
30
3.1. Theory 31
It can be shown that the second term goes to zero in a large, well-diversified
portfolio (wj = 1/N ):
N →∞
Var[εp ] −−−−→ 0
Hence, εp ≡ 0 in a very large portfolio (in the limit), and
K
X
rp = ap + βpk Fk
k=1
with F̂k := Fk − E[Fk ] and thus E[F̂k ] = 0. Stock returns deviate from their means as
a result of unexpected realizations of risk factors. We can further subtract rf from both
sides to get
XK
rj − rf = E[rj − rf ] + βjk F̂k + εj
k=1
which is the version presented in BKM. Note that this is just a mathematical manipulation
of (3.1); it is still not saying anything about what variables explain E[rj ].
3.1. Theory 32
In summary,
where:
• FRPk , the k-th Factor Risk Premium, is:
Remarks:
• The different alternatives for the FRP is advanced material not covered in
BKM, you will not be tested on this, and we will only apply the traded-
factors version (Fama-French model below).2
If all factors are traded and there are no arbitrage opportunities, we must
have
αp = 0
• The main advantage of the APT is that it can accommodate several sources
of systematic risk.
Natural macroeconomic factor candidates are: interest rates, GDP growth,
inflation, energy prices, etc.
• The main disadvantage is that the theory does not specify which are the
“true” factors.
It has been and empirical quest, with the current number of factors in the
literature at over 300 and counting... A horse that has won many races is
the FF3.
The Market Model states that there is just one factor: the market. The return
generating process is:
rj = aj + βj rM + εj , ∀j (3.5)
E[rj ] = rf + βj ( E[rM ] − rf ) , ∀j
Fama and French (1993) propose the following 3-factor asset pricing model:
where the loadings (βjM , βjs , βjh ) are the slopes in the time-series regression
To form the two new factors, FF divide all firms into six buckets depending on their
size (market equity, ME) and the ratio of book equity to market equity (BE/ME):3
50th ME prct
Small Value Big Value > 70th BE/ME prct
Small Neutral Big Neutral
Small Growth Big Growth < 30th BE/ME prct
“Small” stocks have ME smaller than the median ME. Typically, small stocks
perform better than what the CAPM predicts (this is a so called anomaly).
“Value” stocks have BE/ME higher than the 70th BE/ME percentile; their
book-to-market ratio is High. “Growth” stocks have BE/ME lower than the 30th
BE/ME percentile; their book-to-market ratio is Low. Typically, BE/ME is high
when the ME (denominator) is low. This happens when the firm has had low
returns and is now near financial distress. Nonetheless, most of these firms usually
rebound and thus, if you hold a large portfolio of these firms, you end up making
more money than their CAPM beta would suggest (another CAPM anomaly).
• SMB (Small Minus Big) is the average return on the three small portfolios
minus the average return on the three big portfolios,
SMB = 1/3 (Small Value + Small Neutral + Small Growth)
- 1/3 (Big Value + Big Neutral + Big Growth)
Historically, the SMB portfolio generated an annual return somewhere be-
tween 1.5% and 3%. This is the size premium.
• HML (High Minus Low) is the average return on the two value portfolios
minus the average return on the two growth portfolios,
HML = 1/2 (Small Value + Big Value) - 1/2 (Small Growth + Big Growth)
Historically, the HML portfolio generated an annual return somewhere be-
tween 3.5% and 5%. This is the value premium.
This model has had considerable empirical success in explaining CAPM anoma-
lies (portfolios that don’t plot on the SML) and in capturing the variation in the
cross-section of expected returns. Thus, Fama and French (1996) argue that SMB
and HML mimic combinations of two underlying risk factors of special concern to
investors.
3.4.1 Motivation
1. One important question in finance is: How to assess the performance of a
fund manager?
The most widely used performance measure is Jensen’s alpha. It is the empirical
counterpart to the APT equation (3.4).
3.4. Portfolio performance evaluation 36
(rlong − rshort )t
CAPM
• According to the CAPM, or the 1-factor Market Model APT, we should find
αp = 0.
• Graphically, a positive Jensen’s alpha implies that the portfolio lies above
the SML:
E[r]
✻
✲
β
3.4. Portfolio performance evaluation 37
Remark. Model (3.8) is the standard regression to estimate the CAPM beta.
BKM call this the “single-index model”. The market model equation (3.5) is
sometimes also used in the industry to estimate the CAPM beta, but this is only
equivalent to (3.8) when the interest rate is constant (which is not the case in
reality).
FF3
• If we don’t believe that CAPM is a good model to adjust returns for risk,
we can use the Fama-French model.
Note that the βpM estimator that comes out of this regression is not the CAPM
beta (due to the presence of other regressors).
Chapter 4
Bond Markets
38
4.1. Price quotes 39
The cash flows of a bond are defined by its face value (or par value or principal
amount), coupon rate, and maturity date.
Example 4.1.1. If you hold 10 bonds like the one if Figure 4.1, that
is, a total face value of $10,000, what cash flows will you receive?
The price is unitless — interpret the symbol “%” as meaning “×0.01” to avoid
messing up the units in your calculations. Think of Face Value as a “quantity” of
dollars.
Alternative units:
1. Sometimes prices still appear in $, typically for a $100 or $1000 face value.
Eg, B = $102.1234
1. The Quoted (or clean, or flat) price quoted by a dealer does not include
interest that accrued since the last coupon date.
2. The Invoice (or dirty, or full, or cash) price is the price that the buyer
actually has to pay the seller.2
1
In practice, trading is usually done in round lots of face value, with a minimum of
1 000 000 $ for Treasuries and 100 000 $ for corporate bonds. We ignore these constraints.
2
In the U.S., the quoted prices are typically clean prices; in Europe, traders may show
the dirty price.
4.2. Rates of return 41
• The numerator is the number of days from (and including) the last
coupon payment date, up until (but not including) the trade’s settle-
ment date
• The settlement date typically ranges from t + 3 for corporate bonds to
t + 1 for treasuries
• Day-count conventions (may be different outside the U.S.):
– actual / actual(in period) — for T-Notes and T-Bonds.
– 30/360 — for corporate bonds.
– actual/360 — for T-Bills and money markets.
86
AI = × 0.02 = 0.9451% of FV
182
85
AI = × 0.02 = 0.9444% of FV
180
Returns are usually expressed in annual terms. There are two alternative rep-
resentations of the same underlying Holding Period Return (HPR, as defined in
equation 1.1).
4.2. Rates of return 42
100%
P =
[1 + r(0, T )]T
Example 4.3.1. The price of a 1-month T-Bill, given that the re-
quired EAR is 3.0493%, is
P = . . . = 99.75%
where
Given the price of a fixed-coupon bond, the YTM (y, as an EAR) is the
constant discount rate that solves
m
X c/n 100%
y: P = t
+ (4.2)
[1 + y] i [1 + y]tm
i=1
4.3. Bond Prices and Yields 45
Example 4.3.3. A one-month T-Bill sells for 99.67367% (of par value).
Check that the one-month yield is y = 4% (EAR).
Remarks:
• Traders also talk about a Current Yield = Annual interest / market price.
For the previous example, y CY = 7/95 = 7.37%.
Remark. From the previous example, note that at the ex-coupon date, Y T M =
Coupon rate ⇒ P = 100%. Check that Y T M > Coupon rate ⇒ P < 100% and
Y T M < Coupon rate ⇒ P > 100%
4.3. Bond Prices and Yields 46
Corporate bonds trade at an higher yield than risk-free government bonds because
corporations may default. Default risk is measured by a credit rating.
4.3.5 Exercises
Ex. 4.1 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 14
(p. 480): 6, 9. Same problem numbers in the 2018 and 2021 editions.
The spot rate r(0, T ) is the yield to maturity on a zero-coupon bond with
maturity T .
The spot rates are related to the price of coupon-bearing bonds through (4.1).
4.4. Term structure of interest rates 48
Remarks:
• The term “yield curve” is sometimes also used to denote the set of YTM on
coupon bonds (which are not the same as zero-coupon yields).
• In addition to the spot rate curve defined above, we can also have forward
rate curves (using the fwd rates defined below)
2. Invest in a 1-year zero coupon bond. After 1 year reinvest the proceeds in
another 1-year bond.
If all investors know for sure the path of future interest rates (i.e, there is no risk),
then:
1. The forward rate computed today is the value that the spot rate will take
on in the future.
2. All bonds provide the same return over any given holding period.
Example 4.4.4. Consider the following bonds (all have annual coupons):
Bond A B C
Maturity (yrs) 1 2 3
Coupon rate – 4% 6%
Price (%) 90.909 88.045 85.773
In reality we don’t know the future value of interest rates. What do forward rates
tell us about future spot rates?
Expectations Hypothesis
The forward rate equals the market consensus expectation of the future spot
interest rate. That is,
However, this simple theory does not fit the data well. Most investors are
risk averse and will only hold long-term bonds if they receive a risk premium (as
discussed in the Duration section below, long-term bonds have higher duration
and are thus riskier than short-term bonds).
Implications:
2. However, the converse is not necessarily true. Even if the yield, spot, and
forward curves are all rising, the market may be expecting constant or even
decreasing future interest rates (why? risk premium).
The slope of the yield curve is typically a good leading indicator of the business
cycle:
• The normal state is an upward sloping curve, which usually means “good
times” ahead
• A flat or downward sloping curve usually forecasts “bad times” ahead, that
is, an economic downturn or recession.
When short-term yields are higher than long-term yields, it suggests that
investors expect interest rates to decline in the future, usually in conjunction
with a slowing economy and lower inflation.
4.5. Yield curve fitting 51
4.4.4 Exercises
Ex. 4.2 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 15
(p. 507): 11, 12. Same problem numbers in 2018 and 2021 editions.
Discount factor
Notation:
4.5. Yield curve fitting 52
• Z(.) stands for Zero because the discount factor equals the price of the cor-
responding ZCB. Hence, we will also denote the discount factor by P (t, T ).
The bond pricing formulas in section 4.3 assume nicely spaced coupons and that we
have r1 (.) rates. If that is not the case, we can use the following general formulas.
Let P (t, T ) denote the market price of a ZCB. This same price can be
represented in three alternative ways:
• Discount factor:
P (t, T ) = 1 × Z(t, T )
Example 4.5.3. A 1-month T-bill yields r12 (0, 1/12) = 3.0075%. As-
sume that in the future you will be able to reinvest at the same T-bill
rate that is available now. How much money do you need to invest
today to have $ 100 000 in 3 months?
V (0) = . . . = 99 251.87
4.5.3 Motivation
• Spot interest rates are not directly observable in the market (except for
money market rates up to 1 year).
• Hence, we need to back out the interest rates that are implied by the observed
market prices.
• We will focus on Treasury Bonds since these are the most liquid. Once we
have the risk-free term structure, we can add a credit spread to get the term
structure for a different credit risk level.
Notation:
• To simplify the notation, we will denote the spot rate r(0, T ) by r(T ) and
the spot discount factor Z(0, T ) by Z(T ).
• Recall that the price of a bond that pays a fixed coupon at rate c with
frequency of n periods per year, at dates T1 , . . . , Tm , is
m m
cX c X −r(Ti )Ti
B= Z(Ti ) + Z(Tm ) = e + e−r(Tm )Tm
n n
i=1 i=1
4.5.4 Bootstrap
Method
Start from short-maturity ZCB and work your way up to long-term coupon bonds.
4.5. Yield curve fitting 54
P = 1 × Z(T1 )
2. Then, from a second bond with cash flows in T1 and T2 , we get Z(T2 ):
3. And so on...
Linear interpolation
Given Z(T1 ) and Z(T2 ), the discount factor Z(s), for T1 < s < T2 , can be
obtained through linear interpolation:
Application
Example 4.5.5. Consider the following bond market data (all coupons
are paid annually):
. . . Z(2) = 0.9202
Method
• The model of Nelson and Siegel (1987, Journal of Business) proposes the
following convenient parametric function for the continuously compounded
spot interest rate:
I
X
minimize (Bimkt − Bins )2
β1 ,β2 ,β3 ,λ
i=1
where:
• Bimkt is the observed market price of bond i;
c Pm
• Bins is the model value of bond i, ie, Bins = n j=1 e
−r(Tj )Tj +
e−r(Tm )Tm , using the NS rate defined above;
lim r(T ) = β1 + β2
T →0
3
It seems that there is some online video recommending that you minimize the difference
between NS rates and YTM on coupon bonds. That is wrong because the NS r(T ) rate
is a zero-coupon rate, and thus should be different from the YTM on a coupon bond with
maturity at T .
4.5. Yield curve fitting 58
Application
Example 4.5.6. For the same bonds in the previous example, we get
β1 = 0.0396, β2 = −0.0112, β3 = 0.0624, λ = 4.1219.
Method
• It is used by the European Central Bank. Check out the euro area yield
curve at
http://www.ecb.europa.eu/stats/money/yc/html/index.en.html
Aplication
Example 4.5.7. For the same bonds in the previous example, we get:
Svensson Nelson-Siegel
β1 0.0612 0.0396
β2 -0.0366 -0.0112
β3 0.1002 0.0624
λ1 10.8919 4.1219
β4 0.0200
λ2 0.7457
The resulting rates (cts. comp.) are in the following table and figure.
4.5.7 Conclusion
1. Bootstrap method
• Robust and easy to understand.
• Cumbersome to implement in real-life cases.
2. Nelson-Siegel model
• Easy to implement in real-life cases.
• Numerical optimization is sensitive to initial guesses for the parame-
ters.
3. Svensson model
• More flexible function than NS.
• Even more parameters to fine-tune than NS.
How to measure the sensitivity of the bond price to changes in interest rates, i.e.,
the risk of a bond?
4.6. Bond management 63
where
• y is the YTM (EAR)
• Cti is the total cash flow at date ti : Cti = c/n for i < m, and
Cti = c/n + 1 for i = m, where n is the coupon payment frequency.
For a small change in YTM (∆y), the bond price change is well approxi-
mated by
∆P ∼ 1
= −D ∆y (4.4)
P 1+y
Remarks:
• From (4.3), we can also think of duration as a weighted average of time, i.e.,
m
X
D= ti × wti
t=i
C ti
where the weights are wti = (1+y) ti /P . Thus, the units of duration are
“years”. In this sense duration measures how fast a bond generates cash
flows. For the same maturity, a bond with higher coupons will have lower
duration. This second interpretation of duration is easier to understand, but
it is nearly worthless for practical applications.
This rule implies that we readjust the bond portfolio, before interest rates
change, according to the following formula:
where
• N is the number of bonds in the portfolio
Caveat:
1. Strictly speaking, this procedure is only correct under the following assump-
tions:
(a) the term structure is flat (all bonds have the same YTM);
(b) the change in yield is small and instantaneous.
2. Nevertheless, (4.4) is still a good guide for bond management in most real-life
cases.
When the term structure of interest rates is not flat, a more precise measure of
duration uses the appropriate spot rates.
4.6. Bond management 66
where
• ti are the coupon payment dates (in years)
• Cti is the total cash flow at date ti : Cti = c/n for i < m, and
Cti = c/n + 1 for i = m, where n is the coupon payment frequency.
Note:
1
1. With annual compounding (r1 or EAR), Zti = [1+r1 (0,t1 )]ti
Some financial institutions sell contracts that commit them to a stream of fixed
payments in the future. For example, many insurance companies sell “Guaranteed
Investment Contracts” (GICs). GICs are essentially zero-coupon bonds. They
guarantee a given return over some period and therefore are popular products for
individual’s retirement-savings accounts. The insurance company can fund those
future commitments by investing in bonds today.
1. If there are ZCB for all maturities, the company can do a simple cash flow
matching strategy. This would be the perfect hedging strategy. However, it
is unlikely that there are ZCB available for all the required maturities.
2. Following naive strategies will leave the firm exposed to interest rate risk.
For example:
• Investing in long-term bonds leaves the firm exposed to price risk: loose
money if interest rates go up.
• Investing in short-term revolving deposits or bills leaves the firm ex-
posed to reinvestment risk: loose money if interest rates go down.
Note that the immunization strategy will work under the following assump-
tions:
2. This term structure shift happens immediately after setting up the portfolio.
3. Afterwards, the forward rates will become the future spot rates.
For the CBB, reinvest the initial coupon and liquidate everything at
t = 2 for a total of:
VCBB (2) = . . .
Hence, the terminal value of the assets exceeds the liability:
VA (2) = . . . = 1 000 008 > VL (2) = 1 000 000
This means that the immunization strategy worked well!
Intuitively, why does immunization work? There are two opposite effects for a
given change in rates:
1. If interest rates increase, we have a capital loss today, but the investment
grows at a faster rate in the future.
2. If interest rates decrease, we have a capital gain today, but the investment
grows at a lower rate in the future.
The duration is the date by which these two effects cancel out and the value of
the assets matches the liability for any interest rate scenario.
VA (t)
✻
✲
t
D
Alternatively, we can illustrate the same effect by plotting the terminal value
of the assets for different values of the interest rate:
VA (D)
✻
✲
r⋆
r
4.6. Bond management 70
4.6.5 Exercises
Ex. 4.3 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 16
(p. 547): 3, 4. Same problem numbers in 2018 and 2021 editions.
Chapter 5
5.1 Motivation
• Do security prices reflect the available information?
EMH statement:
1. The Efficient Market Hypothesis (EMH) is that stock prices reflect all the
available information.
71
5.3. Implications of the EMH 72
1. Weak-form. Prices already reflect all information in past trading data (stock
prices and volumes)
• How to correctly adjust returns for risk? Some apparent “anomalies” may
represent poorly understood risk premia.
Case in point: rise and fall of LTCM in late 1990s.
• In this Chicago Booth Review video, Eugene Fama (the author of the EMH)
debates whether markets are efficient with Richard Thaler (a behavioral
economist that contests market efficiency).2
2
Thanks to Leander Opperman, MBA 2020, for pointing these videos.
5.5. Exercises 74
Conclusion:
Caveat. Two economists are walking down the street. They spot a $20 bill on
the sidewalk. One starts to pick it up, but the other one says, “Don’t bother; if
that bill was real someone would have picked it up already”.
5.5 Exercises
Ex. 5.1 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 11
(p. 381): 1, 2, 5, 9, 12. Same problem numbers in 2018 and 2021 editions.
Ex. 5.2 — Bodie, Kane, and Marcus (2014) CFA problems at the end of chapter
11 (p. 384): 1, 2, 3, 4. Same problem numbers in 2018 edition. If you have the
2021 edition, do problems 1 and 2.
Chapter 6
Futures markets
6.1 Definition
75
6.1. Definition 76
Payments:
2. At the settlement date T , there are two alternatives according to what the
contract specifies:
• Physical settlement. The short delivers the physical asset and the long
pays the price initially agreed upon, F (0, T ).
• Cash settlement. The payoff to the long forward counterparty is
where S(T ) is the spot price of the underlying asset at the settlement
date T . The payoff to the short is the symmetric of (6.1).
In either case, the effective price paid for the asset at time T is F (0, T ),
rather than S(T ).
Draw the Forward contract profit profile at maturity for each position:
Profit
✻
p ✲
S(T )
F (0, T )
6.1. Definition 77
Futures curve. At each moment, we can trade several futures on the same
commodity with different delivery dates.
• Settlement type. Some contracts are only cash settled (eg, stock index fu-
tures), whereas others permit physical delivery (eg, crude oil). However,
in practice most contracts are closed out, or reversed, before maturity, so
that actual physical delivery only happens in a small fraction of contracts
(1%–3%).
• Convergence. The futures price and the spot price must converge at matu-
rity; otherwise, there is an arbitrage opportunity. In other words, the basis
must go to zero:1
t→T
[F (t, T ) − S(t)] −−−→ 0
Futures and forward contracts are very similar. However, there are some important
differences:
1
The basis can be defined as either F − S or S − F .
6.1. Definition 79
2. Futures are standardized. We can only trade the contracts for the underlying
securities, maturities, and quantities that the exchange specifies. This makes
futures more liquid than forward contracts, but less adaptable to specific
needs of traders.
The last line uses the fact that the futures price must converge to the un-
derlying security price at the futures maturity date: F (T, T ) = S(T ).
Hence, the total payoff is similar to a forward contract (equation 6.1), despite
the timing of the cash flows being different.
4. Margins. Futures traders need to post an “initial margin” with the exchange
(5%–15% of the total value of the contract) and must replenish the account
whenever the daily losses drive the balance below a given “maintenance
margin”.
Margins and daily mark-to-market virtually eliminate the counterparty credit
risk in futures contracts.
6.2. Trading strategies 80
Example 6.2.1. (Example 22.3 in BKM) Crude oil futures are trad-
ing at 91.86 $/bbl. Each contract is on 1 000 barrels. You believe that
oil prices are going to increase.
1. Trading strategy (today): (long/short) futures
2. Result (some days latter): suppose that the futures price in-
creases by $2 and you decide to close the position.
Profit = . . . = 2 000 $/contract
Trading in futures allows for much higher leverage than trading in the under-
lying spot asset.
6.2.2 Hedging
The most basic hedging strategy consists of trading a futures today to guarantee
the price at which we will trade the underlying asset in the future.
Examples:
2. In 6 months, the firm will obtain the T.Bill for the contracted
price. The forward rate implied in the forward T.Bill price is
thus:
r4 (0, 0.5, 0.75) : . . .
This means that the firm is guaranteed to get 3.9996% on its
investment.
3. The notional amount defined in the contract is such that:
Investment = N F (0, Tf ) ⇒ N = . . .
• Typical spreads:
– Different but related commodities
– Different delivery months of the same commodity
• Advantages:
– Only relative price changes matter, i.e., do not have to guess direction
of the market
6.2. Trading strategies 84
– Margin requirements are lower because spreads are less volatile than
absolute levels. Hence, can get more leverage.
You believe that the winter in the U.S. East coast will not be as cold as
the market expects, and thus that January heating oil will get closer
to gasoline.
1. What is your trading strategy?
2. Suppose you close the position in December, when the January
futures are trading at: gasoline, 2.7 $/gal; heating oil, 2.8 $/gal.
Compute your profit if you had traded 10 contracts long and 10
short. (Answer: $ 79 800).
Example 6.2.8. Suppose it’s March/2013. You expect the Brent fu-
tures curve in Figure 6.2 to flatten. What is your trading strategy?
Suppose when you close the position the curve is flat at 95 $/bbl.
Compute your profit.
Remarks:
• Spread trading is heavily used for hedging in the Energy industry. Typical
spreads include:
– Crack spread — to hedge the profit of an oil refinery
– Spark spread — to hedge the profit of a gas-fired power plant
– Dark spread — to hedge the profit of a coal-fired power plant
6.3. Single-stock futures 85
Example 6.2.9. (Example 22.6 from BKM). Suppose that gold to-
day sells for 991 $/ounce, and the futures price for delivery in 6 months
is 996 $/ounce. Therefore, the basis is currently 5 $/ounce.
1. To bet that the basis will narrow, what is your trading strategy?
2. Suppose that a few days from now, the spot price increases to 995
$/ounce, while the futures price increases to 999 $/ounce. Check
that your net gain equals the change in the basis, 1 $/ounce
Single-stock futures (SSF) are not heavily traded, but they are a good starting
point to understand index futures pricing.
Suppose a stock that does not pay dividends is trading at $50. Investors can
borrow or lend at a risk-free rate of r1 = 2%.
Arbitrage strategies:
Alternative strategy for F low: even if it is not possible to short the stock,
investors that are long the stock will sell it now, invest the proceeds, and
buy the futures. One year from now, they will recover the stock from the
futures and collect the risk-free investment. They become long stock again
and also receive an additional arbitrage profit. Many investors will do this
until F (0, 1) = S(0)(1 + r1 ) is restored.
Units:
• Stock indices (eg, S&P 500) are usually quoted as unitless numbers (“index
points”)
• Futures on those stock indices are quoted in the same “index points”
• One Futures contract calls for delivery of some dollar multiple of the index
number: $k × index. For example, the most important futures on the S&P
500 has a multiplier of $250, ie, the contract size is $250.
F0 = S0 (1 + r1 )T − DT (6.2)
where
• F0 or F (0, T ) is the current futures price for delivery at time T
• If you hold a mutual fund that tracks the index, or if you buy the stocks
directly, you obviously receive dividends
Hence, if we invest in the stock portfolio and sell the index forward to guarantee
the capital appreciation, the gross return of
F0 + DT
S0
should be risk free. Equation (6.2) immediately follows.
Example 6.4.1. (This is from section 22.4 of Bodie, Kane, and Marcus
(2014)). We want to price a 1-year futures contract on the S&P 500.
1. Suppose the S&P 500 is currently at 1 000 (this is a unitless
index).
2. Suppose the futures contract calls for delivery of $1 times the
value of the SP500 index.2 Hence, S0 = $1 000.
3. Suppose that if we invest $1000 in a mutual fund that tracks the
SP500, we will receive $20 of dividends over the course of the
year. Assume that all dividends are paid at the end of the year.
4. Assume the risk-free rate is r1 (0, 1) = 3%.
5. Then,
F0 = . . . = $1 010 = 1 010 × $1
which would be quoted as 1 010 index points.
Proof of proposition 6.4.1. If equality does not hold, there is an opportunity for
index arbitrage.
Cash Flow at
Trade t=0 t=T
Borrow S0 risk-free +S0 −S0 (1 + r1 )T
Buy S0 of stocks in index −S0 ST + DT
Short Futures 0 F0 − ST
Total 0 F0 − S0 (1 + r1 )T + DT
2
The two most common contracts traded on CME are actually for $250 or $50 times
the SP500 index, but this scaling does not matter for pricing.
6.4. Futures prices of stock indices 88
Cash Flow at
Trade t=0 t=T
Invest S0 risk-free
Short S0 of stocks in index
Long Futures
Total
Stock-index futures allow for market-timing strategies with much lower transac-
tions costs than trading in the individual stocks of the index.
Assumptions:
• The horizon of the strategy is the same as the maturity of the futures.
estimated by d? = D1 /S0 . However, I don’t see how to estimate a d? that works for any
T 6= 1, other than by first getting d∞ from d∞ = T1 ln S0S−D 0
0
, and then forcing d? to
(r∞ −d∞ )
be the value that solves 1 + r1 − d? = e . When T 6= 1, BKM seem to estimate
effective rates for a short horizon of 1/n years, r(n) and d(n) . For example, if n = 12, d(12)
is the monthly (not annual) dividend yield from dividends received over the next month.
The futures price is then F (t, T ) = St (1 + r(n) − d(n) )n(T −t) .
6.5. Investment strategies with stock-index futures 90
Cash Flow at
Trade t=0 t=T
Invest S0 N in T-bills −S0 N +S0 N (1 + r1 )T = F0 N
Long N Futures 0 (ST − F0 )N
Total −S0 N +ST N
where
• N is the number of futures contracts
Remark: Note that the rate of return is same as on a real stock portfolio
(ignoring dividends):
Remarks:
• Recall that beta can be estimated from the time series regression
Ouputs
Futures payoff
Short position 3 928 313 935 313 0.00 - 561 188 - 3 554 188
Cash Portfolio
rp -7.625% -1.625% 0.250% 1.375% 7.375%
Vp 46 187 500 49 187 500 50 125 000 50 687 500 53 687 500
Combined Portfolio
Total value 50 115 813 50 122 813 50 125 000 50 126 313 50 133 313
rc 0.232% 0.246% 0.250% 0.253% 0.267%
6.6 Exercises
Ex. 6.1 — Crude oil futures are trading at 50 $/bbl. Each contract is on 1 000
barrels. The initial margin is 10%. You believe that oil prices are going to decrease
and want to get exposure to 20,000 barrels.
1. Your trading strategy is to [buy/sell] [number] fu-
tures contracts
2. Some days latter you close the position when the futures is trading at 47
$/bbl. Compute the rate of return on your initial margin.
for the next couple of months. The beta of the portfolio is estimated at 1.1. The
S&P500 Dec/2017 futures is quoted at 2526 (the contract multiplier is $250). How
many futures contracts should the investor trade? Indicate whether the investor
should Buy or Sell.
Ex. 6.3 — Bodie, Kane, and Marcus (2014) problems at the end of chapter 22
(p. 794): 8, 10, 14. The problems in the 2021 edition are the same, except some
prices and rates are different.
Chapter 7
Swaps
94
7.2. Hedging with an IRS 95
IRS are useful to transform existing liabilities (or assets) from fixed rate to floating
rate, or vice-versa.
Solutions to Problems
Answer (Ex. 1.3) — E[rx ] = 0.14. V ar[rx ] = 0.6 ∗ (0.3 − 0.14)2 + 0.4 ∗ (−0.1 −
0.14)2 = 0.0384 ⇒ σx = 0.1960. Hence,
SRp = SRx = (0.14 − 0.02)/0.196 = 0.6124
Note that all portfolios along the CAL(x) have the same SR.
Answer (Ex. 1.5) — The Tangency portfolio is given by (1 means bond fund,
2 means stock fund):
r1e σ22 − r2e σ12
w1 = = 0.4783
r1e σ22 + r2e σ12 − (r1e + r2e )σ12
and w2 = 0.5217. T hence has
E[rT ] = w1 ∗ 0.04 + w2 ∗ 0.08 = 0.0609
and
σT = ((w12 ∗ 0.12 + w22 ∗ 0.22 + 2 ∗ w1 ∗ w2 ∗ 0.1 ∗ 0.2 ∗ 0.3))0.5 = 0.1272
The optimal portfolio for the investor is
0.15 = wT ∗ 0.1272 ⇒ wT = 1.1796
and wf = −0.1796
The complete best portfolio has
E[rp ] = wT ∗ E[rT ] + wf ∗ 0.02 = 0.0682
97
98
Answer (Ex. 1.6) — Since ρ = 0, the variance is just σp2 = wa2 σa2 + wb2 σb2 . Let
wb = 1 − wa .
The investor picks the portfolio that maximizes his utility function:
A 2 2
maximize [wa E[ra ] + (1 − wa )E[rb ]] − [w σ + (1 − wa )2 σb2 ]
wa 2 a a
The first-order condition is:
A
E[ra ] − E[rb ] − 2wa σa2 − 2(1 − wa )σb2 = 0
2
E[ra ] − E[rb ]
⇒wa = 2
+ σb /(σa2 + σb2 )
A
Answer (Ex. 6.2) — Sell N = βV0 /F0 = 1.1 × (10 M $)/(2526 × 250$) = 17.4 ≈
17 contracts.
Bibliography
Fama, E. F., and K. R. French, 1993, “Common Risk Factors in the Returns
on Stocks and Bonds,” Journal of Financial Economics, 33, 3–56.
Hull, J. C., 2012, Options, Futures, and other Derivatives. Pearson Educa-
tion.
Ross, S. A., 1976, “The Arbitrage Theory of Capital Asset Pricing,” Journal
of Economic Theory, 13, 341–360.
99