Next Article in Journal
Particle Probability Hypothesis Density Filter Based on Pairwise Markov Chains
Previous Article in Journal
A Distributed Execution Pipeline for Clustering Trajectories Based on a Fuzzy Similarity Relation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Exploration of a Balanced Up-Downwind Scheme for Solving Heston Volatility Model Equations on Variable Grids

Department of Mathematics and Center for Astrophysics, Space Physics, and Engineering Research, Baylor University, One Bear Place, Waco, TX 76798-7328, USA
*
Author to whom correspondence should be addressed.
Algorithms 2019, 12(2), 30; https://doi.org/10.3390/a12020030
Submission received: 26 October 2018 / Revised: 4 January 2019 / Accepted: 6 January 2019 / Published: 22 January 2019

Abstract

:
This paper studies an effective finite difference scheme for solving two-dimensional Heston stochastic volatility option-pricing model problems. A dynamically balanced up-downwind strategy for approximating the cross-derivative is implemented and analyzed. Semi-discretized and spatially nonuniform platforms are utilized. The numerical method comprised is simple and straightforward, with reliable first order overall approximations. The spectral norm is used throughout the investigation, and numerical stability is proven. Simulation experiments are given to illustrate our results.

1. Introduction

Demand for highly effective, efficient, and reliable numerical methods has grown increasingly high for solving option-trading modeling equations involving cross-derivative terms. However, desirable computational procedures are, in general, difficult to obtain, due to challenges from the participation of cross-derivatives [1,2]. This motivates our study. In this investigation, targeted at European options that can only be exercised on dates of maturity, we propose and analyze a new and dynamically balanced up-downwind finite difference method in the pursuit.
In the early 1970s, Black, Scholes, and Merton introduced the popular Black-Scholes-Merton (BSM) model [3,4]. Under their consideration, stock prices were assumed to follow geometric Brownian motion, while the volatility of the stock prices was fixed and no sudden jumps occurred. However, classic BSM models often cannot fit ideally into the market data observed nowadays [4]. This may be due to the fact that, in modern financial markets, not only are stock prices subject to risk, but also the estimate of riskiness is typically subject to significant uncertainty. The Black-Scholes model does not adequately take into account essential characteristics of market dynamics, such as fat tails, skewness of the distribution of log returns, and the correlation between the value of the underlying and its volatility. It has also been observed that the volatility starts to fluctuate when the market reacts to new information [5]. To incorporate an additional source of randomness into an option pricing model, Heston proposed a more refined approach, based on the concept of stochastic volatility [5,6,7].
A closed-form solution of the model was also obtained by Heston, under a set of specific boundary and initial values for assets of the European type [6]. However, to meet a growing demand for American options and other assets, pricing equations often need to be placed together with more realistic initial boundary conditions, or even free boundary conditions. Closed forms of solutions are, in general, unavailable. Thus, numerical approximations of such solutions have become important and necessary. This paper is concerned with European options. The scheme we developed here can be extended directly to price American options. However, due to the free boundary conditions associated with the American options, the stability and convergence analysis of the scheme becomes rather complicated. We are still working on the theoretical results behind applying our scheme to American options.
There have been numerous recent publications on the numerical solution of Heston modeling equations. For instance, certain first-order up-downwind algorithms were proposed and studied by Ma and Forsyth [2]. Stability analysis was carried out via standard von Neumann analysis for Cauchy problems or problems with periodic boundary conditions [8,9]. Although numerical stabilities have been under investigation for even high order schemes on nonuniform grids [4], rigorous analysis is only available in cases where the cross-derivative terms are neglected. The challenge for stability analysis persists, whenever a cross-derivative or more general boundary data structure exists [2,10].
However, cross-derivatives are essential to partial differential equations modeling a Heston Process. Further, Heston modeling formulations also require more realistic Dirichlet, Neumann, or mixed boundary conditions [6,11]. These have motivated our approaches. In this paper, we are particularly interested in computations based on a Heston put option model [4,8,9,12,13,14]. We are primarily interested in a linearly stable finite difference method, based on nonuniform grids. Our intention is to effectively reduce the computational costs and raise the algorithmic efficiency, by way of application of appropriate adaptive mechanisms. These results can be extended for call options, in similar ways.
In particular, we consider the following two-dimensional Heston volatility model interpreting the behavior of the asset value S and its volatility y at time t 0 ,
d S ( t ) S ( t ) = μ d t + y ( t ) d W 1 ( t ) ,
d y ( t ) = κ ( η y ( t ) ) d t + σ y ( t ) d W 2 ( t ) ,
cov ( d W 1 ( t ) , d W 2 ( t ) ) = ρ d t ,
where μ is the expected return of the asset, κ is the rate of reversion to the mean level of the volatility, η is the mean level of the volatility, σ > 0 is the volatility parameter, and cov ( u , v ) is the covariance between u and v [6,15]. The two Wiener processes W 1 ( t ) and W 2 ( t ) describe the random noise in asset and volatility, respectively; they are assumed to be correlated with a constant correlation coefficient ρ [ 1 , 1 ] .
Let v ( S , y , t ) , t 0 , denote the value of a European put option that is a function of asset price, volatility, and time. An application of Itô’s Lemma and the non-arbitrage principle with a riskless portfolio construction leads to [4,6,9,16,17],
v t + 1 2 y S 2 v S S + ρ σ y S v S y + σ 2 y 2 v y y + r S v S + κ ( η y ) v y = r v , S , y > 0 .
Let
v ( S , y , T ) = max K S , 0 , S , y 0 ,
be the terminal condition to use, where T is the payoff time and K is the strike price. We adopt the following mixed boundary conditions for S , y > 0 and T > t 0 [8]:
v ( 0 , y , t ) = K e r ( T t ) ,
lim S v ( S , y , t ) = 0 ,
v y ( S , 0 , t ) = 0 ,
lim y v y ( S , y , t ) = 0 .
Set τ = T t . Equation (4) can be rewritten as
v τ = y S 2 2 v S S + ρ σ y S v S y + σ 2 y 2 v y y + r S v S + κ ( η y ) v y r v , T > τ > 0 .
Let x = ln S K and u = v K e r τ . For < x < , y > 0 , T > τ > 0 , we observe that
u τ = y 2 u x x + ρ σ y u x y + σ 2 y 2 u y y y 2 r u x + κ ( η y ) u y ,
together with constraints [4,8,14],
u ( x , y , 0 ) = max 1 e x , 0 , < x < , y > 0 ,
lim x u ( x , y , τ ) = 1 , y > 0 , T τ > 0 ,
lim x u ( x , y , τ ) = 0 , y > 0 , T τ > 0 ,
u y ( x , 0 , τ ) = 0 , < x < , T τ > 0 ,
lim y u y ( x , y , τ ) = 0 , < x < , T τ > 0 .
We may extend the temporal domain for (9)–(14) by allowing T = . Further, for the sake of computation, we consider a truncated spatial domain Ω = { ( x , y ) : X < x < X ; 0 < y < Y } , for sufficiently large X and Y , in the rest of our investigation.
In the next section, a nonuniform spatial mesh will be introduced. Based on it, a semi-discretized system will be derived for solving (9)–(14). Dynamically balanced up-downwind difference approximations will be presented. A general linear stability analysis and computational experiments will be carried out in Section 2. Computationally evaluated rates of convergence of the scheme will also be provided. Finally, conclusions and future research intentions will be given in Section 3.

