$25
The Binomial Tree.
(a) Construct code to calculate option values using an additive binomial tree. For this part you need four versions: European and American as well as Call and Put. You may use the same tree construction (and function) for all options.
(b) Download Option prices (you can use the Bloomberg Terminal, Yahoo! Finance, etc.) for an equity, for 3 different maturities (1 month, 2 months, and 3 months) and 20 strike prices close to the value at the money. If 3 months does not exist use next one available. Please download the data DURING THE TRADING DAY (9:00am to 4:30pm ET). Otherwise your values will be way off. Do not forget to download the value of the underlying. For each strike price in the data, use the implied vol values in Homework 1 (see Problem 1c) and the current short-term interest rate (the Feds Fund rate is a good choice). Calculate the option price (European Calls and Puts) using the binomial tree, and compare the results with the Black–Scholes price. Use at least 200 steps in your tree construction. Treat the options as American as well and plot these values side by side with the European and Black Scholes values. When you create the plot do not forget to plot the bid-ask values as well. If you downloaded DATA 2 for last assignment you can use that as your data set.
(c) Comment of the table in the previous part.
(d) Consider N ∈{10,20,30,40,50,100,150,200,250,300,350,400}. Compute and plot the absolute error for the European Put εN for as a function of
N ∈N∗ the number of steps in the tree:
,
where PBSM(S0,K,T,r;σ) and PNBinomTree(S0,K,T,r;σ) are the Black– Scholes–Merton price and the price calculated using a binomial tree with N steps, respectively. What do you observe?
Problem 2 (30 points). Pricing Exotic Options using Trinomial Trees. We will use here a synthetic example to illustrate using trees to price path dependent options. Please read Section 2.10 in [1] and Sections 1 and 5.1 in [2] (available here), and solve the following problems.
a) Construct a trinomial tree to calculate the price of an European Up-and-Out call option. Use S0 = 10, strike K = 10, maturity T = 0.3, volatility σ = 0.2, short rate r = 0.01, dividends δ = 0 and barrier H = 11. See Chapter 3 in [1] for the trinomial tree construction. Use as many steps in your tree as you think are necessary. Hint. For the option pricing you may consult the algorithm in the book [1] and try and figure out how to modify the code there to work with the new option and the new tree. Note the book details the computation using a binomial tree while we ask you to use a trinomial tree here.
b) For the European Up-and-Out Call option explicit formulas exist. For example, implement the formula (5.2) from [2] and compare your results with part (a). Use the same parameters as before. Are your results matching? Note the paper is uploaded to the course shell under the name “Pricing Barrier Options”.
c) Price an European Up-and-In call option, using the same parameters as before. Hint. Two methods can be employed: the analytical solution in (5.1) or the In-Out parity. Use both methods in order to verify your results.
d) Calculate the price of an AMERICAN Up and In Put option
Problem 3 (30 points). Effects of dividend assumptions
To compute prices of a 6 -month American call option, future prices of the underlying stock are modeled with a 2 -period binomial tree with 3 month periods. You are given: (i) In each period, the price of the stock are either multiplied by 1.2 or multiplied by 0.9 (ii) The initial stock price is 40 . (iii) The continuously compounded risk-free interest rate is 4%.
a) If the stock pays continuous dividends proportional to its price, and the dividend yield is 2%, then determine the range of possible strike prices for which early exercise is optimal. Hint: discuss all possible situations for the strike prices.
b) If the stock pays one-time discrete dividends at 3 months time, and the dividend payment is proportional to the corresponding stock price with the proportion being 3%, then determine the range of possible strike prices for which early exercise is optimal.
Bonus Problem 1 (30 points). A two-dimensional tree for the Heston model. Beliaeva and Nawalkha (2010) have developed in [7] a path-independent two-dimensional tree for the Heston model. In their approach, separate trees for the stock price and for the variance are constructed independently of one another, and then recombined, please see Chapter 8 in [5] for a detailed presentation.
(a) Price an American Put Option using the Beliaeva and Nawalkha method. Please note that the code provided in the book is incomplete (marked with ”...”). Consider the same numerical values for the parameters of interest as in [6].
(b) Price an European Call Option using the Beliaeva and Nawalkha method. Compare this result with the prices obtained in Homework 1, Problem 3 via the analytical formula. Consider the same numerical values as in [6]. What can you observe?
Bonus Problem 2 (30 points). Pricing variance swaps using trinomial trees. In the paper [8] the authors demonstrate how approximate the price of Variance Swaps using trees. THe model they demonstrate pricing is a stochastic volatility model as it makes little sense to price variance and volatility derivatives in models where the volatility is constant. However, in this bonus problem we will perform this nonsensical approach. Specifically, first construct the trinomial tree in Problem 2. We will use this tree with the same parameters: Use S0 = 10, strike K = 10, maturity T = 0.3, volatility σ = 0.2, short rate r = 0.01, dividends δ = 0 to price a variance swap calculated using log returns. To do this please read the paper. You will need to implement the appropriate function g in formula (15). Please price a 60 day variance swap using a 60 steps tree (i.e., n = 60 and l = 1). The calculation is detailed in formulas (16).
References
[1] Clewlow, Les and Strickland, Chris. Implementing Derivative Models (Wiley Series in Financial Engineering), John Wiley and Sons 1996.
[2] Niklas Westermark. Barrier Option Pricing, Degree Project in Mathematics, First Level. KTH Royal Institute of Technology, Stockholm, Sweden.
[3] Pooley, D. M., Vetzal, K. R., and Forsyth, P. A., Convergence remedies for non-smooth payoffs in option pricing.. Journal of Computational Finance, Vol. 6, No. 4, 2003.
[4] Florescu, Ionu¸t, Viens, Frederi G, Stochastic volatility: option pricing using a multinomial recombining tree, Applied Mathematical Finance, Vol. 15, No. 2, pp. 151–181, 2008, Taylor & Francis.
[5] Rouah, F. D. The Heston Model and Its Extensions in Matlab and C, 2013, John Wiley and Sons.
[6] Mikhailov, Sergei and N¨ogel, Ulrich. Heston’s stochastic volatility model: Implementation, calibration and some extensions 2004, John Wiley and Sons.
[7] Beliaeva, Natalia A and Sanjay K, Nawalkha, A simple approach to pricing American options under the Heston stochastic volatility model. The Journal of Derivatives, Vol. 17, No. 4, pp. 25–43, 2010.
[8] Zhao, Honglei and Zhao, Zhe and Chatterjee, Rupak and Lonon, Thomas and Florescu, Ionu¸t Pricing variance, gamma, and corridor swaps using multinomial trees. The Journal of Derivatives, Vol. 25, No. 2, pp. 7–21, 2017.