Next Article in Journal
Numerical Investigation of Cavitating Jet Flow Field with Different Turbulence Models
Previous Article in Journal
A Conceptual Graph-Based Method to Compute Information Content
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Cubic B-Spline Collocation Method for Barrier Options under the CEV Model

1
College of Data Science and Information Engineering, Guizhou Minzu University, Guiyang 550025, China
2
Department of Finance, Guizhou Minzu University, Guiyang 550025, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(18), 3979; https://doi.org/10.3390/math11183979
Submission received: 17 July 2023 / Revised: 24 August 2023 / Accepted: 15 September 2023 / Published: 19 September 2023

Abstract

:
In this paper, we construct a new numerical algorithm for the partial differential equation of up-and-out put barrier options under the CEV model. In this method, we use the Crank-Nicolson scheme to discrete temporal variables and the cubic B-spline collocation method to discrete spatial variables. The method is stable and has second-order convergence for both time and space variables. The convergence analysis of the proposed method is discussed in detail. Finally, numerical examples verify the stability and accuracy of the method.

1. Introduction

With the further acceleration of economic globalization, the price turbulence in the financial market is becoming more and more serious, and various risks caused by it have become a hot issue concerned and studied by economists and investors. In recent years, the derivatives market has become increasingly important in the financial and investment fields. Options have become an important tool for companies and investors to hedge assets and investment portfolios to control the risks brought by stock price fluctuations. There are many types of options, such as European options, American options, Asian options, barrier options, exotic options, lookback options, etc. European options are options that one party of the call option must exercise on the expiration date of the option. American options and barrier options are path-dependent options, and the return of these two options depends on the volatility path of the underlying asset price, not just the asset price on the maturity date.
The famous Black-Scholes option pricing model was proposed by Fischer Black and Myron Scholes in 1973 [1]. This model assumes that the underlying asset price follows the geometric Brownian motion, i.e., its distribution is logarithmic normal, and when it focuses on option pricing under the premise that its volatility is constant, it can meet option pricing in most cases. Since the required preconditions are too strict, the conditions proposed by the Black-Scholes model do not conform to the reality. In 1975, Cox [2] first considered the characteristics of the relationship between the volatility of assets winning the bid in the market and their price level, and established the Constant Elasticity of Variance (CEV) model. Schroder’s [3] empirical research showed that the CEV model can more accurately describe the changes in the price of underlying assets. Therefore, applying the CEV model to option pricing can obtain a better solution.
The option pricing model used in this section is the CEV model. The stock price process satisfies:
d S t = μ S t d t + σ S t δ d W t ,
where δ is a constant coefficient, 0 δ 1 , μ is expected rate of return, W t is standard Brownian motion.
The differential equation that the option price satisfies is
U t + r S U S + 1 2 σ 2 S 2 δ 2 U S 2 r U = 0 , ( S , t ) ( 0 , B ) × ( 0 , T ) ,
where U ( S , t ) is the value of options at the asset price S and at time t, T is the maturity date, σ is the volatility and r is the risk-free interest rate.
Barrier options are a kind of European option, and their final benefit depends not only on the price of the underlying asset on the expiration date of the option, but also on whether the price of the underlying asset reaches a certain level (barrier B) during the entire option validity period. When the price of the underlying asset reaches the barrier, the option terminates. This type of option is called a knock-out option. If the underlying price of the original asset is higher than the barrier, it is called a down knock-out barrier option; if the underlying price of the original asset is lower than the barrier, it is called an up knock-out barrier option. When the price of the underlying asset reaches the barrier period, the option becomes effective, and this type of option is called a knock-in option. Similarly, there are down knock-in options and up knock-in options. European options can be divided into call options and put options.
Let us consider the up-and-out put barrier options, the initial condition
U ( S , 0 ) = m a x ( K S , 0 ) , S ( 0 , S m a x ) , S m a x < B ,
and boundary conditions
U ( 0 , t ) = K , t [ 0 , T ] ,
U ( S m a x , t ) = m a x ( K S m a x , 0 ) , t [ 0 , T ] .
where K is the exercise price.
Due to the fact that the initial condition is not smooth, the obtained solution is not smooth enough to perform the convergence of numerical approximations. We replace m a x ( K S , 0 ) by a smooth function ψ ( S ) . We obtain
Z t + r S Z S + 1 2 σ 2 S 2 δ 2 Z S 2 r Z = 0 , ( S , t ) ( 0 , S m a x ) × ( 0 , T ) ,
the initial condition
Z ( S , 0 ) = ψ ( S ) , S ( 0 , S m a x ) ,
and boundary conditions
Z ( 0 , t ) = K , t [ 0 , T ] ,
Z ( S m a x , t ) = m a x ( K S m a x , 0 ) , t [ 0 , T ] .
Using the transformation: S = e x p ( x ) . We obtain
V t + ( r 1 2 σ 2 e ( 2 δ x 2 x ) ) V x + 1 2 σ 2 e ( 2 δ x 2 x ) 2 V x 2 r V = 0 , ( x , t ) ( , x m a x ) × ( 0 , T ) ,
with initial condition
V ( x , 0 ) = ψ ( e x p ( x ) ) , x ( , x m a x ) , x m a x < l n B ,
and boundary conditions
V ( x , t ) = K , a s x , t [ 0 , T ] ,
V ( x m a x , t ) = m a x ( K e x m a x , 0 ) , t [ 0 , T ] .
where
V ( x , t ) = Z ( S , t ) = Z ( e x p ( x ) , t )
Now, to solve the problem given in (9)–(12), we truncate the infinite domain ( , x m a x ) into a finite domain ( x m i n , x m a x ) , where x m i n is a sufficiently small negative real number. Then, we consider a general form of (9)–(12) on the truncated region Ω = ( x m i n , x m a x ) × ( 0 , T ) :
v ( x , t ) t = α 2 v ( x , t ) x 2 + β v ( x , t ) x + γ v ( x , t ) + f ( x , t ) , ( x , t ) Ω ,
where
α = 1 2 σ 2 e ( 2 δ x 2 x ) , β = ( r 1 2 σ 2 e ( 2 δ x 2 x ) ) , γ = r .
with initial and boundary conditions
v ( x , 0 ) = ψ 0 ( x ) , x [ x m i n , x m a x ] ,
v ( x m i n , t ) = ψ L ( t ) , t [ 0 , T ] ,
v ( x m a x , t ) = ψ R ( t ) , t [ 0 , T ] .
In order to ensure the existence of a unique solution v C ( Ω ¯ ) C 2 , 1 ( Ω ) of the above problem, we assume that [4]
| l + n v ( x , t ) x l t n | K o n Ω ¯ , 0 n 3 a n d 0 l 4 .
There are numerous studies about the numerical methods of solving barrier options under the CEV model. For example, Thakoor et al. [5] provided a highly accurate and efficient numerical scheme for barrier options under CEV. In order to achieve the fourth order convergence, it is necessary to refine the grid at both the strike and barriers, and obtain oscillation-free hedging parameters; a full implicit time integration technique with extrapolation is employed. Ahmadian and Ballestra [6] developed a numerical method to price discrete barrier options based on an underlying described by the constant elasticity of variance model with jump-diffusion (CEVJD). This method is allowed to approximate differential terms and jump integral by means of two different numerical techniques. Dias [7] has developed two new methods for pricing and hedging European barrier option contracts under the Jump to Default Extended Constant Elasticity of Variance (JDCEV) model, i.e., the stopping time method based on the first passage time densities of the underlying asset price process through the barrier level, as well as a static hedging portfolio method in which the barrier option is replicated by a portfolio of plain-vanilla and binary options. Guo and Chang [8] proposed an accelerated static replication method for continuous European barrier options by using the repeated Richardson extrapolation technique for Romberg sequences.
The main motivation of this work is to develop a third-order numerical method for solving the CEV model given in (13)–(16). In this method, the Crank-Nicolson scheme is used to discrete the temporal variables, and the cubic B-spline configuration method is used to discrete the spatial variables. The stability of this method is analyzed. In addition, we prove that the proposed method is second order convergent in space and time. The theoretical results are verified by numerical experiments and the applicability of the method is illustrated. B-spline was originally proposed by Schoenherg [9] in 1946. B-spline has strong local control capabilities, as well as many advantages such as convexity preservation, convex hull, geometric invariance, and variability reduction. Nowadays, B-spline has become one of the most important numerical methods used to study and solve partial differential equations. For example, Shallu et al. [10] proposed an improved extrapolation collocation method based on cubic B-splines. The method is applied to a class of self adjoint singularly perturbed boundary value problems, with the equispaced discretization of the domain. Since the standard B-spline collocation method cannot achieve the optimal convergence order, the cubic B-spline interpolant and its higher-order derivatives are corrected later. The proposed technology can be applied to high-order linear, nonlinear problems, and partial differential equations. Shallu and V.K. Kukreja [11] obtained a numerical solution to the nonlinear modified Burgers equation using an improvised collocation technique with cubic B-spline as basis functions. In this method, the cubic B-spline is forced to satisfy interpolant conditions with some specific end conditions. Shallu and V.K. Kukreja [12] uses an improvised cubic B-spline collocation technique to solve the Benjamin-Bona-Mahony-Burgers (BBMB) equation due to the inability to achieve optimal accuracy and convergence order using the standard B-spline collocation method. Therefore, improvised cubic B-splines are formed by making a posteriori corrections to cubic B-spline interpolants and their higher-order derivatives. We note that numerical methods based on B-spline basis functions have been used to solve option pricing problems. For example, the authors of [13,14,15] used the B-spline basis function for solving the generalized Black Scholes equation.
The rest of this paper is organized as follows: In Section 2, the time variable is discretized by the Crank-Nicolson format, and the convergence analysis is carried out. In the Section 3, we describe spatial discretization by the cubic B-spline collocation method, and discuss the stability and convergence analysis of this method. Numerical experiments are carried out in Section 4. The results will be discussed in Section 5.