2. Results

2.1. Balanced Up-Downwind Semi-Discretized Scheme

Let X = x 0 < x 1 < < x M < x M + 1 = X , 0 = y 0 < y 1 < < y N < y N + 1 = Y , for which x m x m 1 = h m , y n y n 1 = k n , 0 < h m , k n 1 , m = 1 , 2 , , M + 1 , n = 1 , 2 , , N + 1 .
Let z m , n = z m , n ( τ ) be an approximation of z ( x m , y n , τ ) , 0 m M + 1 , 0 n N + 1 , 0 < τ < T . Further, let Δ , + , Δ , , and Δ , 0 be forward, backward, and central difference operators in the -direction, respectively, where { x , y } [10,18]. Similarly, for appropriate indexes, we define
Δ x , 0 2 z m , n = 2 z m + 1 , n h m + 1 ( h m + 1 + h m ) 2 z m , n h m + 1 h m + 2 z m 1 , n h m ( h m + 1 + h m ) ,
Δ y , 0 2 z m , n = 2 z m , n + 1 k n + 1 ( k n + 1 + k n ) 2 z m , n k n + 1 k n + 2 z m , n 1 k n ( k n + 1 + k n ) .
We now approximate the diffusion terms in (9) by using the above, and the derivatives in (13) and (14) via the following,
u y ( x m , 0 , τ ) 1 h y Δ y , + u m , 0 ( τ ) , u y ( x m , Y , τ ) 1 h y Δ y , u m , N + 1 ( τ ) , 0 < τ < T .
We approximate the advection terms in (9) through three different channels, depending upon relation between η and r .
Case 1: η > 2 r .
u x ( x m , y n , τ ) Δ x , + u m , n , u y ( x m , y n , τ ) Δ y , + u m , n , 2 r y > 0 ,
u x ( x m , y n , τ ) Δ x , u m , n , u y ( x m , y n , τ ) Δ y , + u m , n , η y > r ,
u x ( x m , y n , τ ) Δ x , u m , n , u y ( x m , y n , τ ) Δ y , u m , n , Y > y > η .
Case 2: η 2 r .
u x ( x m , y n , τ ) Δ x , + u m , n , u y ( x m , y n , τ ) Δ y , + u m , n , η y > 0 ,
u x ( x m , y n , τ ) Δ x , + u m , n , u y ( x m , y n , τ ) Δ y , u m , n , 2 r y > η ,
u x ( x m , y n , τ ) Δ x , u m , n , u y ( x m , y n , τ ) Δ y , u m , n , Y > y > 2 r .
The computational stencils for the Case 1 and Case 2 are given in Figure 1.
Define
h min = min m = 1 , 2 M h m , h max = max m = 1 , 2 M h m ; k min = min n = 1 , 2 N k n , k max = max n = 1 , 2 N k n .
We now approximate the cross-derivative in (9) dynamically. To this end, we have the following two cases presented in Section 2.1.1 and Section 2.1.2.

2.1.1. Case for ρ [ 1 , 0 ]

