Question: Write a pseudo - code for pricing the European call option at t = 0 by the Monte Carlo method. Implement the pseudo - code

Write a pseudo-code for pricing the European call option at t =0 by the Monte
Carlo method. Implement the pseudo-code by Matlab with the following function interface.
function V = Eur Call LVF MC(S0, K, T, r, x, M, N)
%
% Price the European call option of the LVF model by the Monte Carlo method
%
% Input
% S0 initial stock price
% K strike price
% T maturity
% r risk free interest rate
% x vector parameters for the LVF \sigma ,[x1, x2, x3]
% M number of simulated paths
% N number of time steps, i.e.,\delta t = T /N.
%
% Output
% V European call option price at t =0 and S0.
3.(20 points) Derive the computational scheme for the explicit method and write a pseudocode for the explicit method to solve (1) with the initial and boundary conditions. Implement
the pseudo-code by Matlab with the following function interface.
function V0= Eur Call LVF PDE(S0, K, T, r, x, Smax, M, N)
%
% Price the European call option of the LVF model by the explicit finite difference method.
%
% Input
% S0 initial stock price
% K strike price
% T maturity
% r risk free interest rate
% x vector parameters for the LVF \sigma ,[x1, x2, x3]
% Smax upper bound of the stock price
% M number of stock price difference, i.e.,\delta S = Smax/M
% N number of time steps, i.e.,\delta t = T /N.
%
% Output
% V 0 European call option price at t =0 and S0.
4.(20 points) Compute the results from the Monte Carlo method with S0=1, K =1, T =
0.25, r =0.03, x =[0.2,0.001,0.003], M =10,000 and N =100. Compare the results from
2
the explicit finite difference with S0=1, K =1, T =0.25, r =0.03, x =[0.2,0.001,0.003],
Smax =3, M =30 and N =100.(20 points) Write a pseudo-code for pricing the European call option at t=0 by the Monte
Carlo method. Implement the pseudo-code by Matlab with the following function interface.
(20 points) Derive the computational scheme for the explicit method and write a pseudo-
code for the explicit method to solve (1) with the initial and boundary conditions. Implement
the pseudo-code by Matlab with the following function interface.
(20 points) Compute the results from the Monte Carlo method with S0=1,K=1,T=
0.25,r=0.03,x=[0.2,0.001,0.003],M=10,000 and N=100. Compare the results from
the explicit finite difference with S0=1,K=1,T=0.25,r=0.03,x=[0.2,0.001,0.003],
Smax=3,M=30 and N=100.
I WANT QUESTION 4 ANSWERED BUT YOU WOULD NEED THE ABOVE PARTS AS WELL, CAN YOU PLEASE SHOW THE MATLAB PARTS AND THE INFORMATION FROM QUESTION 4 BEING ENTERED INTO THE CODE THANK YOU!
Write a pseudo - code for pricing the European

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!