2. Temporal Discretization

In order to solve the CEV model given in (13)–(16) more conveniently, we consider a uniform partition of the domain Ω = ( x m i n , x m a x ) × ( 0 , T ) with node points ( x l , t n ) , where x l = x m i n + l h , h = ( x m a x x m i n ) / M , l = 0 , 1 , , M and τ = T / N with t n = n τ and n = 0 , 1 , 2 , , N . We first discretize the problem (13)–(16) in the temporal direction.

2.1. Description of the Crank-Nicolson Method of Time Variable

We use the Crank-Nicolson method to discretize Equations (13)–(16). This discretization yields the following system of differential equations:
v n + 1 ( x ) v n ( x ) τ 1 2 L x n v n + 1 ( x ) 1 2 L x n v n ( x ) = f n + 1 2 ( x ) , n = 0 , 1 , , N 1 ,
or
( I τ 2 L x n ) v n + 1 ( x ) = ( I + τ 2 L x n ) v n ( x ) + τ f n + 1 2 ( x ) , n = 0 , 1 , , N 1 .
v 0 ( x ) = ψ 0 ( x ) ,
v n + 1 ( x m i n ) = ψ L n + 1 ,
v n + 1 ( x m a x ) = ψ R n + 1 .
Here, v n ( x ) approximate the exact solution v ( x , t n ) at the nth time level t n and
L x n α 2 x 2 + β x + γ I ,
f n + 1 2 ( x ) = f ( x , t n + τ 2 ) .

2.2. Convergence Analysis

