Next Article in Journal
A Heuristic Approach for Determining Efficient Vaccination Plans under a SARS-CoV-2 Epidemic Model
Next Article in Special Issue
Digital Twin Simulation Tools, Spatial Cognition Algorithms, and Multi-Sensor Fusion Technology in Sustainable Urban Governance Networks
Previous Article in Journal
Graph Convergence, Algorithms, and Approximation of Common Solutions of a System of Generalized Variational Inclusions and Fixed-Point Problems
Previous Article in Special Issue
Research on Corporate Indebtedness Determinants: A Case Study of Visegrad Group Countries
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient Localized RBF-FD Method to Simulate the Heston–Hull–White PDE in Finance

1
School of Mathematics and Statistics, Northeastern University at Qinhuangdao, Qinhuangdao 066000, China
2
Mathematical Modeling and Applied Computation (MMAC) Research Group, Department of Mathematics, King Abdulaziz University, Jeddah 21589, Saudi Arabia
3
Department of Mathematics and Applied Mathematics, School of Mathematical and Natural Sciences, University of Venda, P. Bag X5050, Thohoyandou 0950, South Africa
4
Eighth Geological Brigade of Hebei Bureau of Geology and Mineral Resources Exploration, Qinhuangdao 066000, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(4), 833; https://doi.org/10.3390/math11040833
Submission received: 18 November 2022 / Revised: 19 January 2023 / Accepted: 31 January 2023 / Published: 7 February 2023

Abstract

:
The Heston–Hull–White three-dimensional time-dependent partial differential equation (PDE) is one of the important models in mathematical finance, at which not only the volatility is modeled based on a stochastic process but also the rate of interest is assumed to follow a stochastic dynamic. Hence, an efficient method is derived in this paper based on the methodology of the localized radial basis function generated finite difference (RBF-FD) scheme. The proposed solver uses the RBF-FD approximations on graded meshes along all three spatial variables and a high order time-stepping scheme. Stability is also studied in detail to show under what conditions the proposed method is stable. Computational simulations are given to support the theoretical discussions.

1. Introduction

It is well-known that under the risk-neutral measure for pricing, the classic model of Heston [1] as a set of stochastic differential equations (SDEs) can show the stock option value by considering that the volatility is no longer constant. In fact, it follows the dynamic below with the state vector X ( t ) = ( S ( t ) , V ( t ) ) * :
d V ( t ) = γ V ( t ) d W 2 ( t ) + κ ( η V ( t ) ) d t , V ( t ) > 0 , d S ( t ) = V ( t ) S ( t ) d W 1 ( t ) + r S ( t ) d t , S ( t ) > 0 ,
wherein the variance and the stock processes are V ( t ) , S ( t ) , the volatility of volatility is γ > 0 , the riskless fixed interest rate is r > 0 and d W 1 ( t ) d W 2 ( t ) = ρ d t . Here κ > 0 determines the adjustment’s speed of the volatility to the mean η > 0 and W 1 ( t ) , W 2 ( t ) are two kinds of Brownian motion. In order to V ( t ) > 0 , the condition of Feller should be satisfied as 2 κ η > γ 2 .
The model (1), which is also known as a generalization of the model of Black–Scholes [2], could be extended further if the interest rate follows a special dynamic as well. There are two well-known models in the literature that take both the interest rate and the volatility to be as stochastic processes: that is, the Heston–Cox–Ingersoll–Ross (HCIR) [3] and the Heston–Hull–White (HHW) models [4]. For more information, see [5,6].
The model of HHW with the correlation parameters ρ 12 , ρ 13 , ρ 23 [ 1 , 1 ] could be given in what follows [4]:
d R ( t ) = a ( b ( t ) R ( t ) ) d t + σ 2 d W 3 ( t ) , d V ( t ) = κ ( η V ( t ) ) d t + σ 1 V ( t ) d W 2 ( t ) , d S ( t ) = R ( t ) S ( t ) d t + V ( t ) S ( t ) d W 1 ( t ) ,
where R ( t ) represents the process of the rate of interest at time T t > 0 . In (2), the positive function b is given, and W 3 ( t ) is a new kind of Brownian motion. Here, the parameters κ , η , σ 1 , σ 2 , a are real positive constants.
It is necessary to explain the usefulness of the pricing model using the Heston model combined with the Hull–White model for the market and investors. In fact, as long as the interest rate follows a stochastic dynamic, then pricing would result in more accurate simulation results in equity markets at which the interest rates are no longer constant [7,8]. For further related discussions, one may refer to [8] and the references cited therein.
By employing the dynamics in (2), the value of a European option could be obtained in the form of the following PDE [9]:
U ( s , v , r , t ) t = 1 2 s 2 v 2 U ( s , v , r , t ) s 2 + 1 2 σ 1 2 v 2 U ( s , v , r , t ) v 2 + 1 2 σ 2 2 2 U ( s , v , r , t ) r 2 + ρ 12 σ 1 s v 2 U ( s , v , r , t ) s v + ρ 13 σ 2 s v 2 U ( s , v , r , t ) s r + ρ 23 σ 1 σ 2 v 2 U ( s , v , r , t ) v r + r s U ( s , v , r , t ) s + κ ( η v ) U ( s , v , r , t ) v + a ( b ( T t ) r ) U ( s , v , r , t ) r r U ( s , v , r , t ) ,
where s , v , and r are the asset price, instantaneous variance, and the rate of interest, respectively. The initial condition, which is known as the payoff function for the call case, could be written as follows:
U ( s , v , r , 0 ) = ( 0 , s K ) + ,
wherein K is the price of strike.
The conditions of the boundary along the spatial variables s , v , r can be written as [10]
U s ( s , v , r , t ) = 1 , s = s max ,
U ( s , v , r , t ) = 0 , s = 0 ,
U ( s , v , r , t ) = s , v = v max ,
U r ( s , v , r , t ) = 0 , r = r max ,
U r ( s , v , r , t ) = 0 , r = r max .
Note that for the case when v = 0 , the PDE (3) is degenerate, and no boundaries must be imposed [11].
It is worthwhile to note that to achieve calibration targets in the market, option pricing is an important tool. To price derivative securities, different types of significant models are taken into account and investigated, leading to a set of numerical solvers. The HHW PDE (3) for the general case does not have a closed-form solution, which turns our attention to efficient numerical methods automatically.
A pioneering numerical method for pricing options is the finite difference (FD) method [12], which is mainly based on employing uniform discretization nodes, laying a uniform grid on the independent variables of the PDE problem and then transforming the continuous problem into a set of discrete ones.
Another well-performing approach that inherits both from the FD and the radial basis function (RBF) schemes is the local RBF-FD scheme [13,14,15]. For further reading, one may refer to [16,17,18].
Here, the major target is to present a new numerical solver for the simulation of (3) based on the RBF-FD methodology, which results in block sparse matrices. This is mainly because (3) is a 3D problem with variable coefficients at which there are three mixed derivatives. Thus, the numerical methods must be designed for this purpose carefully. The RBF-FD formulations are written so as to be applied on graded meshes in which there is a clear concentration on the hot area.
The rest of this article is structured as follows. First, in Section 2, we review some of the efficient ways of producing graded meshes along the spatial variables to focus more on the hot area of the 3D PDE problem (3) [19]. Then, in Section 3, the RBF-FD weighting coefficients for a new RBF are constructed and proven to converge on graded meshes. The estimations can be considered and simplified on uniform meshes as well. Section 4 proposes our RBF-FD solver with attention on the financially important area, in which the initial condition of the PDE problem has non-smoothness. The stability of the solver is given in detail in Section 5 to show how and under what conditions the proposed solver is stable for solving (3). Then, Section 6 presents a discussion of the usefulness and applicability of the proposed formulas. Some numerical tests are furnished along with numerical simulations. Ultimately, a conclusion of the work is given in Section 7.

