Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a binomial tree program to price a Bermudan option. The early exercise time points are T/4 and 3T/4 from now, where T is the

Write a binomial tree program to price a Bermudan option. The early exercise time points are T/4 and 3T/4 from now, where T is the time to maturity. The payoff function is max(K - S + 1,0). Inputs: (1) S (stock price), (2) K (strike price), (3) r (annual interest rate continuously compounded), (4) s (annual volatility), (5) T (time to maturity in years), (6) n (number of time steps). Output: Option price. For example, suppose that S = 100, K = 100, r = 5 (%), s = 30 (%), and T = 0.5 (years). The option price is about 7.8052 at n = 100 and 7.8015 at n = 200. IMPORTANT NOTES: (1) The interest rate and volatility should be in percent. For example, if the interest rate is 5% and volatility 30%, the inputs are 5 and 30, respectively. (2) No need to make sure the early exercise dates are aligned with time steps of the tree. Please send your source code (Python), executable code, and a brief explanation file if necessary (e.g., how to run it?).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Office Of Anticorruption And Integrity Annual Report 2023

Authors: Asian Development Bank

1st Edition

9292544381,929254439X

More Books

Students also viewed these Finance questions