Next, we will conduct convergence analysis for the case of using the CN model discrete temporal variables.
The local truncation error of the temporal discretization method (17) is defined by
e n + 1 = v ( x , t n + 1 ) v ˜ n + 1
where v ˜ n + 1 is the approximate solution of the problem (17)–(20) obtained after one step of the semi-discrete scheme taking the exact value v ( x , t n ) , instead of v n as the initial data, i.e.,
( I τ 2 L x n ) v ˜ n + 1 = ( I + τ 2 L x n ) v ( x , t n ) + τ f n + 1 2 ( x ) ,
v ˜ ( x m i n , t ) = ψ L n + 1 ,
v ˜ ( x m a x , t ) = ψ R n + 1 .
We define the global truncation error E n + 1 at time t n + 1 as
E n + 1 = v ( x , t n + 1 ) v n + 1
Lemma 1. 
Let the operator ( I τ 2 L x n ) 1 L ˜ x 1 : R ( L ˜ x ) C ( Ω x ) C ( Ω x ¯ ) C 2 ( Ω x ) be such that L ˜ x 1 ( w ) is the solution ‘u’ of:
L ˜ x ( u ) = w i n Ω x , u = 0 o n Ω x ¯ Ω x .
Then
L ˜ x 1 1 1 + τ 2 γ ˜ ,
where R ( L ˜ x ) C ( Ω x ) denotes the range of the linear operator L ˜ x .
Proof. 
(see, [16]). □
Lemma 2. 
If
| l + n v ( x , t ) x l t n | K o n Ω ¯ , 0 n 3 a n d 0 l 4 .
then there holds
e n K τ 3
E n K τ 2 ,
where K is a constant independent of N.
Proof. 
Because | v t t t |   K and v is a smooth function, hence by Taylor series expansion, we obtain
v ( x , t n + 1 ) = v ( x , t n + 1 2 ) + τ 2 v t ( x , t n + 1 2 ) + τ 2 8 v t t ( x , t n + 1 2 ) + O ( τ 3 ) , v ( x , t n ) = v ( x , t n + 1 2 ) τ 2 v t ( x , t n + 1 2 ) + τ 2 8 v t t ( x , t n + 1 2 ) + O ( τ 3 ) .
Using the above extension, we obtain
v ( x , t n + 1 ) v ( x , t n ) τ = v t ( x , t n + 1 2 ) + O ( τ 2 ) .
Using relations (13) and (21) gives
v t ( x , t n + 1 2 ) = L x n v ( x , t n + 1 2 ) + f n + 1 2 ( x )
By relations (31) and (32), we obtain
v ( x , t n + 1 ) v ( x , t n ) τ = L x n v ( x , t n + 1 2 ) + f n + 1 2 ( x ) + O ( τ 2 ) .
Now, because
1 2 v ( x , t n + 1 ) + 1 2 v ( x , t n ) = v ( x , t n + 1 2 ) + τ 2 8 v t t ( x , t n + 1 2 ) + O ( τ 3 ) ,
and | L x n v t t |   K on Ω ¯ , we obtain
L x n [ 1 2 v ( x , t n + 1 ) + 1 2 v ( x , t n ) ] = L x n v ( x , t n + 1 2 ) + O ( τ 2 ) .
This means
L x n v ( x , t n + 1 2 ) = L x n [ 1 2 v ( x , t n + 1 ) + 1 2 v ( x , t n ) ] + O ( τ 2 ) .
It follows by (33) that
( I τ 2 L x n ) v ( x , t n + 1 ) = ( I + τ 2 L x n ) v ( x , t n ) + τ f n + 1 2 ( x ) + O ( τ 3 ) .
By using relation (24), we obtain
( I τ 2 L x n ) e n + 1 = O ( τ 3 ) , e n + 1 ( x m i n ) = 0 , e n + 1 ( x m a x ) = 0 .
By directly application of Lemma 1, we obtain
e n K τ 3 .
In addition, we can decompose the global truncation error at time t n in the following form
E n = v ( x , t n ) v n = ( v ( x , t n ) v ˜ n ) + ( v ˜ n v n ) .
By relations (17) and (24), we obtain
( I τ 2 L x n 1 ) ( v ˜ n v n ) = ( I + τ 2 L x n 1 ) ( v ( x , t n 1 ) v n 1 ) ,
(34) and (35) gives the recurrence relation as
E n = E 0 j = 0 n 1 R n j + e n + i = 1 n 1 j = 0 i 1 R n j e n i , E 0 = v ( x , t 0 ) v 0 = 0 ,
Here, we use the notation j = 0 n 1 R n j = R n R n 1 R 1 .
The operator ‘ R n R ( τ L x n 1 ) , 1 n N ’ is defined by which v 2 R n v is the solution of
( I τ 2 L x n 1 ) v 2 = ( I τ 2 L x n 1 ) v , v 2 = 0 o n Ω x ¯ Ω x .
Now, according to Gonzalez and Palencia (see, [17]) for the operator ‘ R n R ( τ L x n 1 ) ’, where R ( z ) is a rational A-acceptable function (see, [18]), such that
j = 0 m 1 R n j K m = 1 , 2 , 3 , , n ; 1 n N .
Thus, we obtain
E n n · K · max 1 i n e i = n τ · K τ · max 1 i n e i T K · 1 τ max 1 i n e i .
This imples that (30) follows. □
We can see that the discrete scheme is consistent by Lemma 2. Thus we obtain the following result with the help of Lax equivalence theorem (see, [19]) and Lemma 2.
Theorem 1. 
The method defined by (17)–(20) is second order convergent.

3. Spatial Discretization

3.1. Description of Cubic B-Spline Method