For smoothness of the nonuniform grids [18], we require that
ρ k max σ h min σ h max 1 ρ k min .
We propose that
u x y ( x m , y n , τ ) = 1 2 ( Δ x , + Δ y , + Δ x , Δ y , + ) u m , n ( τ ) + O ( h max + k max ) .
Substitute all spatial derivative approximations into (9), and let w denote the approximate solution to u . We acquire the following linear system,
w ( τ ) = A w ( τ ) + f ( τ ) ,
where w , f R M N and A R M N × M N is block tridiagonal of the form
A = D 1 Q 1 0 P 2 D 2 Q 2 0 P M 2 D M 2 Q M 2 0 P M 1 D M 1 Q M 1 0 P M D M ,
where P i , D j , Q k R N × N , i = 2 , 3 , , M ; j = 1 , 2 , , M ; k = 1 , 2 , , M 1 . Nontrivial entries of the matrices P m , D m , and Q m , for their respective ranges of m , are as follows:
p n , n ( m ) = y n h m ( h m + h m + 1 ) + ρ σ y n 2 h m k n + 1 , 0 < y n 2 r , y n h m ( h m + h m + 1 ) + ρ σ y n 2 h m k n + 1 + y n 2 r 2 h m , 2 r < y n < Y k N + 1 , y N h m ( h m + h m + 1 ) + y N 2 r 2 h m , y n = Y k N + 1 ; p n , n + 1 ( m ) = ρ σ y n 2 h m k n ; d n , n 1 ( m ) = σ 2 y n k n ( k n + k n + 1 ) + ρ σ y n 2 h m + 1 k n , k 1 < y n η , σ 2 y n k n ( k n + k n + 1 ) + ρ σ y n 2 h m + 1 k n κ ( η y n ) k n , η < y n Y k N + 1 ; d n , n ( m ) = α m , 1 + y 1 2 r 2 h m + 1 κ ( η y 1 ) k 2 , y n = k 1 , β m , n + y n 2 r 2 h m + 1 κ ( η y n ) k n + 1 , k 1 < y n 2 r , β m , n y n 2 r 2 h m κ ( η y n ) k n + 1 , 2 r < y n η , β m , n y n 2 r 2 h m + κ ( η y n ) k n , η < y n < Y k N + 1 , γ m , N y N 2 r 2 h m + κ ( η y N ) k N , y N = Y k N + 1 ; d n , n + 1 ( m ) = σ 2 y n k n + 1 ( k n + k n + 1 ) + ρ σ y n 2 h m k n + 1 + κ ( η y n ) k n + 1 , 0 < y n η , σ 2 y n k n + 1 ( k n + k n + 1 ) + ρ σ y n 2 h m k n + 1 , η < y n < Y k N + 1 ; q n , n 1 ( m ) = ρ σ y n 2 h m + 1 k n , y n > k 1 ; q n , n ( m ) = y 1 h m + 1 ( h m + h m + 1 ) y 1 2 r 2 h m + 1 , y n = k 1 , y n h m + 1 ( h m + h m + 1 ) + ρ σ y n 2 h m + 1 k n y n 2 r 2 h m + 1 , k 1 < y 2 r , y n h m + 1 ( h m + h m + 1 ) + ρ σ y n 2 h m + 1 k n , 2 r < y n Y k N + 1 ,
where
α m , n = y n h m h m + 1 σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m k n + 1 , β m , n = y n h m h m + 1 σ 2 y n k n k n + 1 ρ σ y n 2 h m + 1 k n ρ σ y n 2 h m k n + 1 , γ m , n = y n h m h m + 1 σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n .
It is observed that, in the event ρ = 1 , we have the following, due to (23):
h min = h max = h , k min = k max = k , k = σ h ,
which indicates that uniform spatial grids must be employed. Thus, (25) reduces to
w ( τ ) = A s w ( τ ) + f s ( τ ) .
Nontrivial entries of A s are readily obtained, based on the above discussion.

2.1.2. Case for ρ ( 0 , 1 ]