2. Mesh Generation

The HHW 3D model is defined on ( s , v , r , t ) [ 0 , + ) × [ 0 , + ) × ( , + ) × ( 0 , T ] . The merit of the HHW model is that it can take negative rates of interest, unlike the HCIR model at which the interest rate must always be positive [20].
It is now obvious that to price under the HHW model, we first need to localize the domain as follows:
( s , v , r , t ) [ 0 , s max ] × [ 0 , v max ] × [ r max , r max ] × ( 0 , T ] ,
where s max , v max , r max are real positive constants.
It is not that clear what to choose exactly for the s max , v max , and r max in order to get the optimal numerical domain. However, to impose the boundary conditions as well as to reduce the error caused by truncating the domain, it would be better to choose them as far as possible and employ graded meshes at which the focus is on the important area of the problem. Here, the financially important area of the problem (3) is the region at which the underlying asset price tends to the price of the strike, the spontaneous variance tends to zero, and the interest rate tends to a special small value such as the fixed risk-free interest rate.
To proceed, we assume that { s i } i = 1 m is a partition for s [ s min , s max ] . Now, a well-performing and popular graded mesh could be defined as follows [21] ( i = 1 , 2 , , m ):
s i = Ψ ( ϖ i ) ,
wherein m 3 and
ϖ max = ϖ m > > ϖ 2 > ϖ 1 = ϖ min ,
are m uniform points, while we also have
ϖ min = sinh 1 s min s left d 1 , ϖ int = s right s left d 1 , ϖ max = ϖ int + sinh 1 s max s right d 1 .
We also take into account that s min = 0 and s max = 14 K . The parameter d 1 > 0 controls the node density around s = K . Additionally, we define
Ψ ( ϖ ) = s left + d 1 sinh ( ϖ ) , ϖ min ϖ < 0 , s left + d 1 ϖ , 0 ϖ ϖ int , s right + d 1 sinh ( ϖ ϖ int ) , ϖ int < ϖ ϖ max .
where d 1 = K 20 is a proper choice in (13), while s left = max { 0.5 , e 0.0025 T } × K , s right = K , and [ s left , s right ] [ 0 , s max ] .
Now, the discretized points along v, i.e., { v j } j = 1 n are given as
v j = sinh ( ς j ) d 2 , j = 1 , 2 , , n ,
where d 2 > 0 provides a density around v = 0 . In this paper, we employed d 2 = v max 500 , where v max = 10 . Additionally for 1 j n , ς j stand for uniform nodes furnished as follows:
Δ ς = ( n 1 ) 1 sinh 1 v max d 2 , ς j = ( j 1 ) Δ ς .
Finally, the graded points alongside r are given by
r k = d 3 sinh ( ζ k ) , 1 k o ,
where r max = 1 and d 3 = r max 500 is a positive number. It is considered ζ k = ( Δ ζ ) ( k 1 ) , Δ ζ = 1 o 1 sinh 1 r max d 3 . Note that the variables i , j , k are local counter variables throughout the paper.

3. Constructing the RBF-FD Weights

