University | National University of Singapore (NUS) |
Subject | QF4102 Financial Modelling and Computation |
1. There are a series of closed-form solutions for Barrier options. In (Hull, 2012, Section 25.8), the Black-Scholes price for a down-and-in European call option when H ≤ X is given by
cdi = S0e −qT (H/S0) 2λN(y) − Xe−rT (H/S0) 2λ−2N(y − σ √ T),
where
λ = r − q + σ 2/2 σ 2
y = ln[H2/(S0X)] σ √ T + λσ√ T ,
where c is the value of a vanilla European call option.
(i) Implement the down-out call price formula as a Matlab function BS doCall, using the header
function c = BS_doCall(S0,X,r,T,sigma,q,H)
when H ≤ X
Your function must allow for the input arguments S0 and H to be vectors of compatible sizes.
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Native Singapore Writers Team
- 100% Plagiarism-Free Essay
- Highest Satisfaction Rate
- Free Revision
- On-Time Delivery
(ii) Use your Matlab function to obtain the price of a down-out barrier option with a time to maturity of 1 year, where the strike price is $1.2, volatility of the underlier is 30%, a dividend yield of 1%, and the risk free rate is 5%.
Compute the option values with H = $0.9, and with S0 on a grid with the range
$0.8 to $1.8, in increments of $0.01. Plot the option values versus S0; and comment on the graph obtained.
(iii) For the same range of S0, add on the Black-Scholes prices for a vanilla European call onto the graph in (ii), and comment.
(iv) For the same set of parameters in (ii), compute the value of the option with
S0 = $1.3, and with the barrier H over the range from $0.4 to $1.2, in increments of $0.01. Plot the option values versus H; and comment on the graph obtained. Add in the Black-Scholes vanilla European call price to the graph in (iv), and comment.
(v) Implement the binomial tree method to approximate the price of a down-out call in a Matlab function btm doCall, using the header
function c = btm_doCall(S0,X,r,T,sigma,q,H,N)
Using the same parameters above, make use of your function to compute the
option values when the barrier is at $0.9, for N = 3070, . . . , 3180.
Obtain the absolute errors of your estimates, and plot these versus N. Comment on the graph obtained.
(vi) Which values of N correspond to the local minimum absolute errors? For these values of N, determine the corresponding values of i for the artificial barrier. Include all relevant workings to support your answer.
2. (i) For the floating-strike lookback call option (that is, a lookback on minimum), a reduction in variables can be applied to reduce the two state variables A, S to a single state variable x = ln(A/S), where V (S, A, t) = S W(x, t).
(ii) Implement the algorithm as a Matlab function with the header
function v = btm_1vFlLookbackCall(S0,r,T,sigma,q,N,runmin)
where the argument runmin corresponds to the running minimum of the underlying asset.
iii) Use your Matlab function in (ii) to obtain estimates of the value of a previously issued European floating strike lookback call. The option has 6 months to maturity, with a current underlier price of $0.85, a running minimum of $0.75, and a volatility of 0.35. The underlying asset pays no dividends, and the risk free rate is 3%.
Obtain estimates where the number of time steps N ranges from 200 to 10000, in increments of 200. Plot the option values versus N; and comment on the graph obtained.
(iv) Modify your Matlab function to allow for a default value for runmin, such that it can also be used to estimate the value of a newly issued lookback call option. Obtain estimates for an option with the same parameters in (iii), using the same range of values for N, but for a newly issued option. Plot the option values versus N, and comment. Compare your results with that in (iii), and comment.
3. (i) Implement the two-state-variable binomial tree method to estimate the value of a fixed-strike geometric average Asian call option in a Matlab function. Assume that the option is newly issued. Use the following header for your function:
function v = btm_fixGeomAsianCall(S0,X,r,T,sigma,q,N)
(ii) Using the above function, obtain estimates of the value of a geometric average Asian call option, with a current underlier price of $95, strike price of $90, with 2 the risk free rate of 4%, a time to maturity of 0.5 years, where the volatility of the underlier is 30%, and where the underlying asset pays no dividends. Use N = 5, 10, 15, 20 periods in your implementation, and plot the option values obtained versus N. Also obtain the runtimes for each value of N, and plot the runtimes versus N. Comment on the plots obtained, and on the computational efficiency of the binomial tree method.
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
Get top-notch assistance with your QF4102 Financial Modelling and Computation Assignment 1 today! Our assignment help in Singapore offers you the chance to enjoy affordable, high-quality services designed to meet your needs. When you say, “write my finance assignment for me,” you’re choosing experts who deliver plagiarism-free content with a promise of A+ guaranteed results. With our trusted Coursework Writing Services, we ensure on-time delivery so you can focus on your studies. Don’t wait—get the help you need now!
Looking for Plagiarism free Answers for your college/ university Assignments.
- INDIVIDUAL RESEARCH PROJECT: MERGERS AND THEIR IMPACT
- PSS388 End of Course Assessment January Semester 2025 SUSS : Integrated Public Safety And Security Management
- PSY205 Tutor-Marked Assignment 02 SUSS January 2025 : Social Psychology
- Math255 S1 Assignment-2025 SUSS : Mathematics for Computing
- BUS100 Tutor-Marked Assignment January 2025 SUSS : Business Skills And Management
- CSCXXX SUSS : New System Development Using Java : Soft Dev Pte Ltd Project
- Cloud Computing: Fundamentals, Networking, and Advanced Concepts
- COS364 Tutor-Marked Assignment January 2025 Sem SUSS : Interventions for At-Risk Youth
- FMT309 Tutor-Marked Assignment 01 SUSS January 2025 : Building Diagnostics
- HBC203 Tutor-Marked Assignment 01 January 2025 SUSS : Statistics and Data Analysis for the Social and Behavioural Sciences