We need the following restrictions on mesh steps, in the case [18]
ρ k max σ h min σ h max 1 ρ k min .
Apparently, when ρ = 1 , the above implies that a uniform spatial mesh with h = σ k must be used.
Differing from (24), we consider a new, dynamically balanced cross-derivative approximation,
u x y ( x m , y n , τ ) = 1 2 ( Δ x , Δ y , + Δ x , + Δ y , + ) u m , n ( τ ) + O ( h max + k max ) .
Computational stencils for (24) and (27) are shown in Figure 2.
In this circumstance, we obtain the following new system
w ( τ ) = A ˜ w ( τ ) + f ˜ ( τ ) ,
where w , f ˜ ( τ ) R M N and A ˜ R M N × M N is block tridiagonal; that is,
A ˜ = D ˜ 1 Q ˜ 1 0 P ˜ 2 D ˜ 2 Q ˜ 2 0 P ˜ M 2 D ˜ M 2 Q ˜ M 2 0 P ˜ M 1 D ˜ M 1 Q ˜ M 1 0 P ˜ M D ˜ M
Nontrivial entries of P ˜ m , D ˜ m , and Q ˜ m , within their respective ranges of m , are given by
p ˜ n , n 1 ( m ) = ρ σ y n 2 h m k n , y n > k 1 ; p ˜ n , n ( m ) = y 1 h m ( h m + h m + 1 ) , y n = k 1 , y n h m ( h m + h m + 1 ) ρ σ y n 2 h m k n , k 1 < y n 2 r , y n h m ( h m + h m + 1 ) ρ σ y n 2 h m k n + y n 2 r 2 h m , 2 r < y n Y k N + 1 ; r ˜ n , n 1 ( m ) = σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n , k 1 < y n η , σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n κ ( η y n ) k n , η < y n Y k N + 1 ; r ˜ n , n ( m ) = α ˜ m , 1 + y 1 2 r 2 h m + 1 κ ( η y 1 ) k n + 1 , y 1 = k 1 , β ˜ m , n + y n 2 r 2 h m + 1 κ ( η y n ) k n + 1 , k 1 < y n 2 r , β ˜ m , n y n 2 r 2 h m κ ( η y n ) k n + 1 , 2 r < y n η , β ˜ m , n y n 2 r 2 h m + κ ( η y n ) k n , η < y n < Y k N + 1 , γ ˜ m , N y N 2 r 2 h m + κ ( η y N ) k N , y N = Y k N + 1 ;
r ˜ n , n + 1 ( m ) = σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 + κ ( η y n ) k n + 1 , 0 < y n η , σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 , η < y n < Y k N + 1 ; q ˜ n , n ( m ) = y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 y n 2 r 2 h m + 1 , 0 < y n 2 r , y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 , 2 r < y n < Y k N + 1 , y N h m + 1 ( h m + h m + 1 ) , y N = Y k N + 1 ; q ˜ n , n + 1 ( m ) = ρ σ y n 2 h m + 1 k n + 1 , 0 < y n < Y k N + 1 ,
where
α ˜ m , n = y n h m h m + 1 σ 2 y n k n + 1 ( k n + k n + 1 ) + ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m k n , β ˜ m , n = y n h m h m + 1 σ 2 y n k n k n + 1 + ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m k n , γ ˜ m , n = y n h m h m + 1 σ 2 y n k n ( k n + k n + 1 ) + ρ σ y n 2 h m k n .
The semi-discretized method (28) reduces to a uniform scheme when ρ = 1 ; that is,
w ( τ ) = 1 2 h 2 A ˜ s w ( τ ) + f ˜ ( τ ) .
The nontrivial elements of A ˜ can be determined from simplifications of the above formulae.

2.2. Numerical Stability

It is readily verified that the the solution to (25) is
w ( τ n + 1 ) = e Δ τ A w ( τ n ) + τ n τ n + 1 e ( t τ n ) A f ( t ) d t , n = 0 , 1 , ,
where τ n = n Δ τ . The formal solution to (28) is similar. We have:
Lemma 1 ([10,19]).
The semi-discretized schemes (25) and (28) are stable if
lim h max , k max 0 max τ [ 0 , τ ] e τ A 2 c ( τ ) , lim h max , k max 0 max τ [ 0 , τ ] e τ A ˜ 2 c ( τ ) ,
where τ ( 0 , T ) .
Lemma 2 ([10]).
Let B C d × d . Then σ ( B ) i = 1 d S i , where
S i = z C : | z b i , i | j = 1 , j i d | b i , j |
are Geršhgorin discs, and σ ( B ) is the set of all eigenvalues of B . Moreover, λ σ ( B ) may lie on S i 0 for some i 0 { 1 , 2 , , d } , only if λ S i for all i = 1 , 2 , , d .
Lemma 3 ([20]).
The matrix exponential e t A tends to a zero matrix as t + if and only if all the eigenvalues of A have strictly negative real parts.
Theorem 1.
The semi-discretized schemes (25) and (28) are linearly stable.
Proof. 
We will only need to show the case of ρ ( 0 , 1 ] , η > 2 r for (25), since extensions of our results for other cases are technically imminent. Thus, we only need to show that each of the M N Geršhgorin discs of A lies on the left side of the complex plane. In fact, there are five types of the Geršhgorin discs to consider:
  • Discs centered at an internal mesh point;
  • discs centered on one of the Dirichlet boundaries;
  • discs centered on the Neumann boundary;
  • discs centered at one of the intersection mesh points of two Dirichlet boundaries; and
  • discs centered at one of the intersection mesh points of one Dirichlet boundary and the Neumann boundary.