Now, the famous inverse quadratic (IQ) RBF is considered as follows ([22], [Chapter 4]) ( i = 1 , 2 , , ψ ):
ϱ ( r i ) = 1 c 2 + r i 2 ,
where s is the parameter of shape and r i = s s i stands for the Euclidean distance.
Remark 1.
The motivation behind choosing this RBF is based on the recent work [23] that states that the IQ-based RBF-FD weights could be constructed theoretically more easily than multiquadrics (MQs) RBFs, which are available in the literature [24]. Besides this, another motivation stems from the fact that the IQ is an infinitely smooth RBF; under mild conditions [25], its one-dimensional function interpolants that are analytic inside a strip exponentially converge.
To find weights of the RBF-FD methodology on a graded mesh having three points, by considering L as a linear operator of approximation in the RBF-FD methodology, one can start with [26]
L [ ϱ ( s j ) ] i = 1 ψ Υ i ϱ ( s i ) , j = 1 , 2 , , ψ .
This leads to ψ unknowns for ψ equations while the solutions are Υ i . Note that L is not a differential operator and is sometimes used for the discretization of the PDE problem. To illustrate further, in this section, by (19), we only focus on approximating the (1D) function derivatives. So, a derivative of the function is approximated by a combination of (three) adjacent nodes while the weights are unknown.
Hence, for ψ = 3 , we obtain
{ s i h , s i , s i + w h } , w > 0 , h > 0 ,
and write (19) as
f ( s i ) Υ i 1 f ( s i 1 ) + Υ i f ( s i ) + Υ i + 1 f ( s i + 1 ) = f ^ ( s i ) ,
wherein f ^ and f are the approximate and exact values, respectively.
Remark 2.
Recalling that the error equation at the point s i can be defined by
ε ( s i ) = f ^ ( s i ) f ( s i ) .
The reason for mentioning the error is to say how accurate the RBF-FD estimations arising from (19) are when we approximate different function derivatives by considering only three adjacent non-uniform points.
Theorem 1.
When estimating the first derivative of the function f, the equation of error by the IQ RBF-FD procedure (21) is obtained as follows:
ε ( s i ) = w 2 f ( s i ) c 2 + 1 6 f ( 3 ) ( s i ) h 2 + O h 3 ,
where
Υ i 1 = ω 2 h 2 ( 8 ω 13 ) c 2 5 5 h ( ω + 1 ) ,
Υ i = ω 1 h ω 16 h ( ω 1 ) 5 c 2 ,
Υ i + 1 = 2 h 2 ( 13 ω 8 ) c 2 + 5 ω 5 h ( ω + 1 ) .
Proof. 
The proof is similar to [24], and hence it is omitted. □
To compute the weights of the function’s second derivative, we write for ψ = 3 :
f ( s i ) Θ i 1 f ( s i 1 ) + Θ i f ( s i ) + Θ i + 1 f ( s i + 1 ) = f ^ ( s i ) .
Hence, we can state the following theorem.
Theorem 2.
When estimating the second derivative of the function f, the equation of error by the IQ RBF-FD procedure (26) is obtained via
ε ^ ( s i ) = 1 3 ( w 1 ) 12 f ( s i ) c 2 + f ( 3 ) ( s i ) h + O h 2 ,
where ε ^ ( s i ) = f ^ ( s i ) f ( s i ) and
Θ i 1 = 2 4 ω ( 4 ω 7 ) + 26 c 2 + 5 h 2 5 ( ω + 1 ) ,
Θ i = 2 2 ( ω ( 8 ω 9 ) + 8 ) c 2 5 h 2 5 ω ,
Θ i + 1 = 10 c 2 + 4 h 2 ( ω ( 13 ω 14 ) + 8 ) 5 c 2 h 2 ω ( ω + 1 ) .
Proof. 
The proof is similar to [24], and hence it is omitted. □
An effective procedure could be here used for the selection of the shape parameter in numerical implementations, as comes next:
c = 5 max { Δ s i } , 1 i m 1 ,
where Δ s i are the increments along the variable mesh. The motivation behind choosing the shape parameter as (31) is that we must select c to be larger than h, i.e., c h , and also an adaptive c that changes based on the number of discretization points will affect positively more on the numerical results than a constant shape parameter. On the other hand, after using a trial and error approach, we found that a larger value as the coefficient, i.e., 5, in (31), will tend the RBF-FD methodology towards the FD approach, and a smaller value will cause some instability issues. Thus, coefficient 5 can help us to get efficient numerical results.
Now, an introduction on how RBF-FD works is necessary to discuss the different stages of the methodology. Some remarks are in order:
  • In fact, the weights we obtained by now are used in an initial step by considering three points of the stencil. Each time, three interior points of the stencil are considered (in a loop), and the weights are computed.
  • These values along with the weights corresponding to the first and last nodes are grouped together in a matrix, which we call the differentiation matrix in the next section.
  • Note that after computing the matrices, the final matrix will not be changed during the time stepping process, as we discuss in the next section as well.
  • The computed weights change only when the three adjacent nodes of the stencil or their spacings (h or w) change.

4. Numerical Method

