Homework 2 計財 15 100071007 張儷瀞. 1. Black-Scholes Model (Code) S0=30:1:70; X=50; r=0.08; sigma=0.4; for T=2:-0.25:0 [c, p]=blsprice(S0, X, r, T, sigma)

Slides:



Advertisements
Similar presentations
Stress Matrix Visualization Wednesday, 9/4/2002. Stress Vector.
Advertisements

Complex Numbers S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Complex Math.
Lecture (4) Plotting & Programming (1) Eng. Osama Talaat 1.
2D Plots 1 ENGR 1181 MATLAB 12.
Matlab Graphics S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: 2D Graphics.
Lab5 (Signal & System) Instructor: Anan Osothsilp Date: 20 Feb 07 Due Date 09 March 07.
Introduction Greeks help us to measure the risk associated with derivative positions. Greeks also come in handy when we do local valuation of instruments.
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
Chapter 19 Volatility Smiles
Volatility Smiles Chapter 18 Options, Futures, and Other Derivatives, 7th Edition, Copyright © John C. Hull
© 2002 South-Western Publishing 1 Chapter 6 The Black-Scholes Option Pricing Model.
FIN 685: Risk Management Topic 3: Non-Linear Hedging Larry Schrenk, Instructor.
How Traders Manage Their Exposures
Fundamentals of Futures and Options Markets, 8th Ed, Ch 17, Copyright © John C. Hull 2013 The Greek Letters Chapter 13 1.
Chapter 18 The Greek Letters
Black-Scholes Pricing cont’d & Beginning Greeks. Black-Scholes cont’d  Through example of JDS Uniphase  Pricing  Historical Volatility  Implied Volatility.
EGR106 Week 6 MATLAB FILES Two Dimensional Plots Multiple Plots
Sigma Theta Psi Multicultural Sorority Established 1991 Multicultural Sorority Established 1991.
EGR106 Week 5 MATLAB FILES Two Dimensional Plots Multiple Plots Plot Formatting Homework.
EGR106 Week 4 Two Dimensional Plots Multiple Plots Plot Formatting Homework.
P247. Figure 9-1 p248 Figure 9-2 p251 p251 Figure 9-3 p253.
Pricing Cont’d & Beginning Greeks. Assumptions of the Black- Scholes Model  European exercise style  Markets are efficient  No transaction costs 
6.1 The Greek Letters Lecture Example A bank has sold for $300,000 a European call option on 100,000 shares of a nondividend paying stock S 0 =
Seminar: Timely Topics for Today’s Business World Mr. Bernstein Options January 15, 2015.
Option Pricing Models I. Binomial Model II. Black-Scholes Model (Non-dividend paying European Option) A. Black-Scholes Model is the Limit of the Binomial.
Chapter 15 Option Valuation
17:49:46 1 The Greek Letters Chapter :49:46 2 Example A bank has sold for $300,000 a European call option on 100,000 shares of a nondividend paying.
Computational Finance Lecture 7 The “Greeks”. Agenda Sensitivity Analysis Delta and Delta hedging Other Greeks.
1 Chapter 12 The Black-Scholes Formula. 2 Black-Scholes Formula Call Options: Put Options: where and.
The Black-Scholes Model for Option Pricing - 2 -Mahantesh Halappanavar -Meeting-3,
1 Greek Letters for Options MGT 821/ECON 873 Greek Letters for Options.
The Greek Letters Chapter 17
Option Valuation. At expiration, an option is worth its intrinsic value. Before expiration, put-call parity allows us to price options. But,  To calculate.
Fundamentals of Futures and Options Markets, 5 th Edition, Copyright © John C. Hull The Greek Letters Chapter 15.
The Greek Letters Chapter 15
1 Financial Options Ch 9. What is a financial option?  An option is a contract which gives its holder the right, but not the obligation, to buy (or sell)
Derivatives Lecture 21.
Delta Hedging & Greek NeutraL
Introduction to Financial Engineering
Fundamentals of Futures and Options Markets, 5 th Edition, Copyright © John C. Hull The Greek Letters Chapter 15.
Greeks of the Black Scholes Model. Black-Scholes Model The Black-Scholes formula for valuing a call option where.
Matlab exercise 計財 16 陳怡鳳. Plot BLS_P % PlotBLS.m S0 = 20:1:70; X = 50; r = 0.04; sigma = 0.4; for T=2:-0.25:0 [c,p]=blsprice(S0,X,r,T,sigma);
Analytical Option Pricing: Black-Scholes –Merton model; Option Sensitivities (Delta, Gamma, Vega, etc) Implied Volatility Finance 30233, Fall 2010 The.
 5 th Place  Delta Gamma / Alpha Epsilon Pi  Alpha Phi / Sigma Pi / Tau Kappa Epsilon.