We provide detailed proofs for the first three types of discs. Similar arguments can be applied to the rest of the cases.
Case 1: In this situation, we first consider the situation in which η < y n Y . Let z S i be any complex number, where S i is a Geršhgorin disc centered at an internal point of the spatial grids. Thus,
z + y n h m h m + 1 + σ 2 y n k n k n + 1 ρ σ y n 2 h m + 1 k n + 1 ρ σ y n 2 h m k n + y n 2 r 2 h m κ ( η y n ) k n σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n κ ( η y n ) k n + σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 + y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m k n + y n h m ( h m + h m + 1 ) ρ σ y n 2 h m k n + y n 2 r 2 h m .
Let α be the real part of z . Since we are concerned only about the upper bound of the real part of the eigenvalues, we may replace z by α via a triangle inequality, and remove the absolute value sign on the left hand side of (30). As a consequence, (30) renders to
α + y n h m h m + 1 + σ 2 y n k n k n + 1 ρ σ y n 2 h m + 1 k n + 1 ρ σ y n 2 h m k n + y n 2 r 2 h m κ ( η y n ) k n σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n κ ( η y n ) k n + σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 + y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m k n + y n h m ( h m + h m + 1 ) ρ σ y n 2 h m k n + y n 2 r 2 h m .
Recall (26) and that ρ > 0 . We have
2 ρ σ k n , 2 ρ σ k n + 1 h m + h m + 1 and h m , h m + 1 ρ σ ( k n + k n + 1 ) .
The above indicates that
σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n , σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 , y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 , y n h m ( h m + h m + 1 ) ρ σ y n 2 h m k n .
Furthermore, since y > η > 2 r , we conclude that
κ ( η y n ) k n 0   and   y n 2 r 2 h m 0 .
Therefore, the term inside each pair of absolute signs in (31) must be positive. We may remove all absolute signs in (31), and subsequently yield
α 0 ,
which is what we expect. Generalizations of the discussion for cases involving y η are straightforward. Therefore, all eigenvalues contained in S i must lie on the left half of the complex plane.
Case 2: Without loss of generality, we consider the case where x = x 1 and η < y < Y . Thus, for any complex number z S i , where S i is a Geršhgorin disc satisfying
z + y n h m h m + 1 + σ 2 y n k n k n + 1 ρ σ y n 2 h m + 1 k n + 1 ρ σ y n 2 h m k n + y n 2 r 2 h m κ ( η y n ) k n σ 2 y n k n ( k n + k n + 1 ) ρ σ y n 2 h m k n κ ( η y n ) k n + σ 2 y n k n + 1 ( k n + k n + 1 ) ρ σ y n 2 h m + 1 k n + 1 + y n h m + 1 ( h m + h m + 1 ) ρ σ y n 2 h m + 1 k n + 1 + ρ σ y n 2 h m + 1 k n + 1 .
Similar to the previous case, we take α to be the real part of z . Thus,
α y n h m + 1 1 h m + h m + 1 1 h m y n 2 r 2 h m < 0 .
The above implies that such an S i must lie strictly on the left half of the complex plane, and the origin cannot be on its boundary. This ensures our expectation.
Case 3: In this circumstance, the Geršhgorin discs S i concerned are centered at boundary points where a Neumann condition is imposed. Hence, for any z S i we have
z + y N h m h m + 1 + σ 2 y N k N ( k N + 1 + k N ) ρ σ y N 2 h m k N + y N 2 r 2 h m κ ( η y N ) k N σ 2 y N k N ( k N + k N + 1 ) ρ σ y N 2 h m k N κ ( η y N ) k N + y N h m + 1 ( h m + h m + 1 ) + ρ σ y N 2 h m k N + y N h m ( h m + h m + 1 ) ρ σ y N 2 h m k N + y N 2 r 2 h m .
The above indicates that α , the real part of z , must satisfy
α y N ( h m + h m + 1 ) 2 y N h m h m + 1 < 0 .
Recall Lemma 2. Since the origin cannot lie on the boundary of every Geršhgorin disc, combining results from the three cases, we conclude immediately that all eigenvalues of A must be strictly in the left half of the complex plane. Thus, we must have
lim h m a x , k m a x 0 max τ [ 0 , τ ] e τ A 2 c ( τ ) .
The above completes our proof. □

2.3. Computational Experiments

