Docsity

Assignment 1 Solutions for Data Science | CSCI 6961, Assignments of Computer Science

Toggle sidebar
bg1
CSCI 6961 RPI
Introduction to Computational Finance Fall 2008
ASSIGNMENT 1 Solutions
1 (50 (25) points) Bonds and Arbitrage
(a) [20 (10)]If P < Pn
i=1 XiB(0, ti) + F·B(0, T ), then buy this bond and sell X1zero
coupons each expiring at t1,...,Xnzero coupons each expiring at tnand Fzero coupons
expiring at T. Your net cash outflow in the future is by construction $0. The money
generated by the sale of the zero coupons is exactly the expression and by assumption
it is bigger than P, therefore you can you make free money today. Using a similar
argument if P > X Pn
i=1 B(0, ti) + F·B(0, T ), i.e., buying the zero coupon bonds and
selling this bond leaves equality as the only option.
In terms of the interest rate, r,P=Pn
i=1 Xie−rti+F e−rT
(b) [20 (10)]
0 5 10 15 20 25
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Time T in Years
B(0,T)
Zero Coupon Price Dependence on T
0 1 2 3 4 5 6 7 8 9 10
0.028
0.03
0.032
0.034
0.036
0.038
0.04
0.042
0.044
Time T in Years
Implied Interest Rate (Yield)
Yield to time T implied by B(0,T)
Zero Coupon Prices Implied Interest Rate
(i) As expected, B(0, T ) is a decreasing function of Tas $1 later in time is worth less
today.
(ii) rappears to not be a constant.
It is increasing, which indicates that the market is indicating that the interest rate
is likely to be increasing in the near future.
(c) [10 (5)]
I will pay you $1 on 02/15/2004 in return for $2 on 08/15/2007
1
pf2

Partial preview of the text

Download Assignment 1 Solutions for Data Science | CSCI 6961 and more Assignments Computer Science in PDF only on Docsity!

CSCI 6961 RPI

Introduction to Computational Finance Fall 2008

ASSIGNMENT 1 Solutions

1 (50 (25) points) Bonds and Arbitrage

(a) [ 20 (10)] If P <

∑n

i=

XiB(0, ti) + F · B(0, T ), then buy this bond and sell X 1 zero

coupons each expiring at t 1 ,... , Xn zero coupons each expiring at tn and F zero coupons

expiring at T. Your net cash outflow in the future is by construction $0. The money

generated by the sale of the zero coupons is exactly the expression and by assumption

it is bigger than P , therefore you can you make free money today. Using a similar

argument if P > X

n i=

B(0, ti) + F · B(0, T ), i.e., buying the zero coupon bonds and

selling this bond leaves equality as the only option.

In terms of the interest rate, r, P =

∑n

i=

Xie

−rti

  • F e

−rT

(b) [ 20 (10)]

0.3 0 5 10 15 20 25

1

Time T in Years

B(0,T)

Zero Coupon Price Dependence on T

0.028 0 1 2 3 4 5 6 7 8 9 10

Time T in Years

Implied Interest Rate (Yield)

Yield to time T implied by B(0,T)

Zero Coupon Prices Implied Interest Rate

(i) As expected, B(0, T ) is a decreasing function of T as $1 later in time is worth less

today.

(ii) r appears to not be a constant.

It is increasing, which indicates that the market is indicating that the interest rate

is likely to be increasing in the near future.

(c) [ 10 (5)]

I will pay you $1 on 02 / 15 / 2004 in return for $2 on 08 / 15 / 2007

This is equivalent to a coupon paying bond where X 1 = −1, t 1 = 02/ 15 /2004 and

X 2 = 2, t 2 = 08/ 15 /2007, and there is no principle payment. Using the formula from

part (a) and the zero coupon data, we have −B(0, 02 / 15 /2006)+2×B(0, 08 / 15 /2009) =

− 0 .98637 + 2 × 0 .86317 = 0.73997, or roughly 74 cents.

2 (0 (25) points) Bond Portfolio Immunizartion

Exercise 2.10 in the notes.

We will use the result in Exercise 2.9 which shows how to construct the immunized

portfolio.

(a) Can immunize up to 9th order.

(b) We find using matlab and using the prescription in Exercise 2.9,

α =

(c)

−0.02 −0.01 0 0.01 0.

2

3

x 10

−

∆ r

ε

Settlement Constraint Violation