First, we consider a uniform partition π : x m i n = x 0 < x 1 < < x M 1 < x M = x m a x over the finite interval Ω x ¯ = ( x m i n , x m a x ) . Then we extend the uniform partition π in order to construct the cubic B-spline for the partition Π : x 2 < x 1 < x 0 = x m i n < x 1 < < x M = x m a x < x M + 1 < x M + 2 , by adding four additional nodes x 2 , x 1 , x M + 1 , x M + 2 .
Let Q n + 1 ( x ) be the approximation to the exact solution v n + 1 ( x ) at the ( n + 1 ) -th time level. Then, Q n + 1 ( x ) can be defined by
Q n + 1 ( x ) = k = 1 M + 1 c k n + 1 B k ( x ) ,
where c k n + 1 are unknown parameters.
Following [20], we can obtain the representations of cubic B-splines B k with the required attributes:
B k ( x ) = 1 h 3 ( x x k 2 ) 3 , x [ x k 2 , x k 1 ] , ( x x k 2 ) 3 4 ( x x k 1 ) 3 , x [ x k 1 , x k ] , ( x k 2 x ) 3 4 ( x k + 1 x ) 3 , x [ x k , x k + 1 ] , ( x k + 2 x ) 3 , x [ x k + 1 , x k + 2 ] , 0 , o t h e r w i s e ,
Each basis function is twice continuously differentiable on the entire real line.
If we consider B 3 ( π ) : = s p a n { B 1 , B 0 , B 1 , , B M , B M + 1 } C 2 ( Ω x ) . Since one can easily see that the basis functions in { B 1 , B 0 , B 1 , , B M , B M + 1 } are linearly independent on Ω x . Then B 3 ( π ) is a finite dimensional linear sub-space of C 2 ( Ω x ) of dimension M + 3 with basis { B 1 , B 0 , B 1 , , B M , B M + 1 } .
By using (37), the values of basis functions B k ( x ) , B k ( x ) , B k ( x ) at the grid points x l are listed in Table 1. By using (36) and Table 1, Q n + 1 , Q x n + 1 and Q x x n + 1 at the mesh points x l are obtained as
Q n + 1 ( x l ) = c l 1 n + 1 + 4 c l n + 1 + c l + 1 n + 1 ,
Q x n + 1 ( x l ) = 1 h ( 3 c l 1 n + 1 + 3 c l + 1 n + 1 ) ,
Q x x n + 1 ( x l ) = 1 h 2 ( 6 c l 1 n + 1 12 c l n + 1 + 6 c l + 1 n + 1 ) .

3.2. Formulation of Cubic B-Spline Collocation Method

In this part, we construct the cubic B-spline collocation method for the solution of the problem (17)–(20). Firstly, we write Equation (17) as:
α 2 v x x n + 1 ( x ) + β 2 v x n + 1 ( x ) + ( γ 2 1 τ ) v n + 1 ( x ) = F n + 1 2 ( x ) ,
where
F n + 1 2 ( x ) = α 2 v x x n ( x ) β 2 v x n ( x ) ( γ 2 + 1 τ ) v n ( x ) f n + 1 2 ( x ) ,
the boundary conditions
v n + 1 ( x m i n ) = ψ L n + 1 , v n + 1 ( x m a x ) = ψ R n + 1 .
Then, we force the function Q n + 1 ( x ) to satisfy Equations (41) and (43) at the node points x l , according to the cubic B-spline collocation technique. Thus, we have
α 2 Q x x n + 1 ( x l ) + β 2 Q x n + 1 ( x l ) + ( γ 2 1 τ ) Q n + 1 ( x l ) = F n + 1 2 ( x l ) , l = 0 , 1 , , M , n = 0 , 1 , , N 1 ,
Q n + 1 ( x 0 ) = ψ L n + 1 , Q n + 1 ( x M ) = ψ R n + 1 .
Substituting the expressions for Q n + 1 ( x l ) , Q x n + 1 ( x l ) and Q x x n + 1 ( x l ) from Equations (38)–(40), respectively into Equation (44), we obtain a system of m + 1 equations in m + 1 unknowns
p c l 1 n + 1 + q c l n + 1 + r c l + 1 n + 1 = F l n + 1 2 , l = 0 , 1 , , M ,
where
p = 3 α h 2 3 β 2 h + γ 2 1 τ , q = 6 α h 2 + 2 γ 4 τ , r = 3 α h 2 + 3 β 2 h + γ 2 1 τ , F l n + 1 2 = 2 τ p c l 1 n + 8 τ q c l n + 2 τ r c l + 1 n f n + 1 2 ( x l ) .
By using (45), we obtain
c 1 n + 1 + 4 c 0 n + 1 + c 1 n + 1 = ψ L n + 1 ,
c M 1 n + 1 + 4 c M n + 1 + c M + 1 n + 1 = ψ R n + 1 .
By using Equations (47)–(48), we eliminate c 1 n + 1 , c 1 n , c M + 1 n + 1 and c M + 1 n , such that
( q 4 p ) c 0 n + 1 + ( r p ) c 1 n + 1 = F 0 n + 1 2 p ψ L n + 1 ,
p c l 1 n + 1 + q c l n + 1 + r c l + 1 n + 1 = F l n + 1 2 , l = 1 , 2 , , M 1 ,
( p r ) c M 1 n + 1 + ( q 4 r ) c M n + 1 = F M n + 1 2 r ψ R n + 1 ,
where
F 0 n + 1 2 = ( 4 p q ) c 0 n + ( p r ) c 1 n + ( 2 τ p ) ψ L n f n + 1 2 ( x 0 ) , F M n + 1 2 = ( r p ) c M 1 n + ( 4 r q ) c M n + ( 2 τ r ) ψ R n f n + 1 2 ( x M ) .
The system produced by Equations (49)–(51) can be expressed in matrix form as follows
P C n + 1 = F ˜ n , n = 0 , 1 , , N 1 ,
where
P = P 1 , 1 P 1 , 2 0 0 0 0 0 0 P 2 , 1 P 2 , 2 P 2 , 3 0 0 0 0 0 0 P 3 , 2 P 3 , 3 P 3 , 4 0 0 0 0 0 0 0 0 P m , m 1 P m , m P m , m + 1 0 0 0 0 0 P m + 1 , m P m + 1 , m + 1
with
P 1 , 1 = q 4 p , P 1 , 2 = r p , P l , l 1 = p , P l , l = q , P l , l + 1 = r , l = 2 , 3 , , M , P M + 1 , M = p r , P M + 1 , M + 1 = q 4 r ,
F ˜ n = F 0 n + 1 2 p ψ L n + 1 F 1 n + 1 2 F 2 n + 1 2 F M n + 1 2 r ψ R n + 1
and
C n + 1 = [ c 0 n + 1 , c 1 n + 1 , , c M 1 n + 1 , c M n + 1 ] T
where
F 0 n + 1 2 = ( 4 p q ) c 0 n + ( p r ) c 1 n + ( 2 τ p ) ψ L n f n + 1 2 ( x 0 ) , F l n + 1 2 = 2 τ p c l 1 n + 8 τ q c l n + 2 τ r c l + 1 n f n + 1 2 ( x l ) , l = 1 , 2 , , M 1 , F M n + 1 2 = ( r p ) c M 1 n + ( 4 r q ) c M n + ( 2 τ r ) ψ R n + 1 f n + 1 2 ( x M ) , p = 3 α h 2 3 β 2 h + γ 2 1 τ , q = 6 α h 2 + 2 γ 4 τ , r = 3 α h 2 + 3 β 2 h + γ 2 1 τ .
One can easily see that for sufficiently large m, the matrix P is strictly diagonally dominant by rows. Hence P is invertible (see, [21]), and
P 1 < 1 min l | P l , l | l k | P l , k | = 1 6 min 1 l M 1 ( γ 2 + 1 τ ) M .
We need obtain the initial vector C 0 = [ c 0 0 , c 1 0 , , c M 0 ] T to solve the system of matrix (52).
By solving the following interpolation problem can find the vector C 0
Q 0 ( x ) x | x = x 0 = ψ 0 ( x ) x | x = x 0 , Q 0 ( x l ) = ψ 0 ( x l ) ; 0 l M , Q 0 ( x ) x | x = x M = ψ 0 ( x ) x | x = x M ,
where
Q 0 ( x ) = k = 1 M + 1 c k 0 B k ( x ) B 3 ( π ) .
Thus we obtain the following system of matrix
A C ^ 0 = B ,
where
A = 3 / h 0 3 / h 0 0 0 0 0 1 4 1 0 0 0 0 0 0 1 4 1 0 0 0 0 0 0 0 0 1 4 1 0 0 0 0 3 / h 0 3 / h ( M + 3 ) × ( M + 3 ) , C ^ 0 = [ c 1 0 , c 0 0 , , c M 0 , c M + 1 0 ] T , B = ψ 0 ( x ) x | x = x 0 , ψ 0 ( x 0 ) , ψ 0 ( x 1 ) , , ψ 0 ( x M ) , ψ 0 ( x ) x | x = x M T .
Now, since matrix A is diagonally dominant with strict diagonal dominance in all rows except the first row and the last row, it can be concluded from Gershgorin’s theorem (see [22]) that A is nonsingular. Therefore, the vector C ^ 0 giving the initial vector C 0 can be uniquely found.