Consider (9)–(14). Similar to the discussions by Zhu et al. [14], we fix X = 8 , Y = 1 . We first concentrate on experiments with ρ = 0.5 and T = 0.5 . Next, to test against extreme cases in the option market, we proceed with ρ = 1 and T = 5 . For demonstrating the numerical solution and its rate of convergence estimates, we first consider uniform spatial grids. To this end, we denote
h m = h , k n = k = σ h , m = 1 , 2 , , M ; n = 1 , 2 , , N .
Results over nonuniform grids will be presented later.
Some key parameters used are shown in Table 1. Further, a Crank-Nicolson type temporal integrator will be utilized for advancing our semi-discretized system (25), (28), with Δ τ as the temporal step [19]. It is known that λ = Δ τ / c 2 , where c = min h , k , plays the effective role of the Courant number [21,22]. We experiment with different values of λ , varying from 0.5 to 1.
Our semi-discretized scheme is expected to be up to the first order in convergence in space. To numerically examine this by experiment, we employ a generalized Milne’s device [10,18]. Then, for a selected terminal time T , we denote the numerical solution at point ( x m , y n , T ) , 1 m M , 1 n N , as u m , n ; h for any particular spatial step 0 < h 1 . Likewise, we let u m , n ; h / 2 and u m , n ; h / 4 be the computed solutions obtained by using h / 2 and h / 4 , respectively. Thus, the point-wise rate of spatial convergence at T can be evaluated via
R m , n h 1 ln 2 ln u m , n ; h u m , n ; h / 2 u m , n ; h / 2 u m , n ; h / 4 .
Most of our experiments are accomplished on Apple workstations. MATLAB platforms without parallelizations are used throughout our operations.
Let h = 0.01 and σ = 1 . For simplicity of notation, we use the same letter v for the approximate solution to (4). We show the solution v for ρ = 0.5 and ρ = 1 in Figure 3 and Figure 4, respectively. To see more precise solution profiles, we show corresponding contour maps next to the surfaces. It can be observed that the European put option price is a decreasing function of the stock price S . This coincides well with the financial theory that a put option price should have a negative correlation with the underline stock price [11,23]. To examine further the delicate relationship between a put option price and its volatility, we plot an average numerical solution v ¯ ( y , t ) taken across different stock prices with respect to the volatility in Figure 5. The simulated computational result is exactly what we would expect, since a put option price should be positively correlated with volatility [22,23].
We plot the computed rate of convergence surfaces for the cases ρ = 0.5 and ρ = 1 in Figure 6 and Figure 7, respectively. In addition, a summary of point-wise convergence rates for the circumstance as ρ = 0.5 , T = 0.5 on different spatial grids is given in Table 2. Minor disturbances can be observed in regions where the solution changes fast, particularly in the extreme situations with ρ = 1 , as demonstrated in Figure 7. These results are consistent with those from well-established high-order schemes [2,4,8,13,14]. However, due to the low-order nature of our scheme, to get the same accuracy we have to employ relatively small mesh sizes. This results in longer running times for our scheme. But, because of the established theoretical results, the new method ensures excellent stability and a great structure for accommodating an exponential splitting, which will improve computational efficiency in higher dimensions. Improving computational efficiency through exponential splitting methods, particularly variable step ADI or LOD approximations [12,18,24], is one of our ongoing researches.
Now, we consider simulations over nonuniform spatial grids. To better design our tests, we are particularly interested in the following nonlinear distribution governing functions
z 1 ( S ) = 1 2.56 + 25 ( S / K ) 10 2.56 [ 1 + ( S / K ) 5 ] 4 , S min S S max ,
z 2 ( y ) = 10 0.5 y 7 , y min y y max .
In our simulation experiments, selections of monitoring functions are based initially on the numerical solution v , acquired on uniform spatial meshes. The monitoring function in the S -direction, z 1 , is chosen so more grid points will be distributed around the areas where oscillatory convergence rates appear, as indicated in Figure 7. On the other hand, the monitoring function in the y -direction, z 2 , is chosen in such a way that it matches the trend of solution curvature in direction, as shown in Figure 5. In this way, more mesh points can be relocated ideally to regions where the solution has sharper increases. An overall more accurate result is thus anticipated [19]. For detailed information on general mesh adaptations, we refer the reader to Cheng et al. [24] and Sheng and Padgett [18]. Our nonuniform grids are generated via an arc-length equal-distribution principal for the functions z 1 , z 2 in the S - and y -directions, respectively. The principal is commonly utilized in adaptive computations, and serves as an initial exploration for more sophisticated adaptations [18,24]. The calculation of the mesh coordinates in our experiments is conducted based on a forward Euler formula for arc-lengths [19]. For instance, in the S -direction we have
S j + 1 = S j + ( N 1 ) 1 + [ ( z 1 ( S j ) ) S ] 2 , j = 1 , 2 , N 1 ,
where is the total arc-length; that is,
= S min S max 1 + [ ( z 1 ( S ) ) S ] 2 d S .
While the distribution functions z 1 , z 2 are shown in Figure 8, their composite surface plots can be found in Figure 9. The latter characterizes the 2-dimensional profile of our grid’s distribution. The numerical solution acquired over such nonuniform grids, with ρ = 0.5 and T = 0.5 , is given in Figure 10.
Let Ω N , M be a reference spatial mesh, which can be either our uniform or nonuniform mesh. We may map solutions v unif and v nonunif , numerical solutions obtained on the uniform mesh and nonuniform mesh, respectively, to Ω N , M . We then define the following point-wise relative difference function, R d .
R d ( S , y , t ) = | v unif ( S , y , t ) v nonunif ( S , y , t ) | | v unif ( S , y , t ) | , ( S , y , t ) Ω N , M , 0 < t T .
In our numerical approaches, we let the uniform mesh be our reference spatial mesh and then map v nonunif to Ω N , M , utilizing the built-in MATLAB subroutine interp2.m.
The interesting surface of the point-wise difference and its contour plot are given in Figure 11.
We may further calculate the relative difference index δ using the standard 2-norm; that is,
δ 2 = v unif v nonunif 2 v unif 2 .
For numerical solutions and the difference function illustrated in Figure 3 and Figure 10, we have δ 2 0.067 .

3. Discussion

A dynamically balanced up-downwind semi-discretized finite difference method was constructed and analyzed in this paper, based on arbitrary spatial grids. The algorithm acquired was easy to use. It was also effective for solving the underlying Heston stochastic volatility option-pricing model problems with cross-derivative terms. The scheme was proven to be numerically stable. Computational experiments were carried out to verify our expectations, both on uniform and nonuniform grids. The numerical method is expected to be first order in space.
The spectral norm was used throughout this paper. The study can be extended by using different Euclidean norms. Our ongoing research is in including effective schemes on variable spatial and temporal meshes for different financial products and simulations. We have also been considering effective adaptation strategies, such as those investigated by Meng and Padgett et al. [19,22].
Our future endeavors also include improving computational efficiency through exponential splitting methods, particularly variable-step ADI or LOD approximations [12,18,24]. Compact schemes for raising accuracy have also been introduced in our study, with initial successes in handling cross-derivatives dynamically, and well balances pricing American and some Asian options [9,11,14,16]. Initial investigations were very promising.

4. Materials and Methods

Most parts of our computations are carried out on a MATLAB® platform and its parallel computing toolbox, on a high performance HP® C3000BL HPC cluster running CentOS® V, at Baylor University. The processor consists of 128 computer nodes, each with 32 GB of RAM and dual quad-core Intel 2.6 GHz processors, giving a total of 1024 cores. An Infiniband ConnectX® DDR network is used for message passing and networked storage. Shared storage capacity in the cluster is 123 TB. All computer programs are available, by request to the corresponding author.

Author Contributions