To construct our RBF-FD solver, first, the method of lines (MOL) is employed [27,28], in which all the spatial variables are discretized to attain a system of linear ordinary differential equations (ODEs). Hence, let us define two differentiation matrices having the weights for the RBF-FD procedures on graded meshes described of Section 2 as follows:
M s = Υ i , j using ( 23 ) i j = 1 , Υ i , j using ( 24 ) i j = 0 , Υ i , j using ( 25 ) j i = 1 , 0 otherwise ,
and
M s s = Θ i , j using ( 28 ) i j = 1 , Θ i , j using ( 29 ) i j = 0 , Θ i , j using ( 30 ) j i = 1 , 0 otherwise .
We here discuss the procedure along s, while the procedure along other variables would be similar. For the discretization nodes located on the boundaries, we point these out as follows. The formulations (23)–(25) and (28)–(29) would be fruitful for rows two to the row before the last one. Accordingly, for the nodes located on the sides, we may use sided FD approximations as follows:
f ( s 1 ) = f [ s 1 , s 2 ] + f [ s 1 , s 3 ] f [ s 3 , s 2 ] + O ( s 1 s 2 ) 2 ,
and
f ( s m ) = f [ s m 1 , s m 2 ] + f [ s m 2 , s m ] + f [ s m 1 , s m ] + O ( s m s m 1 ) 2 ,
wherein f [ l , p ] = ( f ( l ) f ( p ) ) / ( l p ) .
Similarly, for the four nodes { { s 1 , f ( s 1 ) } , { s 2 , f ( s 2 ) } , { s 3 , f ( s 3 ) } , { s 4 , f ( s 4 ) } } , we can obtain (see e.g., [29])
f ( s 1 ) = 2 ( δ s 1 , 2 + δ s 1 , 3 + δ s 1 , 4 ) δ s 1 , 2 δ s 1 , 3 δ s 1 , 4 f s 1 + 2 ( δ s 3 , 1 + δ s 4 , 1 ) δ s 1 , 2 δ s 2 , 3 δ s 2 , 4 f s 2 + 2 ( δ s 2 , 1 + δ s 4 , 1 ) δ s 1 , 3 δ s 3 , 2 δ s 3 , 4 f s 3 + 2 ( δ s 2 , 1 + δ s 3 , 1 ) δ s 1 , 4 δ s 4 , 2 δ s 4 , 3 f s 4 + O h 2 ,
where δ s l , q = s l s q , and h stands for the maximum space width along the considered nodes of the stencil.
Recall that using a similar spirit of logic for the point s m , we could calculate the second-order approximate formulation and its corresponding weights as follows:
f ( s m ) = 2 δ s m 3 , m + δ s m 2 , m + δ s m 1 , m δ s m 3 , m δ s m , m 2 δ s m , m 1 f s m + 2 δ s m 3 , m + δ s m 2 , m δ s m 3 , m 1 δ s m 1 , m 2 δ s m 1 , m f s m 1 + 2 δ s m 3 , m + δ s m 1 , m δ s m 3 , m 2 δ s m 2 , m 1 δ s m 2 , m f s m 2 + 2 δ s m 2 , m + δ s m 1 , m δ s m 2 , m 3 δ s m 1 , m 3 δ s m , m 3 f s m 3 + O h 2 .
Note here that for the sake of simplicity and since the function b ( T t ) does not have any fluctuations in practical consideration, we may expand it up to zeroth order in order to estimate it by a scalar, i.e., b ( T t ) β . The motivation behind this is to get rid of of a time-variable coefficient function and thus a time-varying matrix. To illustrate further, by this consideration, we simplify the numerical solver as much as possible.
Now, let ⊗ denote the Kronecker product, and the N × N identity matrix I = I s I v I r , is given where N = m × n × o , I s is the m × m identity matrix for s, and for I v and I r similarly. Thus, now we can encapsulate the whole numerical procedure for the 3D case as follows:
A = 1 2 S 2 V ( M s s I v I r ) + 1 2 σ 1 2 V ( I s M v v I r ) + 1 2 σ 2 2 ( I s I v M r r ) + ρ 12 σ 1 S V ( M s M v I r ) + ρ 13 σ 2 S ( V ) 1 2 ( M s I v M r ) + ρ 23 σ 1 σ 2 ( V ) 1 2 ( I s M v M r ) + R S ( M s I v I r ) + κ ( η I V ) ( I s M v I r ) + a ( β I R ) ( I s I v M r ) r I .
The square matrices M s , M v , M r , M s s , M v v , and M r r are derived via the corresponding weights similarly. In addition, the diagonally sparse matrices R , V and S can be expressed as
R = I s I v diag r 1 , r 2 , , r o ,
V = I s diag v 1 , v 2 , , v n I r ,
S = diag s 1 , s 2 , , s m I v I r .
Taking all the weights into matrices, it would be possible to transfigure the PDE into a system of ODEs to price (3) as follows:
u ( t ) = A u ( t ) ,
wherein the vector of unknowns is u ( t ) = ( u 1 , 1 , 1 ( t ) , u 1 , 1 , 2 ( t ) , , u m , n , o 1 ( t ) , u m , n , o ( t ) ) * N entries .
After considering the boundary conditions (5), a system of ODEs can be attained as follows:
u ( t ) = A ¯ u ( t ) = G ( t , u ( t ) ) ,
where A ¯ is the system matrix consisting of the boundary conditions. This means that the boundary conditions given in (5) must be imposed to appropriate rows of A. This can be done by writing (5) in time differentiation form, and thus we obtain a new matrix A ¯ .

5. Stability