3.3. Stability Analysis

In this subsection, we use the Von-Neumann stability method to analyze the stability of the scheme defined by (52).
Theorem 2. 
The proposed method defined by (52) for solving the problem (13)–(16) is unconditionally stable.
Proof. 
We set f n + 1 2 ( x ) = 0 to establish the stability result of method (52). We define c l n as
c l n = μ n e i l ρ h ,
where i = 1 , ρ is the time related parameter and the exponential term represents spatial correlation. Substituting Equation (53) into Equation (46), we obtain
μ n + 1 e i l ρ h e i ρ h p + q + e i ρ h r = μ n e i l ρ h e i ρ h 2 τ p + 8 τ q + e i ρ h 2 τ r , n = 0 , 1 , , N 1 .
Re-write above equation as
μ cos ( ρ h ) ( p + r ) + i sin ( ρ h ) ( p + r ) + q = cos ( ρ h ) 4 τ p r + i sin ( ρ h ) ( p r ) + 8 τ q , n = 0 , 1 , , N 1 .
For the convenience of calculation, we introduce E 1 , E 2 and E 3 as
E 1 = 2 τ + p + r , E 2 = p + r , E 3 = 4 τ + q .
By reducing Equation (55), we obtain
μ cos ( ρ h ) 2 τ + E 1 + 4 τ + E 3 + i sin ( ρ h ) E 2 = cos ( ρ h ) 2 τ E 1 + 4 τ E 3 + i sin ( ρ h ) ( E 2 )
Equation (56) means that
μ = ( L 2 L 1 ) i L 3 ( L 2 + L 1 ) + i L 3
with
L 1 = E 1 cos ( ρ h ) + E 3 , L 2 = 1 τ ( 2 cos ( ρ h ) + 4 ) , L 3 = E 2 sin ( ρ h ) .
By taking the absolute value on both sides of Equation (57) we obtain
| μ | 2 ( L 2 L 1 ) 2 + ( L 3 ) 2 ( L 2 + L 1 ) 2 + ( L 3 ) 2 .
As ( L 2 + L 1 ) 2 + ( L 3 ) 2 > 0 and ( L 2 L 1 ) 2 + ( L 3 ) 2 ( L 2 + L 1 ) 2 + ( L 3 ) 2 . This means
| μ | 1 .
Thus, we can see that the scheme is unconditionally stable by Equation (59).

3.4. Convergence Analysis