C.S. and Q.S. contributed equally to this work. Both authors have read and approved the final manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors would like to thank the anonymous referees for their time and constructive comments. Their suggestions have not only elevated the quality and presentation of this paper, but also thrown a light on important extensions of this research. The authors also appreciate their colleagues, in particular Joshua Padgett and Tiffany Jones, for many extremely meaningful discussions.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ADIAlternating direction implicit
BSMBlack-Scholes-Merton
DDRDouble data rate
HPCHigh-performance computing
LODLocal one-dimensional
RAMRandom access memory
GBGigabyte
TBTerabyte

References

  1. Fornberg, B. Calculation of weights in finite difference formulas. SIAM Rev. 1998, 40, 685–691. [Google Scholar] [CrossRef]
  2. Ma, K.; Forsyth, P.A. An unconditionally monotone numerical scheme for the two-factor uncertain volatility model. IMA J. Numer. Anal. 2017, 37, 905–944. [Google Scholar] [CrossRef]
  3. Black, F.; Scholes, M. The pricing of options and corporate liabilities. J. Polit. Econ. 1973, 81, 637–654. [Google Scholar] [CrossRef]
  4. Düring, B.; Fournié, M.; Heuer, C. High-order compact finite difference schemes for option pricing in stochastic volatility models on non-uniform grids. J. Comput. Appl. Math. 2014, 271, 247–266. [Google Scholar] [CrossRef] [Green Version]
  5. Cui, Y.R.; del Baño Rollin, S.; Germano, G. Full and fast calibration of the Heston stochastic volatility model. Eur. J. Oper. Res. 2017, 263, 625–638. [Google Scholar] [CrossRef] [Green Version]
  6. Heston, S. A Closed-form for options with stochastic volatility with applications to bond and currency options. Rev. Finan. Stud. 1993, 6, 327–343. [Google Scholar] [CrossRef]
  7. Rouah, F.D. The Heston Model and Its Extensions in Matlab and C; John Wiley & Sons: New York, NY, USA, 2013. [Google Scholar]
  8. Düring, B.; Fournié, M. High-order compact finite difference scheme for option pricing in stochastic volatility models. J. Comput. Appl. Math. 2012, 236, 4462–4473. [Google Scholar] [CrossRef] [Green Version]
  9. Ikonen, S.; Toivanen, J. Efficient numerical methods for pricing American options under stochastic volatility. Numer. Meth. Partial Differ. Equat. 2008, 24, 104–126. [Google Scholar] [CrossRef]
  10. Iserles, A. A First Course in the Numerical Analysis of Differential Equations, 2nd ed.; Cambridge University Press: New York, NY, USA, 2008. [Google Scholar]
  11. Albrecher, H.; Predota, M. On Asian option pricing for NIG Lévy processes. J. Comput. Appl. Math. 2004, 172, 153–168. [Google Scholar] [CrossRef] [Green Version]
  12. Hendricks, C.; Ehrhardt, M.; Günther, M. High-order ADI schemes for diffusion equations with mixed derivatives in the combination technique. Appl. Numer. Math. 2016, 101, 36–52. [Google Scholar] [CrossRef]
  13. In’ t Hout, K.J.; Welfert, B.D. Stability of ADI schemes applied to convection-diffusion equations with mixed derivative terms. Appl. Numer. Math. 2007, 57, 19–36. [Google Scholar] [CrossRef]
  14. Zhu, S.P.; Chen, W.T. A predictor-corrector scheme based ADI method for pricing American puts with stochastic volatility. Comput. Math. Appl. 2011, 62, 1–26. [Google Scholar] [CrossRef]
  15. Shreve, S. Stochastic Calculus for Finance II: Continuous-Time Models; Springer: New York, NY, USA, 2004. [Google Scholar]
  16. Fusai, G.; Meucci, A. Pricing discretely monitored Asian options under Lévy processes. J. Bank. Financ. 2008, 32, 2076–2088. [Google Scholar] [CrossRef] [Green Version]
  17. Rachev, S.T. Handbook of Computational and Numerical Methods in Finance; Birkhäuser: Boston, MA, USA, 2014. [Google Scholar]
  18. Sheng, Q.; Padgett, J. On the stability of a variable step exponential splitting method for solving multidimensional quenching-combustion equations. Proc. Math. Stat. 2016, 171, 155–167. [Google Scholar]
  19. Padgett, J.; Sheng, Q. Numerical solution of degenerate stochastic Kawarada equations via a semi-discretized approach. Appl. Math. Comput. 2018, 325, 210–226. [Google Scholar] [CrossRef]
  20. Noble, J.; Daniel, J.W. Applied Linear Algebra, 3rd ed.; Prentice-Hall: Upper Saddle River, NJ, USA, 1988. [Google Scholar]
  21. 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]
  22. Meng, Q.J.; Ding, D.; Sheng, Q. Preconditioned iterative methods for fractional diffusion models in finance. Numer. Meth. Partial Differ. Equat. 2015, 31, 1382–1395. [Google Scholar] [CrossRef]
  23. Hull, J.C. Option, Futures and Other Derivatives, 9th ed.; Pearson Education: Upper Saddle River, NJ, USA, 2015. [Google Scholar]
  24. Cheng, H.; Lin, P.; Sheng, Q.; Tan, R. Solving degenerate reaction-diffusion equations via variable step Peaceman-Rachford splitting. SIAM J. Sci. Comput. 2003, 25, 1273–1292. [Google Scholar] [CrossRef]
