A Numerical Method for Pricing Discrete Double Barrier Option by Lagrange Interpolation on Jacobi Node
Abstract
In this paper, a rapid and high accurate numerical method for pricing discrete single and double barrier knock-out call options is presented. According to the well-known Black-Scholes framework, the price of option in each monitoring date could be calculate by computing a recursive integral formula upon the heat equation solution. We have approximated these recursive solutions with the aim of Lagrange interpolation on Jacobi polynomials node. After that, an operational matrix, that makes our computation significantly fast, has been driven. The most important feature of this method is that its CPU time dose not increase when the number of monitoring dates increases. The numerical results confirm the accuracy and efficiency of the presented numerical algorithm.
keywords:
Double and single barrier options , Black-Scholes model , Option pricing , Jacobi polynomialsMSC:
[2010] 65D15 , 35E15 , 46A321 Introduction
Barrier options play a key role in financial markets where the most important problem is the so called option valuation problem, i.e. to compute a fair value for the option, i.e. the premium. The Nobel Prize-winning Black-Scholes option valuation theory motivates using classical numerical methods for partial differential equations (PDE’s) [1]. In computational Finance numerous nonstandard numerical methods are proposed and successfully applied for pricing options [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]. Numerical methods are often preferred to closed-form solutions as it they could me more easily extended or adapted to satisfy all the financial requirements of the option contracts and continuously changing conditions imposed by financial institutions and over-the-counter market for controlling trading of derivatives.
Kunitomo and Ikeda [13] obtained general pricing formulas for European double barrier options with curved barriers but like for a variety of path-dependent options and corporate securities most formulas are obtained for restricted cases as continuous monitoring or single barrier [5]. The discrete monitoring is essential as the trading year is considered to consist of working days and a week of 5 days. Thus, taking for one year , the application of barriers occurs with a time increment of daily and weekly.
For discrete barrier options there are some analytical solutions. For example, Fusai reduces the problem of pricing one barrier option to a Wiener-Hopf integral equation [3]. Several other different contracts with discrete time monitoring are characterized by updating the initial conditions, such as Parisian options and occupation time derivatives [14]. We remark that although most real contracts specify fixed times for monitoring the asset, academic researchers have focused mainly on continuous time monitoring models as the analysis of fixed barriers could be treated mathematically using some techniques such as the reflection principle [15]. For example, using the reflection principle in Brownian motions, Li expresses the solution in general as summation of an infinite number of normal distribution functions for standard double barrier options, and in many non-trivial cases the solution consists of finite terms [16]. Pelsser derives a formula for continuous double barrier knock-out and knock-in options by inverting analytically the Laplace transform by a contour integration, [17]. Broadie et. al. have found an explicit correction formula for discretely monitored option with one barrier [18]. However, these three well-known methods [6, 10, 11] have not been still applied in the presence of two barriers, i.e. a discrete double barrier option.
Although it could not be claimed that it is impossible to be found an exact or closed-form solution of the Black-Scholes equation [19] for the valuation of discrete double barrier knock-out call option, it is sure that there is a substantial differences in the option prices between continuous and discrete monitoring even for 1 000 000 monitoring dates. This could be trivially tested for a single barrier knock-in and knock-out option using formulas [3], [13][6], or the correction formula [18], for double barrier knock-out options with the numerical algorithm [5] or with a high-order accurate finite difference scheme [11]. It is well-known in literature the relation when comparing the price of continuous and discretely monitored barrier options with the corresponding vanilla option with same parameters and absence of rebates. The discrete monitoring considerably complicates the analysis of barrier options [18] and their pricing often requires nonstandard method as those presented in [2, 5, 7, 11]. Difficulties of pricing double barrier options emerge even in the case of continuous monitoring where some drawbacks of close-form formulas could be clearly observed. The analytical solutions of such options is usually expressed as infinite series of reflections and presented with Fourier series. For fixed barriers contracts the Fourier series solution gives the same answer when all the terms have been added up but the main drawback is that the rate of convergence of the sum to the solution can be quite different, depending on the time to expiry.
Initially classical quantitative methods in Finance have been explored for pricing barrier options. This includes standard lattice techniques, i.e. the binomial and trinomial trees of Kamrad and Ritchken [20], Boyle and Lau [21], Kwok [15], Heyen and Kat [22], Tian [23], Dai and Lyuu [24] used standard lattice techniques, the binomial and trinomial trees, for pricing barrier options. Ahn et al. [25] introduce the adaptive mesh model (AMM) that increases the efficiency of trinomial lattices. The Monte Carlo simulation methods were implemented in [26, 27, 28, 29, 30, 31]. Also numerical algorithms based on quadrature methods have been proposed in [32, 5].
Recently a great variety of more sophisticated semi-analytical methods for pricing barrier options have been developed which are based on integral transforms [3, 33, 34], or on the transition probability density function of the process used to describe the underlying asset price [32, 5, 35, 18, 36, 4, 37, 38]. Farnoosh et al. [39, 40] have proposed a numerical algorithms for pricing discrete single and double barrier options with time-dependent parameters, while in [41] a projection methods have been explored. These techniques are very high performing for pricing discretely monitored single and double barrier options and our computational results are in very good agreement with them. The main objective of this paper is present a new efficient computational method for valuation of discrete barrier options based on a Lagrange interpolation on Jacobi nodes that have not only a simpler computer implementation but also differ with minimum memory requirements and extreme short computational times.
This article is organized as follows. In Section 2 we formulate the mathematical model for valuation of barrier options under the classical Black-Scholes framework. In Section 3 we briefly list definitions for Jacobi Polynomials. In section 4 we propose a new efficient numerical methods where an orthogonal Lagrange interpolation is utilized and a suitable operational matrix form has been obtained for pricing discrete double barrier options. One of the main advantages of this algorithm is that it do not depend on the number of monitoring dates. In the next Section 5 we observe numerical errors of order and in maximum norm for different computational experiments according to the number of node points. The obtained results are in good agreement with other benchmark values in literature and this confirms the efficiency and accuracy of the presented numerical algorithm.
2 The Pricing Model
We assume that the stock price process follows the Geometric Brownian motion:
where , and are initial stock price, risk-free rate and volatility respectively. We consider the problem of pricing knock-out discrete double barrier call option, i.e. a call option that becomes worthless if the stock price touches either lower or upper barrier at the predetermined monitoring dates:
We assume that that monitoring dates are equally spaced, i.e; where . If the barriers are not touched in monitoring dates, the pay off at maturity time is , where is exercise price. The price of option is defined discounted expectation of pay off at the maturity time. Based on the Black-Scholes framework, the option price as a function of stock price at time , satisfies in the following partial differential equations
(1) |
subject to the initial conditions:
where .
By denoting and , we define as following recursive formula:
(2) |
(3) |
where
(4) |
(5) |
It could be shown that the price of the knock-out discrete double barrier option can be obtain as follows ( see [41] ):
(6) |
where .
3 Jacobi Polynomials
Let and be Hilbert space with the following inner product and norm:
(7) |
(8) |
The Jacobi polynomials, are orthogonal polynomials in , i.e;
(9) |
where . These polynomials, that set an orthogonal basis in , satisfy in following three-term recurrence relation:
(10) | |||
(11) |
where:
(12) | |||
(13) | |||
(14) |
4 Pricing by orthogonal Lagrange interpolation
In this section we consider as space of all polynomials with degree less or equal to , set points as roots of -th Jacobi polynomial that are shifted to and as orthogonal polynomial interpolation projection operator, that is defined as follows:
(15) |
where is the -th Lagrange polynomial basis function defined on :
(16) |
Let operator is defined as follows:
(17) |
where is defined in (5). According to the definition of operator , equations (2) and (3) can be rewritten as below:
(18) |
(19) |
We denote
(20) |
(21) |
where is as follows:
Since, for , we can write
where and . From equation (21) we obtain
(22) |
Since is a finite dimensional linear space, thus the linear operator on could be considered as a matrix . Consequently equation (22) can be written as following matrix operator form
(23) |
For evaluation of the option price by (23), it is enough to calculate the matrix operator and the vector . It is easy to check (see [41]) that:
where
Therefore, the price of the knock-out discrete double barrier option can be estimated as follows:
(24) |
where and from (23). The matrix form of relation (23) implies that the computational time of presented algorithm be nearly fixed when monitoring dates increase. Actually, the complexity of our algorithm is that dose not depend on number of monitoring dates.
5 Numerical Result
In the current section, the presented method in previous section for pricing knock-out call discrete double barrier option is compared with some other methods. The numerical results are obtained from the relation (24) with basis functions. The Source code has been written in Matlab 2015 on a 3.2 GHz Intel Core i5 PC with 8 GB RAM.
Example 1.
In the first example, the pricing of knock-out call discrete double barrier option is considered with the following parameters: , , , , , and . In table (2), numerical results of presented method with Milev numerical algorithm [5], Crank-Nicholson [42], trinomial, adaptive mesh model (AMM) and quadrature method QUAD-K200 as benchmark [43] are compared for various number of monitoring dates. In addition, it can be seen that CPU time of presented method is fixed against increases of monitoring dates.
0 | 0.5 | 0.8 | |||
0 | |||||
0.5 | |||||
0.8 |
M | l L |
|
|
|
Trinomial | AMM-8 | Benchmark | ||||||
80 | 2.4499 | - | - | 2.4439 | 2.4499 | 2.4499 | |||||||
90 | 2.2028 | - | - | 2.2717 | 2.2027 | 2.2028 | |||||||
5 | 95 | 1.6831 | 1.6831 | 1.6831 | 1.6926 | 1.6830 | 1.6831 | ||||||
99 | 1.0811 | 1.0811 | 1.0811 | 0.3153 | 1.0811 | 1.0811 | |||||||
99.9 | 0.9432 | 0.9432 | 0.9432 | - | 0.9433 | 0.9432 | |||||||
CPU | 0.035 s | 1 s | 5 s | ||||||||||
80 | 1.9420 | - | - | 1.9490 | 1.9419 | 1.9420 | |||||||
90 | 1.5354 | - | - | 1.5630 | 1.5353 | 1.5354 | |||||||
25 | 95 | 0.8668 | 0.8668 | 0.8668 | 0.8823 | 0.8668 | 0.8668 | ||||||
99 | 0.2931 | 0.2931 | 0.2931 | 0.3153 | 0.2932 | 0.2931 | |||||||
99.9 | 0.2023 | 0.2023 | 0.2023 | - | 0.2024 | 0.2023 | |||||||
CPU | 0.035 s | 8 s | 30 s | ||||||||||
80 | 1.6808 | - | - | 1.7477 | 1.6807 | 1.6808 | |||||||
90 | 1.2029 | - | - | 1.2370 | 1.2028 | 1.2029 | |||||||
125 | 95 | 0.5532 | 0.5528 | 0.5531 | 0.5699 | 0.5531 | 0.5532 | ||||||
99 | 0.1042 | 0.1042 | 0.1042 | 0.1201 | 0.1043 | 0.1042 | |||||||
99.9 | 0.0513 | 0.0513 | 0.0513 | - | 0.0513 | 0.0513 | |||||||
CPU | 0.035 s | 35 s | 150 s |