Now, select k + 1 uniform temporal points, a time step size ξ = T k > 0 , t ι + 1 = ξ + t ι , 0 ι k and u 0 = u ( 0 ) . Take into consideration that u ι is an estimate to u ( t ι ) ; then, one may derive our final time-integrator method. The explicit Runge–Kutta (RK) solver with four stages [30] is given by [31] (pages 165–169)
u ι + 1 = u ι + ξ 6 B 1 + 2 B 2 + 2 B 3 + B 4 ,
and
B 1 = G t ι , u ι ,
B 2 = G t ι + ξ 2 , u ι + ξ 2 B 1 ,
B 3 = G t ι + ξ 2 , u ι + ξ 2 B 2 ,
B 4 = G t ι + ξ , u ι + ξ B 3 .
Such a higher order method over time is used to solve (43), since an explicit method that is easy to implement with an order higher than the spatial local truncation error will help us to construct an efficient fast solver for the HHW PDE. Using lower order time-marching methods will result in smaller stability regions, and on the other hand, using higher order time-marching solvers may not be necessary since they need a higher computational load per step and increase the CPU times.
Theorem 3.
Let us assume that (43) satisfies the Lipschitz condition; then, we have a conditional time-stable iteration process using (44) to solve (43).
Proof. 
Here, the Lipschitz condition gives (43) existence and provides the uniqueness of the solution. Besides, we remind the reader that numerical time-stepping methods are A-stable as long as there are no stability restrictions for the following linear ODE problem:
u = λ u , Re ( λ ) < 0 .
Imposing the solver (44) on the system of ODEs (43) gives the following relation:
u ι + 1 = I + ξ A ¯ + ( ξ A ¯ ) 2 2 ! + ( ξ A ¯ ) 3 3 ! + ( ξ A ¯ ) 4 4 ! u ι .
Accordingly, the A-stability would be written as
1 + ξ λ i + ( ξ λ i ) 2 2 + ( ξ λ i ) 3 6 + ( ξ λ i ) 4 24 1 ,
which is due to (50) for any λ i as the eigenvalue of A ¯ . The stability condition can now be given by
1 + ξ λ max + ( ξ λ max ) 2 2 + ( ξ λ max ) 3 6 + ( ξ λ max ) 4 24 1 .
Considering x = ξ λ max , the inequality (52) gives rise to a nonlinear scalar equation as follows:
x 3 + 4 x 2 + 12 x + 24 = 0 ,
which leads to the following roots { 2.78529 , 0.607353 2.8719 i , 0.607353 + 2.8719 i } . Equivalently, we can find the following condition on the step size ξ using (44) when solving (43):
ξ 2.935419 Re λ max .
This inequality on the eigenvalues of A ¯ will determine a conditional time stability bound for the proposed solver when pricing (3). The proof is ended. □
Since the HHW PDE (3) is a linear equation, and thus as far as it is stable under (54) and is consistent, its convergence can be proved. Accordingly, its convergence can be obtained as long as the numerical method is consistent. This can be pursued when the (maximum) step sizes along space and time tend to zero. This shows the consistency of the RBF-FD formulas.

6. Simulation Results

The target of this section is to compare the efficacy of various solvers in order to solve (3) on the same numerical domain when v 0 = 0.04 , r 0 = 10 % , T = 1 year and K = 100 $ . The methods are summarized as follows:
  • The solver proposed in [21] on graded meshes is shown by HM, which stands for Haentjens’s method. The motivation behind choosing HM is that it is one of the most fundamental and efficient methods for solving (3),
  • The second-order FD method with uniform node distribution along space and the explicit first-order Euler’s method shown by FD, see e.g., [10],
  • The proposed method described in Section 3, Section 4 and Section 5 denoted by RBF-FDM based on graded meshes of Section 2.
In fact, RBF-FD is a general name for the procedure, but when the specific IQ RBF is used along with the time-stepping solver (44), then we call it RBF-FDM. The reason for choosing the explicit first-order Euler’s method for the HM and FD is because this time-stepping method has been used for these solvers in [21]. All the compared solvers are written in Mathematica 12.0 [32].
Here, the CPU time is reported in seconds. Besides this, the absolute error is computed by
ε = u ref u num u ref ,
wherein u ref and u num are the referenced and numerical solutions, respectively. u ref is selected from the already published literature [10].
Noting that the function b is normally defined as follows:
b ( τ ) = c 1 c 2 exp ( c 3 τ ) β , τ 0 ,
where c 1 , c 2 , c 3 are constants, and τ = T t . Note that c 2 and c 3 are not zero. The following tests are discussed in this section.
Example 1
([10]). In this test, the following sets of parameters are considered: κ = 3.0 , η = 0.12 , a = 0.20 , σ 1 = 0.80 , σ 2 = 0.03 , ρ 12 = 0.6 , ρ 13 = 0.2 , ρ 23 = 0.4 , c 1 = 0.05 , c 2 = 0 , c 3 = 0 , where the reference value is u ref ( K , v 0 , r 0 , T ) 16.176 .
Example 2
([10]). A different set of parameters is considered in this test to compare the results of different solvers: κ = 0.5 , η = 0.8 , a = 0.16 , σ 1 = 0.90 , σ 2 = 0.03 , ρ 12 = 0.5 , ρ 13 = 0.2 , ρ 23 = 0.1 , c 1 = 0.055 , c 2 = 0 , c 3 = 0 , where the reference value is u ref ( K , v 0 , r 0 , T ) 20.994 .
Since the numerical domain along the variable s is longer than the other two variables, it is convenient to consider a greater number of discretization points even based on graded meshes along the underlying asset price. Clearly, the choice of the temporal step size mostly depends on the choice of the time integrator and its stability region. For HM and FD, the radius is of course lower than the time integrator for the proposed solver, which is a fourth-order method with the stability condition (54).
The numerical pieces of evidence are put together in Table 1 and Table 2. Both indicate that by increasing the number of discretization points, the accuracy is improved for all solvers, but the graded meshes for the proposed solver along its efficient structure help us to obtain higher accuracies as quickly as possible. The time to compute the weights of the RBF-FD methodology are included here. Actually, the times reported here stand for the whole computational time from the very beginning of considering the input values until the final interpolations and printing the result.
For the case of m = 24 , n = 14 , and o = 14 in Example 1, the numerical solution has been plotted in Figure 1 as well. It shows that the numerical solution for the considered cut is positive without oscillations. Similarly, in Figure 2 for the Example 2, two cuts of the numerical solution are provided to re-support this.
An inquiry may arise regarding why we did not choose the same number of spatial steps and time-steps for the different methods in Table 1 and Table 2. The answers lie in the fact that we use a greater number of nodes along s and then v, since their computational domains are bigger, i.e., the bigger the domain, the greater the number of nodes used. In addition, of course, smaller temporal step-sizes are used for the FD and the HM, since their time-stepping solver has a smaller stability region. The methods can simply be compared by considering their elapsed CPU times (roughly) and checking the absolute errors.
The Greek characters are significant to calculate in order to show the stability of a numerical method in option pricing. Hence, Figure 3 shows the delta and gamma and confirms a stable numerical solution for the proposed approach.
It is commented that the two methods (FD and HM) have some more stability issues in contrast to the RBF-FDM. This is because of the use of a time-stepping method with a larger stability region. The methods FD and HM use the explicit first-order Euler’s method, which of course has a smaller stability region in contrast to (44).
In Table 1 and Table 2, it is noticeable that the proposed approach has a slower calculation time as well as higher accuracies. The improved accuracy in terms of absolute errors is mainly due to the application of the RBF-FDM scheme with an appropriate shape parameter, and the lower computational time is mainly due to employing lower temporal step sizes because of using (44) with larger stability regions.
With the numerical results given in this section, we believe that our fast and stable solver opens a new possibility for efficient and accurate derivative pricing.
We end this section by repeating Example 1 and only by changing a = 0.85 in order to check the numerical results when the Feller’s condition is unsatisfied. Considering RBF-FDM with m = 30 , n = 18 , and o = 18 , the numerical results are given in Figure 4, confirming the applicability and usefulness of the proposed approach even when the Feller condition is unsatisfied.

