financial instrument modeling it for financial services (is356) the content of these slides is...

48
FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh and Iyengar from the Center for Financial Engineering at the Columbia Business School, NYC. I attended the course in Spring 2013 and again in Fall 2013 and Spring 2014 when the course was offered in 2 parts.

Upload: brice-lucas

Post on 28-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

FINANCIAL INSTRUMENT MODELING

IT FOR FINANCIAL SERVICES (IS356)

The content of these slides is heavily based on a Coursera course taught by Profs. Haugh and Iyengar from the Center for Financial Engineering at the Columbia Business School, NYC. I attended the course in Spring 2013 and again in Fall 2013 and Spring 2014 when the course was offered in 2 parts.

Page 2: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

2

Page 3: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Options… The Basics

3

Page 4: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Payoff and Intrinsic Value of a Call

4

Page 5: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Payoff and Intrinsic Value of a Put

5

Page 6: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Put-Call Parity

6

Page 7: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

European Options(Using Simple Binomial Modeling)

7

Page 8: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Profit Timing and Determination

8

Page 9: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Stock Price Dynamics – binomial lattice

9

Stock price goes up/down by the same amount each time period. In this example: 1.07 and 1/1.07

Page 10: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Options Pricing – call option formula

10

The value of the option at expiration is Max(ST - K,0). You will only exercise a European option if it is in-the-money at expiration, in which case the price of the stock (ST) at expiration is greater than the strike price K. We will move backwards in the lattice to compute the value of the option at time 0.

Page 11: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

European Call Option Pricing Example

11

15.48 = 1/R( 22.5q + 7(1-q))R=1.01Q=(R-d)/(u-d)d=1/1.07u=1.07

A European put option uses the same formula. The only difference is in the last column: max(0, K-ST). You only exercise a put option if the strike price > current price. You can buy shares at the current price and sell them at the higher strike K.

Page 12: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

European Options: Excel Modeling

12

Page 13: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Does Put Call Parity Hold?

13

Page 14: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

American Options(Using Simple Binomial Modeling)

14

Page 15: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing American Options

15

Page 16: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Reverse through the Lattice

16

Page 17: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

American Put vs. Call – early or not?

17

Page 18: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Black-Scholes Model

18

Geometric Brownian MotionModels random fluctuations in stock prices

Page 19: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Black-Scholes Model… continued

19

Page 20: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Black-Scholes Model in Excel

20

Page 21: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Implied Volatility

21

Page 22: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Futures and Forwards

22

Page 23: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Forwards Contracts

23

Page 24: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Futures and Forwards…

24

Problems with Forwards

Futures Contracts

Page 25: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Mechanics of a Futures Contract

25

Page 26: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Excel Example with Daily Settlement

26

Page 27: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Hedging using Futures

27

A Perfect Hedge Isn’t Always Possible…

Page 28: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Term Structure of Interest Rates

28

Page 29: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Yield Curves (US Treasuries)

29Source: http://www.treasury.gov/resource-center/data-chart-center/interest-rates/pages/TextView.aspx?data=yieldYear&year=2013

Rates are climbing – highest in Dec 2013

Page 30: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Sample Short Rate Lattice

30

9.375% = 7.5% x 1.25

Page 31: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing a Zero-coupon Bond (ZCB)

31

9.375% comes from the last slide

Assumes a 50:50 chance of rates increasing/decreasing

Page 32: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Excel Modeling

32

Again, we work backwards through the lattice.

89.51 = 1/1.1172 * ( 100 x 0.5 + 100 x 0.5)

Page 33: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing European Call Option on ZCB

33

Max(0, 83.08-84)Max(0, 87.35-84)

Max(0, 90.64-84)

Page 34: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing American Put Option on ZCB

34

Page 35: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing Forwards on Bonds

35

Page 36: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Pricing Forwards on Bonds - excel

36

Start at the end and work back to t=4

Then work from t=4 backwards

Page 37: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Mortgage Backed Securities (MBS)Collateralized Debt Obligations

(CDO)

37

Page 38: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Mortgage Backed Securities Markets

38

Page 39: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

The Logic of Tranches (MBS)

39

Page 40: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

The Logic of Tranches (CDO)

40

Page 41: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

A Simple Example: A 1-period CDO

41

Page 42: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Excel model of CDO

42

Credit # Default Prob1 0.22 0.23 0.064 0.35 0.46 0.657 0.38 0.239 0.0210 0.1211 0.13412 0.2113 0.0814 0.115 0.116 0.0217 0.318 0.01519 0.220 0.03

1-probability of default = probability of survival

Expected number of losses in the CDO = sum of all probabilities of individual defaults 3.668

Probability of losses P(0) 0.010989 0 0.000P(1) 0.064562 1 0.065P(2-20) 0.924448 2 1.849

Tranche (0-2) 1.913

calculations are not shown for Tranche (2-4) 1.283these other tranches in this file Tranche (4-20) 0.472

3.668

Page 43: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

CDON

43

Page 44: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Portfolio Optimization

44

Page 45: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Return on Assets and Portfolios

45

Page 46: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Two-asset Example

46

Page 47: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Optimization Example (solver)

47

Mean returnREITs US Large Growth US Small Growth2.40 4.10 5.20

Covariance matrixREITs US Large Growth US Small Growth

REITs 0.0010 -0.0006 0.0001US Large Growth -0.0006 0.0599 0.0635US Small Growth 0.0001 0.0635 0.1025

REITs US Large Growth US Small GrowthVolatility 3.17 24.46 32.01

Porfolio x1 x2 x3 x00.05 0.00 0.00 0.95 1.00 = 1.00

Interest rate (%) 1.5

risk aversion (tau) 1

Net rate of return (%) 1.55

Volatility (%) 0.16

Risk-adjusted return 1.52

= maximum risk adjusted return, no shorts permitted, x0 permitted= maximum risk adjusted return, no shorts permitted, x0 prohibited= maximum risk adjusted return, no shorts permitted, x0 permitted, no more than 50% of portfolio in any one bucket

Page 48: FINANCIAL INSTRUMENT MODELING IT FOR FINANCIAL SERVICES (IS356) The content of these slides is heavily based on a Coursera course taught by Profs. Haugh

Optimization with trading costs

48

Trading cost parametersalpha 1 0.0035 Average trade volume / Total daily volume (proportion of daily volume in each trade)alpha 2 0.3 volatility termalpha 3 0.0015 basic commission estimate - constantbeta 0.65 power to which alpha 1 is raised: higher power means a disproportionate impact of a single tradeeta 0.1 random error term

Initial position 10 10 10 10 10 10 10 10 10 10 100Final position 11.213 0.000 14.364 28.714 6.465 17.509 18.647 0.000 3.088 0.000 100.000Trading cost 0.0421 14.1066 15.9215 39.4942 0.4136 1.0781 3.9883 0.8577 0.2038 2.1567

Mean return 649.5468Variance 3.8588Total trading cost 78.2626

Objective 603.1325