Figure 1. Computational stencil for (17) and (20) [frame 1]; (18) [frame 2]; (19) and (22) [frame 3]; and (21) [frame 4].
Figure 1. Computational stencil for (17) and (20) [frame 1]; (18) [frame 2]; (19) and (22) [frame 3]; and (21) [frame 4].
Algorithms 12 00030 g001
Figure 2. Computational stencils of (24) (left) and (27) (right).
Figure 2. Computational stencils of (24) (left) and (27) (right).
Algorithms 12 00030 g002
Figure 3. (Left) Price of an European put option at T = 0.5 and for ρ = 0.5 ; (Right) Corresponding contour map.
Figure 3. (Left) Price of an European put option at T = 0.5 and for ρ = 0.5 ; (Right) Corresponding contour map.
Algorithms 12 00030 g003
Figure 4. (Left) Price of an European put option at T = 5 and for ρ = 1 ; (Right) Corresponding contour map.
Figure 4. (Left) Price of an European put option at T = 5 and for ρ = 1 ; (Right) Corresponding contour map.
Algorithms 12 00030 g004
Figure 5. Relationship between the average price of an European put option with volatility T = 0.5 and ρ = 0.5 .
Figure 5. Relationship between the average price of an European put option with volatility T = 0.5 and ρ = 0.5 .
Algorithms 12 00030 g005
Figure 6. (Left) Pointwise rate of convergence estimate, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map.
Figure 6. (Left) Pointwise rate of convergence estimate, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map.
Algorithms 12 00030 g006
Figure 7. (Left) Point-wise rate of convergence estimate, T = 5 and ρ = 1 . (Right) Corresponding contour map.
Figure 7. (Left) Point-wise rate of convergence estimate, T = 5 and ρ = 1 . (Right) Corresponding contour map.
Algorithms 12 00030 g007
Figure 8. (Left) Nonlinear grid distribution governing the function z 1 in the S -direction; (Right) Nonlinear mesh distribution governing the function z 2 in the y -direction.
Figure 8. (Left) Nonlinear grid distribution governing the function z 1 in the S -direction; (Right) Nonlinear mesh distribution governing the function z 2 in the y -direction.
Algorithms 12 00030 g008
Figure 9. (Left) A composite surface plot of z 1 ( S ) z 2 ( y ) ; (Right) Corresponding contour map.
Figure 9. (Left) A composite surface plot of z 1 ( S ) z 2 ( y ) ; (Right) Corresponding contour map.
Algorithms 12 00030 g009
Figure 10. (Left) Price of an European put option on nonuniform grids, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map.
Figure 10. (Left) Price of an European put option on nonuniform grids, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map.
Algorithms 12 00030 g010
Figure 11. (Left) Relative difference between solutions on uniform and nonuniform grids, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map. Formulas (9) and (10) are used.
Figure 11. (Left) Relative difference between solutions on uniform and nonuniform grids, T = 0.5 and ρ = 0.5 ; (Right) Corresponding contour map. Formulas (9) and (10) are used.
Algorithms 12 00030 g011
Table 1. Key parameter values for numerical simulations.
Table 1. Key parameter values for numerical simulations.
Key ParameterValue Used
Strike price K = 100
Volatility of volatility σ = 1
Risk-free interest rate r = 0.05
Mean reversion speed κ = 2
Long-run mean of volatility η = 0.1
Table 2. Rates of convergence R P W h observed with σ = 1 , ρ = 0.5 , and T = 0.5 .
Table 2. Rates of convergence R P W h observed with σ = 1 , ρ = 0.5 , and T = 0.5 .
Mesh StepsRconv. Rates λ = 0.5 λ = 0.75 λ = 1
min m , n ( R m , n h ) 0.61930.61340.6026
h = 0.01 max m , n ( R m , n h ) 1.00240.99760.9811
m e a n m , n ( R m , n h ) 0.90260.904380.9053
min m , n ( R m , n h ) 0.63240.62210.6206
h = 0.02 max m , n ( R m , n h ) 0.96741.00071.0151
m e a n m , n ( R m , n h ) 0.83420.83000.8296
min m , n ( R m , n h ) 0.58240.59710.6179
h = 0.03 max m , n ( R m , n h ) 0.99410.94370.9586
m e a n m , n ( R m , n h ) 0.79520.80150.8142

Share and Cite

MDPI and ACS Style

Sun, C.; Sheng, Q. An Exploration of a Balanced Up-Downwind Scheme for Solving Heston Volatility Model Equations on Variable Grids. Algorithms 2019, 12, 30. https://doi.org/10.3390/a12020030

AMA Style

Sun C, Sheng Q. An Exploration of a Balanced Up-Downwind Scheme for Solving Heston Volatility Model Equations on Variable Grids. Algorithms. 2019; 12(2):30. https://doi.org/10.3390/a12020030

Chicago/Turabian Style

Sun, Chong, and Qin Sheng. 2019. "An Exploration of a Balanced Up-Downwind Scheme for Solving Heston Volatility Model Equations on Variable Grids" Algorithms 12, no. 2: 30. https://doi.org/10.3390/a12020030

APA Style

Sun, C., & Sheng, Q. (2019). An Exploration of a Balanced Up-Downwind Scheme for Solving Heston Volatility Model Equations on Variable Grids. Algorithms, 12(2), 30. https://doi.org/10.3390/a12020030

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