7. Summary

Trading based on options can occur in daily market routines. Hence, pricing them when both the interest rate and the volatility follow some stochastic dynamics is of practical interest for risk managers and traders. This work focuses on the significant financial model of HHW as a 3D time-dependent PDE problem and proposes a new solver to expand the relevant literature’s conclusions. In fact, our methodology is to consider graded meshes on all the involved spatial variables in order to concentrate on the financially hot area more. Then, the weighting coefficients for an RBF were constructed on such meshes and proved to have second and first orders to approximate the first and second derivatives of a function. MOL is then applied through extensive compact matrix notations to build up the new solver as a system of ODEs. An explicit but fast time-stepping method was used and the stability of the solver discussed in detail. Computational simulations have validated the applicability of the presented RBF-FD sparse solver for solving the HHW equation.
Investigating how to compute an optimal value for the shape parameter as well as to employ the new efficient method furnished in this paper for other kinds of derivative securities could be conducted in future works in this field of research. Besides, it is recalled that the generalized Stein–Stein model [7], which is also known as the model of Schöbel–Zhu [33], can be expressed as a system of two SDEs in a similar way to (1) but differs in some perspectives. Applying such a consideration along with stochastic interest rates can yield another generalized hybrid model, known as the hybrid Schöbel–Zhu–Hull–White PDE, which is discussed deeply in [34]. Pricing such a PDE [35,36] can be investigated by the localized meshless methods in forthcoming works.

Author Contributions

Conceptualization, T.L., C.L. and Y.Y.; formal analysis, T.L. and S.S.; funding acquisition, M.Z.U. and T.L.; investigation, C.L. and Y.Y.; methodology, C.L. and Y.Y.; supervision, T.L.; validation, M.Z.U. and S.S.; writing—original draft, M.Z.U. and S.S.; writing—review and editing, T.L., Y.Y. and S.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Hebei Province of China (A2020501007), the Fundamental Research Funds for the Central Universities (N2123015), and the Technical Service Project of Eighth Geological Brigade of Hebei Bureau of Geology and Mineral Resources Exploration (KJ2022-021).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

For the data availability statement, we state that data sharing is not applicable to this article as no new data were created in this study.

Acknowledgments