Lemma 3. 
Let S 3 ( π ) : = set of all functions s ( x ) C 2 ( Ω x ) that reduces to cubic polynomials on each subintervals ( x l , x l + 1 ) , 0 l M 1 , of Ω x then
S 3 ( π ) = B 3 ( π )
and, there exists a unique cubic spline s ( x ) S 3 ( π ) solving the interpolation problem-
s ( x ) x | x = x 0 = v n ( x ) x | x = x 0 , s ( x l ) = v n ( x l ) ; 0 l M , s ( x ) x | x = x M = v n ( x ) x | x = x M ,
where, v n ( x ) is the solution of the discretized problem (41)–(43) at the time level n. The function ‘s’ is called the cubic spline interpolate to v n ( x ) .
Proof. 
(see, [23]). □
Theorem 3. 
The collocation approximation Q n ( x ) from the space B 3 ( π ) to the solution v n ( x ) of the boundary value problem (41)–(43) satisfies the following error estimate
v n Q n K h 2 ,
for sufficiently small h (i.e., for sufficiently large m) where K is a positive constant.
Proof. 
In order to find error estimate, let Q ¯ n ( x ) be the unique spline interpolate from Q 3 ( π ) to the solution v n ( x ) of the boundary value problem (41)–(43) at the nth-time level. Here, Q ¯ n ( x ) S 3 ( π ) = B 3 ( π ) (see, Lemma 3), is given by
Q ¯ n ( x ) = k = 1 M + 1 c ¯ k n B k ( x ) .
The boundary value problem (41)–(43) can be rewritten as
L x n v n + 1 = F n + 1 2 ,
v n + 1 ( x m i n ) = ψ L n + 1 ,
v n + 1 ( x m a x ) = ψ R n + 1 .
where
L x n : = α 2 2 x 2 + β 2 x + ( γ 2 1 τ ) I , F n + 1 2 : = α 2 v x x n β 2 v x n ( γ 2 + 1 τ ) v n f n + 1 2 .
If f n + 1 2 , n , 0 n N , lie in C 2 ( Ω x ) then v n C 4 ( Ω x ) , n , 0 n N . Therefore, according to Hall and Meyer error estimate (see, [24]), we can obtain
D r ( v n S ¯ n ) ε r d 4 v n d x 4 h 4 r , r = 0 , 1 , 2 , 3 ; 0 n N
where, ε 0 = 5 384 , ε 1 = 1 24 , ε 2 = 3 8 , ε 3 = 1 . Since
| l + n v ( x , t ) x l t n | K ; 0 n 3 , 0 l + n 4
D r ( v n Q ¯ n ) K h 4 r , r = 0 , 1 , 2 , 3 ; 0 n N
| D r ( v n ( x l ) Q ¯ n ( x l ) ) | K h 4 r , r = 0 , 1 , 2 , 3 ; 0 n N , 0 l M .
Thus,
| L x n ( v n ( x l ) Q ¯ n ( x l ) ) | K h 2 , l , 0 l M , a n d , n , 0 n N
L x n ( v n Q ¯ n ) K h 2 , n , 0 n N .
At the ( n + 1 ) th-time level, we write
L x n Q ¯ n + 1 ( x l ) = L x n v n + 1 ( x l ) + g n + 1 ( x l ) ; 0 l M ,
Q ¯ n + 1 ( x 0 ) = v n + 1 ( x 0 ) + ψ ¯ L n + 1 ( x 0 ) ,
Q ¯ n + 1 ( x M ) = v n + 1 ( x M ) + ψ ¯ R n + 1 ( x M ) .
where g n + 1 is an error function which order of magnitude is O ( h 2 ) and ψ ¯ L n + 1 , ψ ¯ R n + 1 are error functions which order of magnitude are O ( h 4 ) .
Since v n + 1 ( x l ) = Q n + 1 ( x l ) ; l , 0 l m , therefore we can re-write the system (70)–(72) in the following matrix form
P C ¯ n + 1 = P C n + 1 + G n
where,
G n = [ g n + 1 ( x 0 ) , g n + 1 ( x 1 ) , , g n + 1 ( x M 1 ) , g n + 1 ( x M ) ] T [ p ψ ¯ L n + 1 ( x 0 ) , 0 , , 0 , r ψ ¯ R n + 1 ( x M ) ] T ,
this implies
G n K h 2 .
By using (52) and (73), we obtain
P ( C ¯ n + 1 C n + 1 ) = G n C n + 1 C ¯ n + 1 P 1 G n .
A simple use of Equation (74) and bound of P 1 derived in Section 3.2 gives
C n + 1 C ¯ n + 1 K h 2 ; 0 n N 1
where C n + 1 C ¯ n + 1 = max 0 k M { | c k n + 1 c ¯ k n + 1 | } .
In addition, with the help of Equations (71), (72) and (75), we obtain
| c 1 n + 1 c ¯ 1 n + 1 | K h 2 , | c M + 1 n + 1 c ¯ M + 1 n + 1 | K h 2 .
Thus
max 1 k M + 1 { | c k n + 1 c ¯ k n + 1 | } K h 2 ; 0 n N 1 .
Now,
Q n + 1 ( x ) Q ¯ n + 1 ( x ) = k = 1 M + 1 ( c k n + 1 c ¯ k n + 1 ) B k ( x ) | Q n + 1 ( x l ) Q ¯ n + 1 ( x l ) | max 1 k M + 1 { | c k n + 1 c ¯ k n + 1 | } k = 1 M + 1 | B k ( x l ) | ; 0 l M .
By using B k ( x l ) given in Section 3.1, we can easily see that k = 1 M + 1 | B k ( x l ) | K = 10 , 0 l M , hence
| Q n + 1 ( x l ) Q ¯ n + 1 ( x l ) |   K h 2 ; l , 0 l M
Q n + 1 Q ¯ n + 1 K h 2 ; 0 n N 1 .
In the following triangular inequality, we discuss the relations (66) and (78)
v n + 1 Q n + 1 v n + 1 Q ¯ n + 1 + Q ¯ n + 1 Q n + 1 ,
we obtain
v n + 1 Q n + 1 K h 2 ; 0 n N 1 .
Theorem 4. 
Let v ( x , t ) be the solution of the initial boundary value problem (13)–(16) and Q n ( x ) be the collocation approximation to the solution v n ( x ) after the temporal discretization stage. Then under the hypothesis of Lemma 2 and Theorem 3 the error estimate of the totally discrete scheme is given by
v Q K ( τ 2 + h 2 )
where K are positive constants.