15.1 The Greek Letters Chapter Example A bank has sold for $300,000 a European call option on 100,000 shares of a nondividend paying stock S.
Fundamentals of Futures and Options Markets, 5 th Edition, Copyright © John C. Hull Binomial Trees in Practice Chapter 16.
FEC FINANCIAL ENGINEERING CLUB. AN INTRO TO OPTIONS.
Plot (x-values, y-values) >> x = linspace (-3, 3, 20); >> x = linspace (-3, 3, 20); >> y = 2*x – 1; >> y = 2*x – 1; >> plot (x, y) >> plot (x, y)
UW CSE 190p Section 7/26, Summer 2012 Dun-Yu Hsiao.
Fundamentals of Futures and Options Markets, 6 th Edition, Copyright © John C. Hull The Greek Letters Chapter 15 Pages
MATLAB 程式設計 Learning Arrays and x-y Plotting 方煒 台大生機系.
Chapter 22 Principles PrinciplesofCorporateFinance Ninth Edition Valuing Options Slides by Matthew Will Copyright © 2008 by The McGraw-Hill Companies,
Chapter 16 Option Valuation.
Figure Call price as a function of the stock price.
Advanced Charts Lesson 9. Objectives 1. Create charts by using data from other applications. 2. Modify chart types. 3. Add and modify chart options. 4.
Analytic Financial “Asset-or-nothing digitals” Mahamadi Ouoba Amina El Gaabiry David Johansson.
© Stefano Grazioli - Ask for permission for using/quoting: Gamma Hedging Wilhelm's Warriors No Hedgetation The Gobs of Money Machine.
Contents: Slide 2: Bu=0.002 H axis is w0*t Slide 3: Bu=0.002 H axis is w/w0 Slide 4: Bu=0.001 H axis is w0*t Slide 5: Bu=0.001 H axis is w/w0 Slide 6:
The Maths behind the Greeks By A.V. Vedpuriswar
Black Scholes PDE Black Scholes Greeks.
Stress Matrix Visualization
SDE & Statistics MiniCourse Topics List for the Exam
Module 7: Black-Scholes-Merton Model Sensitivities
Numerical Solution/Simulation
Plotting Multiple Graphs In The Same Plot
Transformations Created by Barbara Fugitt.
Introduction to MATLAB Programming
Grid Files (Another example)
Matlab Model.
Presentation transcript:

Homework 2 計財 張儷瀞

1. Black-Scholes Model (Code) S0=30:1:70; X=50; r=0.08; sigma=0.4; for T=2:-0.25:0 [c, p]=blsprice(S0, X, r, T, sigma) plot(S0, p); hold on; end axis([ ]); grid on

1. Black-Scholes Model (Demo)

2. Theta for a call option (Code) x=50; r=0.05; t=0.5; sigma=0.2; div=0; s=30:120; [call_theta]=blstheta(s, x, r, t, sigma, div); figure plot(s, call_theta,'-') title('Theta vs. s') xlabel('s') ylabel('Theta') legend('Theta')

2. Theta for a call option (Demo)

3. Gamma for a call option (Code) x=50; r=0.05; t=0.5; sigma=0.2; div=0; s=30:120; [call_gamma]=blsgamma(s, x, r, t, sigma, div); figure plot(s, call_gamma,'-') title('Gamma vs. s') xlabel('s') ylabel('Gamma') legend('Gamma')

3. Gamma for a call option (Demo)

4. Vega for a call option (Code) x=50; r=0.05; t=0.5; sigma=0.2; div=0; s=30:120; [call_vega]=blsvega(s, x, r, t, sigma, div); figure plot(s, call_vega,'-') title('Vega vs. s') xlabel('s') ylabel('Vega') legend('Vega')

4. Vega for a call option (Demo)

5. Delta for a call option (Code) x=50; r=0.05; t=0.1:0.2:50; sigma=0.2; div=0; s=30; for s=30:20:70 [call_delta]=blsdelta(s, x, r, t, sigma, div); plot(t, call_delta, '-') hold on; end title('Delta vs. Time to maturity') xlabel('Time to maturity') ylabel('Delta') legend('3 case in the change of s') text(10.1,0.55,'Out of money') text(10.1,0.83,'At of money') text(10.1,0.99,'In of money') axis([ ]); grid on

5. Delta for a call option (Demo)