The second author (M.Z.U.) states the following: The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia has funded this project, under grant no. (RG-11-130-43). The authors thanks all four referees, particularly referee 2, for many comments and corrections on an earlier version of this manuscript that helped to improve the paper.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Heston, S.L. A closed-form solution for options with stochastic volatility with applications to bond and currency options. Rev. Financ. Stud. 1993, 6, 327–343. [Google Scholar] [CrossRef]
  2. Adhikari, R. Foundations of Computational Finance. Math. J. 2020, 22, 1–59. [Google Scholar] [CrossRef]
  3. Cox, J.C.; Ingersoll, J.E.; Ross, S.A. A theory of the term structure of interest rates. Econometrica 1985, 53, 385–407. [Google Scholar] [CrossRef]
  4. Hull, J.; White, A. Using Hull-White interest rate trees. J. Deriv. 1996, 4, 26–36. [Google Scholar] [CrossRef]
  5. Cao, J.; Lian, G.; Roslan, T.R.N. Pricing variance swaps under stochastic volatility and stochastic interest rate. Appl. Math. Comput. 2016, 277, 72–81. [Google Scholar] [CrossRef]
  6. Hull, J.; White, A. The general Hull-White model and supercalibration. Financ. Anal. J. 2001, 57, 34–43. [Google Scholar] [CrossRef]
  7. Stein, J.C.; Stein, E.M. Stock price distributions with stochastic volatility: An analytic approach. Rev. Financ. Stud. 1991, 4, 727–752. [Google Scholar] [CrossRef]
  8. Djeutcha, E.; Aime Fono, L. Pricing for options in a Hull-White-Vasicek volatility and interest rate model. Appl. Math. Sci. 2021, 15, 377–384. [Google Scholar] [CrossRef]
  9. Grzelak, L.A.; Oosterlee, C.W. On the Heston model with stochastic interest rates. SIAM J. Financ. Math. 2011, 2, 255–286. [Google Scholar] [CrossRef]
  10. Ullah, M.Z. Numerical solution of Heston-Hull-White three-dimensional PDE with a high order FD scheme. Mathematics 2019, 7, 704. [Google Scholar] [CrossRef] [Green Version]
  11. Wong, H.Y.; Zhao, J. An artificial boundary method for the Hull-White model of American interest rate derivatives. Appl. Math. Comput. 2011, 217, 4627–4643. [Google Scholar] [CrossRef]
  12. Fornberg, B. A Practical Guide to Pseudospectral Methods; Cambridge University Press: Cambridge, UK, 1996. [Google Scholar]
  13. Soleymani, F.; Zhu, S. On a high-order Gaussian radial basis function generated Hermite finite difference method and its application. Calcolo 2021, 58, 50. [Google Scholar] [CrossRef]
  14. Kadalbajoo, M.K.; Kumar, A.; Pati Tripathi, L. Application of the local radial basis function-based finite difference method for pricing American options. Int. J. Comput. Math. 2015, 92, 1608–1624. [Google Scholar] [CrossRef]
  15. Yousuf, M.; Khaliq, A.Q.M. Partial differential integral equation model for pricing American option under multi state regime switching with jumps. Numer. Meth. Part. Diff. Equ. 2023, 39, 890–912. [Google Scholar] [CrossRef]
  16. Milovanović, S.; von Sydow, L. Radial basis function generated finite differences for option pricing problems. Comput. Math. Appl. 2018, 75, 1462–1481. [Google Scholar] [CrossRef]
  17. Milovanović, S.; von Sydow, L. A high order method for pricing of financial derivatives using radial basis function generated finite differences. Math. Comput. Simul. 2020, 174, 205–217. [Google Scholar] [CrossRef]
  18. Soleymani, F. Finding an efficient machine learning predictor for lesser liquid credit default swaps in equity markets. Iran. J. Numer. Anal. Optim. 2023, 13, 19–38. [Google Scholar]
  19. Kluge, T. Pricing Derivatives in Stochastic Volatility Models Using the Finite Difference Method. Ph.D. Thesis, TU Chemnitz, Chemnitz, Germany, 2002. [Google Scholar]
  20. Soleymani, F.; Saray, B.N. Pricing the financial Heston-Hull-White model with arbitrary correlation factors via an adaptive FDM. Comput. Math. Appl. 2019, 77, 1107–1123. [Google Scholar] [CrossRef]
  21. Haentjens, T.; in’t Hout, K.J. Alternating direction implicit finite difference schemes for the Heston-Hull-White partial differential equation. J. Comput. Financ. 2012, 16, 83–110. [Google Scholar] [CrossRef]
  22. Fasshauer, G.E. Meshfree Approximation Methods with MATLAB; World Scientific Publishing Co.: Singapore, 2007. [Google Scholar]
  23. Rahimi, A.; Shivanian, E.; Abbasbandy, S. Analysis of new RBF-FD weights, calculated based on inverse quadratic functions. J. Math. 2022, 2022, 3718132. [Google Scholar] [CrossRef]
  24. Soleymani, F. An efficient numerical scheme for the solution of a stochastic volatility model including contemporaneous jumps in finance. Int. J. Comput. Methods 2022, 19, 2141021. [Google Scholar] [CrossRef]
  25. Platte, R.B. How fast do radial basis function interpolants of analytic functions converge? IMA J. Numer. Anal. 2011, 31, 1578–1597. [Google Scholar] [CrossRef]
  26. Wright, G.B.; Fornberg, B. Scattered node compact finite difference-type formulas generated from radial basis functions. J. Comput. Phys. 2006, 212, 99–123. [Google Scholar] [CrossRef]
  27. Knapp, R. A method of lines framework in Mathematica. J. Numer. Anal. Indust. Appl. Math. 2008, 3, 43–59. [Google Scholar]
  28. Meyer, G.H. The Time-Discrete Method of Lines for Options and Bonds: A PDE Approach; World Scientific Publishing: Hackensack, NJ, USA, 2015. [Google Scholar]
  29. Soleymani, F.; Akgül, A.; Karatas Akgül, E. On an improved computational solution for the 3D HCIR PDE in finance. An. Stiintifice Ale Univ. Ovidius Constanta—Ser. Mat. 2019, 27, 207–230. [Google Scholar] [CrossRef]
  30. Sofroniou, M.; Knapp, R. Advanced Numerical Differential Equation Solving in Mathematica; Wolfram Mathematica, Tutorial Collection: Champaign, IL, USA, 2008. [Google Scholar]
  31. Butcher, J.C. Numerical Methods for Ordinary Differential Equations, 2nd ed.; Wiley: Oxford, UK, 2008. [Google Scholar]
  32. Wellin, P.R.; Gaylord, R.J.; Kamin, S.N. An Introduction to Programming with Mathematica; Cambridge University Press: Cambridge, UK, 2005. [Google Scholar]
  33. Schöbel, R.; Zhu, J. Stochasic volatility with an Ornstein-Uhlenbeck process: An extension. Eur. Financ. Rev. 1999, 3, 23–46. [Google Scholar] [CrossRef]
  34. Grzelak, L.A.; Oosterlee, C.W.; Van Weeren, S. Extension of stochastic volatility equity models with the Hull-White interest rate process. Quant. Finance 2012, 12, 89–105. [Google Scholar] [CrossRef]
  35. van Haastrecht, A.; Lord, R.; Pelsser, A.; Schrager, D. Pricing long-maturity equity and FX derivatives with stochastic interest rates and stochastic volatility. Insur. Math. Econ. 2009, 45, 436–448. [Google Scholar] [CrossRef]
  36. Guo, S.; Grzelak, L.; Oosterlee, C.W. Analysis of an affine version of the Heston-Hull-White option pricing partial differential equation. Appl. Numer. Math. 2013, 72, 143–159. [Google Scholar] [CrossRef] [Green Version]