4. Numerical Experiments

In this section, we mainly use RStudio version 4.2.0 to verify the feasibility of the obtained pricing model (52).
Consider the following issue of PDE of up-and-out put barrier options under the CEV model:
v ( x , t ) t = α 2 v ( x , t ) x 2 + β v ( x , t ) x + γ v ( x , t ) , ( x , t ) ( 2 , 2 ) × ( 0 , 1 )
subject to the initial and boundary conditions
v ( x , 0 ) = e x p ( x ) , x ( 2 , 2 ) v ( 2 , t ) = e x p ( 2 t ) , v ( 2 , t ) = e x p ( 2 t ) , t ( 0 , 1 ) .
Figure 1 shows the change trend of Spatial Variable x and Option Price Q for δ = 1 / 4 , 1 / 3 , 1 / 2 when r = 0.05 , σ = 0.05 . When δ takes different values, it is noted that the changes in option prices are basically consistent, indicating that the obtained pricing model is feasible. Figure 2 shows the change trend of Spatial Variable x and Option Price Q for r = 0.05 ,   0.075 ,   0.1 when δ = 1 / 2 ,   σ = 0.05 . When the value of x approaches 2, the option price gradually increases as r increases, and the change trend of Spatial Variable x and Option Price Q is roughly the same in the rest of the time. Figure 3 shows the change trend of Spatial Variable x and Option Price Q for σ = 0.05 ,   0.075 ,   0.1 when δ = 1 / 2 ,   r = 0.05 . When the value of x is less than 1 , the option price gradually increases as σ increases, and the change trend of Spatial Variable x and Option Price Q is roughly the same in the rest of the time. Overall, the option price gradually increases with the increase of spatial variable x, and the rate of growth also gradually increases. Figure 4 shows the change trend of Time Variable t and Option Price Q for r = 0.05 ,   0.075 ,   0.1 when δ = 1 / 2 ,   σ = 0.05 . The option price gradually increases as the time variable t increases. As can be seen from the figure, as r increases, the slope of the line gradually steepens, and the option price increases more quickly. When δ = 1 / 2 ,   σ = 0.05 and r = 0.05 , the surface plot of the approximate solution for M = N = 30 is given in Figure 5.
Based on the studied option pricing model, in this section we considers the relationship between the time variable x and the spatial variable t and the option price, and select different parameters δ , r and σ . Based on the selected parameters, the trend chart of the option price was obtained, and the changes in the image were observed. The numerical simulation results were consistent with theoretical analysis.

5. Conclusions and Dicussion

In this paper, we study the cubic B-spline method for the barrier option problem under the CEV model. The time variable is discretized using the Crank-Nicolson method. On this basis, the spatial variable is discretized using the cubic B-spline collocation method to obtain a pricing model for barrier options. The time discretization of barrier options is analyzed for convergence, and the space discretization is analyzed for stability and convergence. The trend of log price of stock and option price for each parameter is analyzed in RStudio version 4.2.0, and the results show that cubic B-spline is feasible for solving barrier option problems under CEV models.
At present, there are still some shortcomings in this article. When truncating the infinite domain into the finite domain, some errors may occur. However, according to references [13,14,15], these errors are controllable. Thus, in the data experiment section, we make the error f ( x , t ) = 0 . Additionally, in this article, there is no comparison between the B-spline method used in this article and other methods for option pricing, which is also a limitation of this article.

Author Contributions