Example 2.
In this example, the parameters of knock-out call discrete double barrier option is considered as , , , , and . In table (3) the option price for different spot prices are evaluated and compared with Milev numerical algorithm [5], Crank-Nicholson [42] and the Monte Carlo (MC) method with paths [44].
|
|
|
|
|
|||||||||||
95 | 0.174498 | 0.1656 | 0.174503 | 0.174498 | - | ||||||||||
95.0001 | 0.174499 | 0.1656 | 0.174501 | 0.174499 | 0.17486 (0.00064) | ||||||||||
95.5 | 0.182428 | 0.1732 | 0.182429 | 0.182428 | 0.18291 (0.00066) | ||||||||||
99.5 | 0.229349 | 0.2181 | 0.229356 | 0.229349 | 0.22923 (0.00073) | ||||||||||
100 | 0.232508 | 0.2212 | 0.232514 | 0.232508 | 0.23263 (0.00036) | ||||||||||
100.5 | 0.234972 | 0.2236 | 0.234978 | 0.234972 | 0.23410 (0.00073) | ||||||||||
109.5 | 0.174462 | 0.1658 | 0.174463 | 0.174462 | 0.17426 (0.00063) | ||||||||||
109.9999 | 0.167394 | 0.1591 | 0.167399 | 0.167394 | 0.16732 (0.00062) | ||||||||||
110 | 0.167393 | 0.1591 | 0.167398 | 0.167393 | - | ||||||||||
CPU | 0.035 s | Minutes | 1 s | 39 s |
Example 3.
Due to the fact that the probability of crossing upper barrier during option’s life when is too small, the price of discrete single down-and-out call option can be estimated by double ones by setting upper barrier greater than (for more details see[5]). Now, we consider a discrete single down-and-out call option with the following parameters: , , , , and . The price is estimated by double ones with . The numerical results are shown in table (4) and compared with Fusai’s analytical formula [3], the Markov chain method (MCh)[2] and the Monte Carlo method (MC) with paths [29] that shows the validity of presented method in this case.
PM | ||||||
L | M | n=25 | n=50 | (IR17) | MCH | MC (st.error) |
95 | 25 | 6.63104 | 6.63156 | 6.63156 | 6.6307 | 6.63204 (0.0009) |
99.5 | 25 | 3.35644 | 3.35558 | 3.35558 | 3.3552 | 3.35584 (0.00068) |
99.9 | 25 | 3.00897 | 3.00887 | 3.00887 | 3.0095 | 3.00918 (0.00064) |
95 | 125 | 6.16940 | 6.16863 | 6.16864 | 6.1678 | 6.16879 (0.00088) |
99.5 | 125 | 1.95811 | 1.96130 | 1.96130 | 1.9617 | 1.96142 (0.00053) |
99.9 | 125 | 1.50991 | 1.51020 | 1.51068 | 1.5138 | 1.5105 (0.00046) |
CPU | 0.038 s | 0.051 s |
Example 4.
In this example we estimate the price of continus monitoring call barrier down and out option, , with discrete ones, , using the following formula[18]:
where with the Riemann zeta function. The parameters of this problem is considered as , , , , . In table (5) the option price for different Lower barriers are evaluated and compared with continuous monitoring price that is obtained in [18]. As we can see, this estimations is accurate except when the barrier is close to the spot price.
PM | PM | ||||
L | Countinous Barrier | n=25 | n=50 | n=25 | n=50 |
85 | 6.308 | 6.307 | 6.308 | 6.306 | 6.308 |
88 | 6.185 | 6.185 | 6.185 | 6.182 | 6.185 |
91 | 5.808 | 5.808 | 5.808 | 5.809 | 5.808 |
93 | 5.277 | 5.277 | 5.277 | 5.277 | 5.277 |
95 | 4.398 | 4.396 | 4.397 | 4.398 | 4.397 |
97 | 3.060 | 3.067 | 3.067 | 3.059 | 3.059 |
99 | 1.171 | 1.479 | 1.477 | 1.265 | 1.267 |
CPU | 0.038 s | 0.051 s | 0.038 s | 0.051 s |
6 Conclusion and remarks
In this article, we used the Lagrange interpolation on Jacobi polynomial nodes for pricing discrete single and double barrier options. In section 4 we obtained a matrix relation (23) for solving this problem. Numerical results verify that computational time is fixed when the number of monitoring dates increase.
References
References
- [1] G. D. Smith, Numerical solution of partial differential equations: finite difference methods, Oxford university press, 1985.
- [2] J.-C. Duan, E. Dudley, G. Gauthier, J.-G. Simonato, Pricing discretely monitored barrier options by a markov chain, The Journal of Derivatives 10 (4) (2003) 9–31.
- [3] G. Fusai, I. D. Abrahams, C. Sgarra, An exact analytical solution for discrete barrier options, Finance and Stochastics 10 (1) (2006) 1–26. doi:10.1007/s00780-005-0170-y.
- [4] G. Fusai, M. C. Recchioni, Analysis of quadrature methods for pricing discrete barrier options, Journal of Economic Dynamics and Control 31 (3) (2007) 826–860.
- [5] M. Milev, A. Tagliani, Numerical valuation of discrete double barrier options, Journal of Computational and Applied Mathematics 233 (10) (2010) 2468–2480.
- [6] A. Tagliani, M. Milev, Laplace transform and finite difference methods for the black–scholes equation, Applied Mathematics and Computation 220 (2013) 649–658.
- [7] H. Gzyl, M. Milev, A. Tagliani, Discontinuous payoff option pricing by mellin transform: A probabilistic approach, Finance Research Letters 20 (2017) 281–288.
- [8] A. Sobhani, M. Milev, A numerical method for pricing discrete double barrier option by legendre multiwavelet, Journal of Computational and Applied Mathematics 328 (2018) 355–364.
- [9] M. J. Dilloo, D. Y. Tangman, A high-order finite difference method for option valuation, Computers & Mathematics with Applications.
- [10] M. Milev, A. Tagliani, Efficient implicit scheme with positivity preserving and smoothing properties, Journal of Computational and Applied Mathematics 243 (2013) 1–9.
- [11] J. Ndogmo, D. Ntwiga, High-order accurate implicit methods for the pricing of barrier options, arXiv preprint arXiv:0710.0069.
- [12] S. Kabaivanov, V. Markovska, Modelling environment changes for pricing weather derivatives, Scientific Annals of Economics and Business 64 (4) (2017) 423–430.
- [13] N. Kunitomo, M. Ikeda, Pricing options with curved boundaries, Mathematical finance 2 (4) (1992) 275–298.
- [14] G. Fusai, S. Sanfelici, A. Tagliani, Practical problems in the numerical solution of pde’s in finance.
- [15] Y. K. Kwok, Mathematical models of financial derivatives. 1998.
- [16] A. Li, The pricing of double barrier options and their variations.
- [17] A. Pelsser, Pricing double barrier options using laplace transforms, Finance and Stochastics 4 (1) (2000) 95–104.
- [18] M. Broadie, P. Glasserman, S. Kou, A continuity correction for discrete barrier options, Mathematical Finance 7 (4) (1997) 325–349.
- [19] O. E. Barndorff-Nielsen, Processes of normal inverse gaussian type, Finance and stochastics 2 (1) (1997) 41–68.
- [20] B. Kamrad, P. Ritchken, Multinomial approximating models for options with k state variables, Management science 37 (12) (1991) 1640–1652.
- [21] P. P. Boyle, S. H. Lau, Bumping up against the barrier with the binomial method, The Journal of Derivatives 1 (4) (1994) 6–14.
- [22] R. C. Heynen, H. M. Kat, Barrier options, Exotic options: the State of the Art (1997) 125–159.
- [23] Y. S. Tian, Pricing complex barrier options under general diffusion processes, The Journal of Derivatives 7 (2) (1999) 11–30.
- [24] T.-S. Dai, Y.-D. Lyuu, The bino-trinomial tree: A simple model for efficient and accurate option pricing, The Journal of Derivatives 17 (4) (2010) 7–24.
- [25] D.-H. Ahn, S. Figlewski, B. Gao, Pricing discrete barrier options with an adaptive mesh model, Available at SSRN 162450.
- [26] L. Andersen, R. Brotherton-Ratcliffe, Exact exotics, Risk 9 (10) (1996) 85–89.
- [27] D. R. Beaglehole, P. H. Dybvig, G. Zhou, Going to extremes: Correcting simulation bias in exotic option valuation, Financial Analysts Journal (1997) 62–68.
- [28] P. Baldi, L. Caramellino, M. G. Iovino, Pricing general barrier options: a numerical approach using sharp large deviations, Mathematical Finance 9 (4) (1999) 293–321.
- [29] M. Bertoldi, M. Bianchetti, Monte carlo simulation of discrete barrier options, Financial engineering-Derivatives Modelling, Caboto SIM Spa, Banca Intesa Group, Milan, Italy 25 (2003) 1.
- [30] G. C. Kuan, N. Webber, Pricing barrier options with one-factor interest rate models, The Journal of Derivatives 10 (4) (2003) 33–50.
- [31] D. Jeong, M. Yoo, C. Yoo, J. Kim, A hybrid monte carlo and finite difference method for option pricing, Computational Economics (2017) 1–14.
- [32] A. D. Andricopoulos, M. Widdicks, P. W. Duck, D. P. Newton, Universal option valuation using quadrature methods, Journal of Financial Economics 67 (3) (2003) 447–471.
- [33] M. Broadie, Y. Yamamoto, A double-exponential fast gauss transform algorithm for pricing discrete path-dependent options, Operations Research 53 (5) (2005) 764–779.
- [34] F. Fang, C. W. Oosterlee, Pricing early-exercise and discrete barrier options by fourier-cosine series expansions, Numerische Mathematik 114 (1) (2009) 27.
- [35] A. Golbabai, L. Ballestra, D. Ahmadian, A highly accurate finite element method to price discrete double barrier options, Computational Economics 44 (2) (2014) 153–173.
- [36] G. Dorfleitner, P. Schneider, K. Hawlitschek, A. Buch, Pricing options with green’s functions when volatility, interest rate and barriers depend on time, Quantitative finance 8 (2) (2008) 119–133.
- [37] C. Skaug, A. Naess, Fast and accurate pricing of discretely monitored barrier options by numerical path integration, Computational Economics 30 (2) (2007) 143–151.
- [38] M. A. Sullivan, Pricing discretely monitored barrier options, Journal of computational finance 3 (4) (2000) 35–52.
- [39] R. Farnoosh, H. Rezazadeh, A. Sobhani, M. H. Beheshti, A numerical method for discrete single barrier option pricing with time-dependent parameters, Computational Economics 48 (1) (2015) 131–145. doi:10.1007/s10614-015-9506-7.
- [40] R. Farnoosh, A. Sobhani, H. Rezazadeh, M. H. Beheshti, Numerical method for discrete double barrier option pricing with time-dependent parameters, Computers & Mathematics with Applications 70 (8) (2015) 2006–2013. doi:10.1016/j.camwa.2015.08.016.
- [41] R. Farnoosh, A. Sobhani, M. H. Beheshti, Efficient and fast numerical method for pricing discrete double barrier option by projection method, Computers & Mathematics with Applications.
- [42] B. Wade, A. Khaliq, M. Yousuf, J. Vigo-Aguiar, R. Deininger, On smoothing of the crank–nicolson scheme and higher order schemes for pricing barrier options, Journal of Computational and Applied Mathematics 204 (1) (2007) 144–158.
- [43] C.-J. Shea, Numerical valuation of discrete barrier options with the adaptive mesh model and other competing techniques, Master’s Thesis, Department of Computer Science and Information Engineering, National Taiwan University.
- [44] P. Brandimarte, Numerical methods in finance: a MATLAB-based introduction, Vol. 489, John Wiley & Sons, 2003.