Figure 1. In Example 1 for m = 24 , n = 14 and o = 14 . (Left): The density/sparsity pattern of the system matrix A ¯ . (Right): The numerical solution based on RBF-FDM under the cut U ( s , 0.04 , r , T ) .
Figure 1. In Example 1 for m = 24 , n = 14 and o = 14 . (Left): The density/sparsity pattern of the system matrix A ¯ . (Right): The numerical solution based on RBF-FDM under the cut U ( s , 0.04 , r , T ) .
Mathematics 11 00833 g001
Figure 2. In Example 1 for m = 20 , n = 10 and o = 10 . (Left): The numerical solution based on RBF-FDM under the cut U ( s , 1 , r , T ) . (Right): The numerical solution based on RBF-FDM under the cut U ( E , v , r , T ) .
Figure 2. In Example 1 for m = 20 , n = 10 and o = 10 . (Left): The numerical solution based on RBF-FDM under the cut U ( s , 1 , r , T ) . (Right): The numerical solution based on RBF-FDM under the cut U ( E , v , r , T ) .
Mathematics 11 00833 g002
Figure 3. The Greek characters delta (Left) and gamma (Right) at u ( s , v , 0.024 , 1 ) via the RBF-FDM method in Example 1 for m = 28 , n = 16 , and o = 16 .
Figure 3. The Greek characters delta (Left) and gamma (Right) at u ( s , v , 0.024 , 1 ) via the RBF-FDM method in Example 1 for m = 28 , n = 16 , and o = 16 .
Mathematics 11 00833 g003
Figure 4. Results for the unsatisfied Feller condition: Left: The numerical solution based on RBF-FDM under the cut U ( s , v , 0.024 , T ) . Right: The numerical solution based on RBF-FDM under the cut U ( s , 0.04 , r , T ) .
Figure 4. Results for the unsatisfied Feller condition: Left: The numerical solution based on RBF-FDM under the cut U ( s , v , 0.024 , T ) . Right: The numerical solution based on RBF-FDM under the cut U ( s , 0.04 , r , T ) .
Mathematics 11 00833 g004
Table 1. Results of numerical simulations in Example 1.
Table 1. Results of numerical simulations in Example 1.
SolvermnoN ξ u num ε Time
FD
10864800.00225.4925.7 × 10 1 0.47
14101014000.00111.0983.1 × 10 1 0.79
18121225920.000517.2036.3 × 10 2 1.31
24141447040.0002518.7311.5 × 10 1 3.67
28161671680.000213.3291.7 × 10 1 7.26
45222221,7800.0000514.6369.4 × 10 2 72.65
HM
10864800.00114.4721.0 × 10 1 0.56
14101014000.000515.3005.3 × 10 2 1.03
18121225920.0002515.6153.4 × 10 2 2.76
24141447040.000115.8062.2 × 10 2 9.64
28161671680.000115.8711.8 × 10 2 12.69
50222224,2000.00002516.0065.9 × 10 3 188.58
RBF-FDM
10864800.00415.2375.8 × 10 2 0.75
14101014000.002516.0021.0 × 10 2 1.31
18121225920.00216.0299.0 × 10 3 3.26
24141447040.000516.2927.1 × 10 3 7.49
28161671680.000416.2464.3 × 10 3 11.29
50222224,2000.000216.1919.2 × 10 4 123.47
Table 2. Results of numerical simulations in Example 2.
Table 2. Results of numerical simulations in Example 2.
SolvermnoN ξ u num ε Time
20101020000.0002522.0224.9 × 10 2 1.89
24121234560.000221.4362.1 × 10 2 4.12
26141450960.000119.6786.1 × 10 2 9.69
28161671680.000117.3761.7 × 10 1 12.59
30181897200.0000517.4041.7 × 10 1 37.65
36202014,4000.00002520.5102.2 × 10 2 109.47
38222218,3920.00002520.2753.3 × 10 2 164.28
42222220,3280.0000218.3701.2 × 10 1 231.74
HM
20101020000.0002520.6311.6 × 10 2 2.14
24121234560.000220.7091.2 × 10 2 4.31
26141450960.000120.7291.1 × 10 2 9.17
28161671680.000120.7481.0 × 10 2 13.65
30181897200.0000520.7679.9 × 10 3 38.12
36202014,4000.00002520.8107.8 × 10 3 110.92
38222218,3920.00002520.8187.5 × 10 3 170.31
42222220,3280.0000220.8336.7 × 10 3 253.64
RBF-FDM
20101020000.00420.859,6.4 × 10 3 2.54
24121234560.00220.901,4.4 × 10 3 5.01
26141450960.00120.931,3.0 × 10 3 7.58
28161671680.000520.943,2.4 × 10 3 14.69
30181897200.000420.956,1.8 × 10 3 37.61
36202014,4000.000220.967,1.2 × 10 3 103.91
38222218,3920.000120.980,6.6 × 10 4 172.66
42222220,3280.0000520.9825.7 × 10 4 259.37
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

Liu, T.; Ullah, M.Z.; Shateyi, S.; Liu, C.; Yang, Y. An Efficient Localized RBF-FD Method to Simulate the Heston–Hull–White PDE in Finance. Mathematics 2023, 11, 833. https://doi.org/10.3390/math11040833

AMA Style

Liu T, Ullah MZ, Shateyi S, Liu C, Yang Y. An Efficient Localized RBF-FD Method to Simulate the Heston–Hull–White PDE in Finance. Mathematics. 2023; 11(4):833. https://doi.org/10.3390/math11040833

Chicago/Turabian Style

Liu, Tao, Malik Zaka Ullah, Stanford Shateyi, Chao Liu, and Yanxiong Yang. 2023. "An Efficient Localized RBF-FD Method to Simulate the Heston–Hull–White PDE in Finance" Mathematics 11, no. 4: 833. https://doi.org/10.3390/math11040833

APA Style

Liu, T., Ullah, M. Z., Shateyi, S., Liu, C., & Yang, Y. (2023). An Efficient Localized RBF-FD Method to Simulate the Heston–Hull–White PDE in Finance. Mathematics, 11(4), 833. https://doi.org/10.3390/math11040833

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