Writing—original draft, X.Y. and Q.H.; Writing—review & editing, Y.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Black, F.; Scholes, M. The pricing of options and corporate liabilities. J. Political Econ. 1973, 81, 637–654. [Google Scholar] [CrossRef]
  2. Cox, J. Notes on Option Pricing I: Constant Elasticity of Variance Diffusions; Unpublished Note; Stanford University, Graduate School of Business: Stanford, CA, USA, 1975. [Google Scholar]
  3. Schroder, M. Computing the constant elasticity of variance option pricing formula. J. Financ. 1989, 44, 211–219. [Google Scholar] [CrossRef]
  4. Friedman, A. Partial Differential Equations of Parabolic Type; Courier Dover Publications: New York, NY, USA, 2008. [Google Scholar]
  5. Thakoor, N.; Tangman, D.Y.; Bhuruth, M. Efficient and high accuracy pricing of barrier options under the CEV diffusion. J. Comput. Appl. Math. 2014, 259, 182–193. [Google Scholar] [CrossRef]
  6. Ahmadian, D.; Ballestra, L.V. A numerical method to price discrete double Barrier options under a constant elasticity of variance model with jump diffusion. Int. J. Comput. Math. 2015, 92, 2310–2328. [Google Scholar] [CrossRef]
  7. Dias, J.C.; Nunes, J.P.V.; Ruas, J.P. Pricing and static hedging of European-style double barrier options under the jump to default extended CEV model. Quant. Financ. 2015, 15, 1995–2010. [Google Scholar] [CrossRef]
  8. Guo, J.H.; Chang, L.F. Repeated Richardson extrapolation and static hedging of barrier options under the CEV model. J. Futur. Mark. 2020, 40, 974–988. [Google Scholar] [CrossRef]
  9. Schoenberg, I.J. Contributions to the problem of approximation of equidistant data by analytic functions: Part A.—On the problem of smoothing or graduation. A first class of analytic approximation formulae. In IJ Schoenberg Selected Papers; Springer: Berlin/Heidelberg, Germany, 1988; pp. 3–57. [Google Scholar]
  10. Shallu Kumari, A.; Kukreja, V.K. An Improved Extrapolated Collocation Technique for Singularly Per-turbed Problems using Cubic B-Spline Functions. Mediterr. J. Math. 2021, 18, 128. [Google Scholar] [CrossRef]
  11. Shallu Kukreja, V.K. An improvised collocation algorithm with specific end conditions for solving modified Burgers equation. Numer. Methods Partial. Differ. Equ. 2021, 37, 874–896. [Google Scholar] [CrossRef]
  12. Kukreja, V.K. Numerical treatment of Benjamin-Bona-Mahony-Burgers equation with fourth-order im-provised B-spline collocation method. J. Ocean. Eng. Sci. 2022, 7, 99–111. [Google Scholar]
  13. Roul, P.; Goura, V.M.K.P. A sixth order numerical method and its convergence for generalized Black–Scholes PDE. J. Comput. Appl. Math. 2020, 377, 112881. [Google Scholar] [CrossRef]
  14. Mohammadi, R. Quintic B-spline collocation approach for solving generalized Black–Scholes equation governing option pricing. Comput. Math. Appl. 2015, 69, 777–797. [Google Scholar] [CrossRef]
  15. Kadalbajoo, M.K.; Tripathi, L.P.; Kumar, A. A cubic B-spline collocation method for a numerical solution of the generalized Black–Scholes equation. Math. Comput. Model. 2012, 55, 1483–1505. [Google Scholar] [CrossRef]
  16. Clavero, C.; Jorge, J.C.; Lisbona, F. Uniformly convergent schemes for singular perturbation problems combining alternating directions and exponential fitting techniques. In Applications of Advanced Computational Methods for Boundary and Interior Layers; Boole Press: Dublin, Ireland, 1993; pp. 33–52. [Google Scholar]
  17. González, C.; Palencia, C. Stability of time-stepping methods for abstract time-dependent parabolic prob-lems. SIAM J. Numer. Anal. 1998, 35, 973–989. [Google Scholar] [CrossRef]
  18. Lambert, J.D. Computational Methods in Ordinary Differential Equations; John Wiley and Sons Incorporated: Hoboken, NJ, USA, 1973. [Google Scholar]
  19. Lax, P.D.; Richtmyer, R.D. Survey of the stability of linear finite difference equations. Commun. Pure Appl. Math. 1956, 9, 267–293. [Google Scholar] [CrossRef]
  20. Mittal, R.C.; Jain, R.K. B-splines methods with redefined basis functions for solving fourth order parabolic partial differential equations. Appl. Math. Comput. 2011, 217, 9741–9755. [Google Scholar] [CrossRef]
  21. Varah, J.M. A lower bound for the smallest singular value of a matrix. Linear Algebra Its Appl. 1975, 11, 3–5. [Google Scholar] [CrossRef]
  22. Varga, R.S. Matrix Iterative Analysis; Springer Science and Business Medi: Berlin/Heidelberg, Germany, 1999. [Google Scholar]
  23. Prenter, P.M. Splines and Variational Methods; Courier Corporation: North Chelmsfor, MA, USA, 2008. [Google Scholar]
  24. Hall, C.A.; Meyer, W.W. Optimal error bounds for cubic spline interpolation. J. Approx. Theory 1976, 16, 105–122. [Google Scholar] [CrossRef]
Figure 1. Approximate solutions with different values of δ and x in [ 2 , 2 ] .
Figure 1. Approximate solutions with different values of δ and x in [ 2 , 2 ] .
Mathematics 11 03979 g001
Figure 2. Approximate solutions with different values of r and x in [ 2 , 2 ] .
Figure 2. Approximate solutions with different values of r and x in [ 2 , 2 ] .
Mathematics 11 03979 g002
Figure 3. Approximate solutions with different values of σ and x in [ 2 , 2 ] .
Figure 3. Approximate solutions with different values of σ and x in [ 2 , 2 ] .
Mathematics 11 03979 g003
Figure 4. Approximate solutions with different values of r and t in [ 0 , 1 ] .
Figure 4. Approximate solutions with different values of r and t in [ 0 , 1 ] .
Mathematics 11 03979 g004
Figure 5. Approximate solution for M = 30 , N = 30 .
Figure 5. Approximate solution for M = 30 , N = 30 .
Mathematics 11 03979 g005
Table 1. The values of basis functions B k ( x ) , B k ( x ) , B k ( x ) at the grid points x l .
Table 1. The values of basis functions B k ( x ) , B k ( x ) , B k ( x ) at the grid points x l .
x x k 2 x k 1 x k x k + 1 x k + 2
B k ( x )01410
B k ( x ) 0 3 / h 0 3 / h 0
B k ( x ) 0 6 / h 2 12 / h 2 6 / h 2 0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yu, X.; Hu, Q.; Sun, Y. A Cubic B-Spline Collocation Method for Barrier Options under the CEV Model. Mathematics 2023, 11, 3979. https://doi.org/10.3390/math11183979

AMA Style

Yu X, Hu Q, Sun Y. A Cubic B-Spline Collocation Method for Barrier Options under the CEV Model. Mathematics. 2023; 11(18):3979. https://doi.org/10.3390/math11183979

Chicago/Turabian Style

Yu, Xiwei, Qing Hu, and Yudong Sun. 2023. "A Cubic B-Spline Collocation Method for Barrier Options under the CEV Model" Mathematics 11, no. 18: 3979. https://doi.org/10.3390/math11183979

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop