Journal of Computational Finance
ISSN:
1460-1559 (print)
1755-2850 (online)
Editor-in-chief: Christoph Reisinger
Need to know
- The two-dimensional Tree-Grid method is an unconditionally stable, convergent explicit method for solving the two-dimensional stochastic control problems and Hamilton-Jacobi-Bellman equation.
- The method can be used on an arbitrary (equidistant or non-equidistant) rectangular grid, and no interpolation is needed in the stencil construction.
- We present the solution of the two-factor uncertain volatility model using the two-dimensional Tree-Grid method.
Abstract
In this paper, we introduce a novel, explicit, wide-stencil, two-dimensional (2D) tree–grid method for solving stochastic control problems (SCPs) with two space dimensions and one time dimension, or, equivalently, the corresponding Hamilton– Jacobi–Bellman equation. This new method can be seen as a generalization of the tree–grid method for SCPs with one space dimension that was recently developed by the authors. The method is unconditionally stable and no 2D interpolation is needed in the stencil construction. We prove the convergence of the method and exemplify it in our application to a two-factor uncertain volatility model.
Introduction
1 Introduction
Stochastic control problems (SCPs) arise in many applications where the stochastic (Itô) process is controlled with respect to time and state in order to optimize the expectation of some utility or cost function. The problem of searching for an optimal control strategy can often be solved by solving the underlying partial differential equation (PDE): the so-called Hamilton–Jacobi–Bellman (HJB) equation.
1.1 Overview of the numerical methods
Either way – solving the SCPs directly or solving the HJB equation – numerical methods are often needed, as closed-form solutions are rarely known. For the one-dimensional (1D) SCP (with one controlled stochastic process for one state variable), various numerical methods were developed. Based on the approximation of the time-continuous stochastic process with a discrete chain, Markov chain approximation methods are presented in Kushner and Dupuis (2013). Implicit finite-difference methods (FDMs) for solving HJB equations were presented, for example, in Forsyth and Vetzal (2012). The advantage of these methods in contrast with the explicit FDMs is their unconditional stability and monotonicity. In Kilianová and Ševčovič (2013), a method based on a transformation of the HJB equation was developed. The advantage of using this approach is that we do not need to solve the optimization problem in each time layer. Recently, a new explicit but still unconditionally stable and monotone tree–grid method was developed in Kossaczký et al (2018). This method combines the tree structure from the trinomial tree methods for option pricing with the grid typically used in FDMs, and it can be seen as some special explicit FDM or a Markov chain approximation. A useful modification of the method was presented in Kossaczký et al (2017). As the explicitness and great flexibility of this method (unconditional stability with any grid spacing) are clear advantages, we are interested in generalizing it to two state-space dimensions (two controlled stochastic processes).
A generalization of the implicit unconditionally stable method from Wang and Forsyth (2008) in two space dimensions was presented in Ma and Forsyth (2016) and later used in Chen and Wan (2016). The main idea behind this method is to combine the wide and the fixed stencil, depending on the correlation in a particular time–space node. Alternatively, explicit methods based on the ideas of Kushner and Dupuis (2013) presented in Bonnans and Zidani (2003) and Debrabant and Jakobsen (2013, 2014) can be used. These are wide-stencil schemes that are stable under some Courant–Friedrichs–Lewy (CFL) condition. Moreover, bilinear interpolation of the grid values is needed in these methods. Our generalization of the tree–grid method presented in this paper also falls into the class of wide-stencil schemes; however, it is unconditionally stable and no two-dimensional (2D) interpolation of the grid values is needed. The unconditional stability is achieved by making the stencil size dependent not only on the space steps but also on the time step. In order to get a monotone seven-point-wide stencil, we possibly need to artificially increase the variance and decrease the covariance of the system. However, the approximation is still consistent, as this artificial increase/decrease vanishes with grid refinement and, in standard cases, even reaches zero at some point. Note that even in standard wide-stencil schemes (Debrabant and Jakobsen 2013) the variance is increased and the covariance is altered due to the use of interpolation. Moreover, in that case, this behavior is present for any grid refinement, which contrasts with the case of the tree–grid method presented in this work. As this 2D tree–grid method is explicit, it is also suitable for parallelization.
1.2 Problem formulation
We are concerned with searching for the value function of the following 2D general SCP:
(1.1) | ||||
(1.2) | ||||
(1.3) | ||||
(1.4) | ||||
where and are state variables and is time. Here, is the space of all suitable control functions (see, for example, Kushner and Dupuis 2013; Yong and Zhou 1999) from to a set . For our purpose, we will assume to be discrete. If this is not the case, we can easily achieve this property by its discretization. Now, following Bellman’s principle, the dynamic programming equation holds:
(1.5) |
where are some time points and is a set of control functions from restricted to the domain. Using (1.5), it can be shown (Yong and Zhou 1999) that solving the SCP (1.1)–(1.4) is equivalent to solving the 2D HJB equation:
(1.6) | |||
(1.7) | |||
(1.8) | |||
where , , , , , and are functions of , , and . Note that the maximum operator in (1.1) and (1.6) can be replaced by a minimum operator and the entire following analysis will hold analogously. A possible generalization of the SCP with a corresponding HJB equation is the stochastic differential game with a corresponding Hamilton–Jacobi–Bellman–Isaac equation (Mataramvura and Øksendal 2008). Further generalizations can be found in Song (2008).
2 Construction of two-dimensional tree–grid algorithm
In this section, we will derive the 2D tree–grid algorithm for solving (1.1)–(1.4). We will use ideas that were thoroughly explained in Kossaczký et al (2018) and Kossaczký et al (2017), and we refer interested readers to these papers. We will work on a three-dimensional (3D) rectangular domain with two space dimensions and one time dimension. For a fixed control , the candidate for a value in each node will be computed using seven values from the next time layer . Figure 1 illustrates this approach. We will denote these seven values in this context simply as a stencil located at . The weights of these seven values can be interpreted as probabilities, and we therefore demand that the moments of such a discrete random variable match with the moments of the increment of the 2D stochastic process (1.2)–(1.4) with a fixed control , at least asymptotically. Then, the actual value will be computed as a maximum of the candidates. For handling nodes close to the boundary, we suppose that we both know how the solution behaves in the outer neighborhood of the boundaries and can describe this behavior with a boundary function . The terminal condition in the time layer reads .
2.1 Notation
First, before discussing how to choose the stencil nodes around node and the proper weights, we present the notation used in this paper.
- •
: space discretization in one space dimension. : space discretization in two space dimensions. : time discretization.
- •
: (current) time step. We will use equidistant time stepping for all . Generalization to nonequidistant time stepping is straightforward.
- •
, : space steps in one dimension and two dimensions (possibly nonequidistant).
- •
, .
- •
, where is a parameter used for regulating the stencil size. In the nonequidistant case, should be replaced by .
- •
: in the nonequidistant case, this should be replaced by in the following algorithm.
- •
: the node for which the stencil is constructed.
- •
for .
- •
for (to be determined later).
- •
.
- •
(to be determined later).
- •
(to be determined later).
- •
for .
- •
.
- •
: numerical approximation of .
2.2 Choosing stencil nodes
Next, we describe how to choose the stencil nodes around an arbitrary node for a fixed control . The values in these nodes will affect the value in the node .
If ,
(2.1) |
else if ,
(2.2) |
else ()
(2.3) |
where (respectively, ) denotes rounding to the nearest greater (respectively, smaller) element from . If such an element does not exist, (respectively, ) will return just .
If ,
(2.4) |
else if ,
(2.5) |
else ()
(2.6) |
where and are defined analogously. Note that the operators , , and formally correspond to some special (left or right neighbor) constant interpolation in one dimension. However, in the standard wide-stencil schemes for 2D problems, constant, (bi)linear or higher-order interpolations in two dimensions are used. In such cases, the use of higher-order interpolations is motivated by a need to reduce the interpolation error. In our scheme, however, this 1D constant interpolation does not introduce any additional interpolation error, as it is only needed to identify the stencil nodes. As we will see later, the moments of our approximation match exactly with the moments of the original stochastic process for a nondegenerate problem and small enough .
The following nodes with their respective weights (probabilities) will be used in the stencil located at :
- •
node with probability ;
- •
nodes and with probabilities and ;
- •
nodes and with probabilities and ; and
- •
nodes and , both with probability if is nonnegative, and nodes and , both with probability if is negative (in the following algorithm, we will focus on the case of nonnegative ; the case of negative is treated analogously).
In the next section, we will impose six conditions on these probabilities in equation form in order to match with the moments of the discrete and the original process as well as ensure that the probabilities sum up to . Therefore, to get a unique solution to these equations, we need, in the seven nodes, only six different probabilities, which explains why we chose the same probability for nodes and (respectively, and ). Our motivation for choosing these particular nodes to have the same probability is that we try to handle the drift and diffusion in the (respectively, ) direction in a similar manner to the 1D tree–grid method (Kossaczký et al 2018, 2017), using the nodes on the (respectively, ) axis with origin at . Then, only one probability remains for the two remaining nodes.
2.3 Choosing the stencil weights (probabilities)
First, let us define the following difference operators:
(2.7) | ||||
(2.8) |
To match with the first two moments of the approximative increment of the stochastic process and of the increment of the discrete process defined by the stencil nodes and their probabilities, and to ensure that the probabilities are positive and sum up to 1, we demand the following:
(2.9) | ||||
(2.10) | ||||
(2.11) | ||||
(2.12) | ||||
(2.13) | ||||
(2.14) | ||||
(2.15) |
For negative , only the condition (2.14) changes to
(2.16) |
The solutions of (2.9)–(2.14) are
(2.17) | ||||
(2.18) | ||||
(2.19) | ||||
(2.20) | ||||
(2.21) | ||||
(2.22) |
where for nonnegative and for negative .
Following the construction of , , and , it is easy to check that is always nonnegative. The same holds for . To ensure the nonnegativity of , , and , we have to properly choose the variables , and to get nonnegative weights while remaining consistent with the original problem as . This is done in the next section.
2.4 Artificial diffusion and covariance adjustment
Let us assume . Now, the first fraction of is positive, but the first fraction of may be negative. We will set (and, hence, ) in such way that the latter will be also positive. It holds that
(2.23) |
The right-hand side of the inequality (2.23) is for and greater than for with
(2.24) |
Here, we replaced with to cover the analogous case and possibly negative . Now, if we set
(2.25) | ||||
(2.26) |
where is defined analogously, the first fraction in , , and will be nonnegative. The possible difference between (respectively, ) and the variances from the original problem (respectively, ) is called artificial diffusion. Now, taking into account the correlation coefficient in the current node and following these definitions of variances and , we define a new covariance:
(2.27) |
and
(2.28) |
Now, we define as
(2.29) |
This covariance is consistent with variances and defined by (2.25) and (2.26). As for , it holds that
(2.30) |
and for it holds that
(2.31) |
Now, it also holds that , which implies that , , and are all positive. It is easy to check that the following holds:
(2.32) |
In addition, for (respectively, ) and small enough ,
(2.33) |
holds. It also holds that
(2.34) | ||||
(2.35) | ||||
(2.36) |
It follows that
(2.37) |
and the same holds for the second, third and fourth maximum candidates in (2.28). Moreover,
(2.38) |
Therefore,
(2.39) |
and it is easy to check for , , and small enough that
(2.40) |
holds. Following (2.32) and (2.39), the modified variances and modified covariance are consistent with the variances and covariance from the original problem. Moreover, for and , the modified variances and covariance will be equal to their originals for small enough .
2.5 Setting parameter and stencil-size reduction
In the formula for , the part is responsible for keeping the correlation in the numerical model consistent with the correlation of the original problem. Here, the parameter can be chosen arbitrarily; however, for a large (relative to problem parameters) , the stencil is also large, which typically increases the error. On the other hand, for too small , the correlation may start being exact (or exact enough) for very fine grids only and not sufficiently exact for coarse grids, resulting in larger errors on these coarse grids. For , we cannot guarantee the convergence of the correlation. However, the correlation in the numerical model may match with the correlation from the original problem even for small or . This motivates the following multiple modification of the tree–grid method.
For each control in each node,
- (1)
set and use , to compute , ,
- (2)
compute the correlation of the numerical model,
- (3)
if , recompute , , with , and set
else break.
- (4)
if , go to step (2)
else break.
With this modification, we will use a smaller stencil size as much as possible. This approach can be seen as somewhat analogous to the approach in Ma and Forsyth (2016), where a fixed (and thus small) stencil is used as much as possible. However, we will not increase the convergence rate, but we might reduce the error.
Another approach, the nonconstant modification, involves using nonconstant . This can be smaller in nodes with large volatilities and , and larger in nodes with smaller and , thus regulating the stencil size to not explode in case of large volatilities.
Both modifications can also be combined, and it is easy to check that they do not harm the consistency. In our numerical simulation, these modifications did not lead to significant improvements; therefore, we decided to just use a constant . However, they may be useful for other SCPs.
3 The two-dimensional tree–grid algorithm
Finally, we can use the stencil nodes and weights to construct the 2D tree–grid algorithm.
We define the function as follows:
(3.1) |
For a given space node and a given control , we define
(3.2) | ||||
(3.3) | ||||
(3.4) | ||||
(3.5) | ||||
(3.6) |
Now, the discretized version of the dynamic programming equation for , , reads
(3.7) | ||||
(3.8) |
For boundary nodes ( or ), we employ the boundary condition
(3.9) |
The terminal condition is defined as
(3.10) |
Finally, we can summarize the 2D tree–grid method in Algorithm 1.
Remark 3.1 (Computational complexity).
Following Algorithm 1, the computational complexity of the tree–grid method is , where , and are numbers of time steps, nodes and controls in , and (respectively, ) are numbers of space steps in the (respectively, ) direction (). This computational complexity is equivalent to the computational complexity of other explicit methods (Debrabant and Jakobsen 2013) as well as the worst-case computational complexity of the implicit algorithm from Ma and Forsyth (2016).
Remark 3.2 (Relationship to other wide-stencil methods).
The size of the stencil in both the and the directions is ; therefore, our method can be classified as a wide-stencil method. However, in contrast to other wide-stencil methods, no coordinate transformation is used: the method is based on the original Cartesian coordinates, which makes it particularly straightforward to implement. Using a simple seven-point stencil, we concentrate on moment-matching, which is, following Section 2.4, exact for nondegenerate problems and small enough . Note that exact moment-matching is not possible for other wide-stencil methods, as a 2D interpolation introducing an additional interpolation error is needed due to the use of coordinate transformation. Moreover, the use of a nonconstant 2D interpolation in standard wide-stencil schemes makes their actual stencils include more points (as each off-grid stencil point is interpolated by three or four gridpoints) and increases the computational costs of the scheme. Another important distinction from other wide-stencil schemes is the unconditional stability we achieve (following our definition of in Section 2.1) by also making the stencil size dependent on .
4 Convergence
In this section, we will prove the convergence of the 2D tree–grid method. To begin, we will quickly summarize the convergence theory of Barles and Souganidis (1991) before using it to prove the convergence of our scheme. Note that the algorithm was derived by discretizing the dynamics in the original SCP (1.1)–(1.4). We will, however, prove that the scheme is consistent with the HJB equation (1.6)–(1.8).
4.1 The convergence theory
Let denote some suitable function space. Let us define some nonlinear differential operator :
We suppose there exists a viscosity solution (see Crandall et al 1992) of the equation , and we denote this solution simply by . To find some approximation of the viscosity solution, we define a discrete approximation scheme:
(4.1) |
where , , is defined as a (possibly) multidimensional function, , , and .
Let us consider the system of sets called the discretized domain:
(4.2) |
defined for different values of , which is often referred to as the step size.
Definition 4.1 (Numerical scheme).
The system of equations with depending on a parameter is called the numerical scheme.
The numerical scheme is considered well defined if it possesses a unique solution. We will assume that this condition is met for any feasible . By , we will denote an approximation of the solution of , computed by solving the system of equations , . In order to distinguish between approximations with different , we will sometimes denote as .
Definition 4.2 (Monotonicity).
A discrete approximation scheme is monotone if the function is nonincreasing in for , .
Definition 4.3 (Consistency).
The scheme is a consistent approximation of if for any -smooth test function .
A scheme is consistent on a numerical domain if it is consistent in all points of this numerical domain. In such a case, we will call the scheme consistent. In the literature, -smooth test functions are often used. However (as shown in Lions (1983), for example), this leads to an equivalent definition.
Definition 4.4 (Stability).
The numerical scheme defined by the system of equations , , with solution , is stable if some constant exists so that for all .
The following theorem of Barles and Souganidis (1991) is key to proving the convergence of a numerical scheme approximating a nonlinear PDE.
Theorem 4.5 (Barles–Souganidis).
If the equation satisfies the strong uniqueness property (see Barles and Souganidis 1991), and if the numerical scheme , , approximating the equation is monotone, consistent and stable, its solution converges locally uniformly to the solution of with .
The abovementioned strong uniqueness property (Barles and Souganidis 1991) is a property of the problem and not of the numerical scheme. As stated in Ma and Forsyth (2016), following Pham (2005), this property is fulfilled, for example, for the two-factor uncertain volatility option pricing model with a payoff with quadratic growth. We will solve this problem numerically in Section 5.
4.2 Convergence of 2D tree–grid method
In this section, we will prove the convergence of the 2D tree–grid method. For the purposes of this convergence analysis, we will rewrite (3.7) and (3.8) as
(4.3) |
Using the theory from Section 4.1, our goal is to show that (4.3) is a monotone, consistent and stable approximation of the nonlinear differential operator defined by the PDE (1.6):
(4.4) |
Let us define the difference operators
(4.5) |
for . First, we will show the consistency of the scheme at an arbitrary point .
Proof.
Let be a -smooth function. Let us define . Let us also use short notation defined by (3.2)–(3.6) for instead of . At first, let us sketch the main idea of the proof of consistency in an arbitrary point . We will write all values for as Taylor expansions around . We will substitute these Taylor expansions into the discrete scheme (4.3), group terms with the same derivatives together and estimate the sum of coefficients in front of them. We will end up with the PDE operator (4.4) and some terms of order , where if , or , and else. Let us suppose that in . The case of negative can be treated analogously. For , let us define the operators:
(4.6) | ||||
(4.7) | ||||
(4.8) |
Now we can expand around , as follows:
(4.9) |
where
(4.10) |
for some . We expand , , in the same manner: for we only need to substitute with , and for we only need to substitute with in the Taylor expansion (4.9) and change the index to (respectively, ) in all expressions (4.6)–(4.10). Now, by substituting the Taylor expansions into the scheme defined by (4.3), we get
(4.11) |
where if , or , and else. In the first equation of (4.11), we used the estimates of the linear combinations of higher-order terms from the Taylor expansions. The coefficients of these linear combinations are the probabilities , , , , , and (according to the definition of (4.3)). We describe these estimates as follows.
- (1)
- (2)
In the same way, for the linear combinations of the terms included in , we get .
- (3)
For the linear combinations of the terms included in , we used the following estimates:
(4.12) (4.13) Here, we used and . We also used analogous estimates for the terms where and are switched symmetrically.
- (4)
As and , it is clear that all terms in are of order .
- (5)
For the linear combinations of the terms included in , we constructed our estimate in the following way. Let us define
Then, it holds that
If and , then . Now, for equal to
which are all , we get that the linear combinations of the first three terms in are of order . Using analogous estimates, the linear combinations of the fourth and fifth terms are also of order .
Using the estimates above, we proved (4.11), which is the first-order consistency of our scheme if , and , and the consistency of order otherwise. Therefore, the scheme is also consistent in the case of degenerate diffusion, only the order of consistency is lower. On the other hand, the possibly zero-valued advection coefficients and do not have any effect on the order of consistency. ∎
Below, we present the lemma establishing the monotonicity of the scheme.
Lemma 4.7 (Monotonicity).
If for all possible , , and , then the discrete scheme (4.3) is monotone.
Proof.
Monotonicity is in this case a direct implication of the nonnegativity of , , , , , and . ∎
Remark 4.8.
The stability analysis of the 2D tree–grid method is basically identical to the stability analysis of the 1D tree–grid method done in Kossaczký et al (2018). Therefore, we only state the stability condition and the lemma about the stability of the scheme here.
Property 4.9 (Stability condition of the problem).
We suppose that
- (1)
there exist constants and such that, for all , , and , and hold; and
- (2)
there exists a constant such that holds for all and for all possible outer-domain values of the variables , , , and , , , for any grid.
The lemma about the stability of the scheme follows.
Lemma 4.10 (Stability).
Proof.
The proof of this lemma can be found in Kossaczký et al (2018). ∎
Finally, the convergence theorem follows.
Theorem 4.11 (Convergence of the 2D tree–grid method).
Assume that an SCP (1.1)–(1.4) and the corresponding HJB equation (1.6)–(1.8) satisfy the strong uniqueness property (see Barles and Souganidis 1991). Then, if the stability conditions defined in Property 4.9 are fulfilled, the approximation computed with the 2D tree–grid method defined by Algorithm 1 converges to the viscosity solution of this SCP (and the HJB equation).
5 Application to option pricing models
5.1 Two-factor uncertain volatility model
In this section, we will use the 2D tree–grid method for pricing options on two different risky assets under uncertain volatility. In this setting, the volatilities and the correlation of the assets are only known to lie in certain bounds. The maximal option price can, in this case, be computed as a solution of the HJB equation
(5.1) | |||
(5.2) | |||
(5.3) | |||
Here, , and denote the first asset price, the second asset price and the time; denotes the risk-free interest rate; and is the maturity time. The terminal condition is the payoff function, and for the control variable it holds that , where , and are uncertain volatilities of the first and second assets as well as their correlation. For the set of possible controls, it holds that
(5.4) |
To obtain the minimal option price, we have to replace by in the HJB equation (5.1). This model was discussed, for example, in Pooley et al (2003) and later solved with a hybrid (combining fixed and wide stencils) implicit method in Ma and Forsyth (2016). As explained in Ma and Forsyth (2016), the optimal control lies in a subset of :
(5.5) |
Therefore, we will search for the control in , a discretized version of . To verify the implementation, we will also solve a problem with a one-element set . In this case, (5.1) is simply the 2D Black–Scholes equation (Black and Scholes 1973) for which an analytical solution is known.
Terminal condition
As a terminal condition, we use the payoff function in the form of a butterfly spread on the maximum of two assets:
(5.6) |
Boundary conditions
We will use Dirichlet boundary conditions. On the upper boundary and the right boundary, we will set the value to 0:
To verify that our computational domain is large enough, we also solved the HJB and the Black–Scholes equations for and obtained in node the same values as for . On the lower boundary () and the left boundary (), (5.1) degenerates to an HJB equation for a 1D uncertain volatility model from Forsyth and Vetzal (2012). We solve this with the 1D tree–grid method, as in Kossaczký et al (2018). For the case that the values from outside of the computational domain are needed, we artificially define the solution for and as having the same values as the solution on the boundary:
5.2 Numerical results
Convergence | Convergence | Convergence | ||||||
---|---|---|---|---|---|---|---|---|
in | in | in | ||||||
Value | Error | EOC | Error | EOC | Error | EOC | ||
25 | 35 | 1.9910 | 1.77E01 | — | 2.92E01 | — | 1.21E02 | — |
50 | 69 | 1.8211 | 7.02E03 | 4.66 | 3.58E02 | 3.03 | 1.84E03 | 2.72 |
100 | 137 | 1.8229 | 8.88E03 | 0.34 | 2.18E02 | 0.71 | 7.16E04 | 1.36 |
200 | 273 | 1.8177 | 3.67E03 | 1.27 | 1.05E02 | 1.06 | 3.02E04 | 1.25 |
400 | 545 | 1.8141 | 5.31E05 | 6.11 | 2.05E03 | 2.35 | 1.24E04 | 1.28 |
800 | 1089 | 1.8138 | 1.96E04 | 1.89 | 6.69E04 | 1.62 | 5.11E05 | 1.28 |
1600 | 2177 | 1.8139 | 1.38E04 | 0.51 | 3.56E04 | 0.91 | 2.54E05 | 1.01 |
Convergence | Convergence | Convergence | ||||||
---|---|---|---|---|---|---|---|---|
in | in | in | ||||||
Value | Error | EOC | Error | EOC | Error | EOC | ||
25 | 35 | 3.3619 | 1.28E+00 | — | 1.28E+00 | — | 3.60E02 | — |
50 | 69 | 3.8702 | 7.71E01 | 0.73 | 7.71E01 | 0.73 | 1.96E02 | 0.88 |
100 | 137 | 4.3095 | 3.31E01 | 1.22 | 3.66E01 | 1.07 | 7.62E03 | 1.37 |
200 | 273 | 4.6339 | 6.91E03 | 5.58 | 7.23E02 | 2.34 | 5.53E04 | 3.78 |
400 | 545 | 4.6465 | 5.73E03 | 0.27 | 7.01E03 | 3.37 | 3.86E05 | 3.84 |
800 | 1089 | 4.6468 | 5.97E03 | 0.06 | 4.98E02 | 2.83 | 4.61E05 | 0.26 |
1600 | 2177 | 4.6416 | 8.35E04 | 2.84 | 1.80E03 | 4.79 | 9.85E06 | 2.22 |
Here, we present the experimental convergence results of the 2D tree–grid method as applied to the Black–Scholes model and the uncertain volatility model. We implemented our method in Python and performed the simulations on four different sets of parameters.11 1 The code we used can be downloaded from https://github.com/igor-vyr/tree-grid-method.
- •
Black–Scholes model with moderate volatility and correlation: , and . The results of the simulation are in Table 1.
- •
Black–Scholes model with extreme parameters: , and . The results of the simulation are in Table 2.
- •
Uncertain volatility model, maximal option price (worst-case scenario) with parameters and . The results of the simulation are in Table 3.
- •
In all models, we used the parameters and . For each model, we computed the approximations of the solution on different refinement levels. Let us denote the final time layer () of the approximation of the solution on the th refinement level as . Let us also denote the final time layer of the reference solution as . We measured the error of the approximation on each refinement level in three different ways.
- (1)
The error: the error was computed using the formula
(5.7) - (2)
The error: the error was computed using the formula
(5.8) - (3)
The error in (, ): this was computed using the formula
(5.9) We use this error measure and the same parameters of the uncertain volatility model as in Ma and Forsyth (2016) such that the reader can easily compare the results in both papers.
To compute the experimental order of convergence (EOC), we used the following formula:
(5.10) |
In all refinement levels, we used a (rectangular) grid with equidistant time stepping and nonequidistant space stepping, with more nodes near to the nonsmooth regions of the terminal conditions. The refinements were done uniformly.
Convergence | Convergence | Convergence | |||||||
---|---|---|---|---|---|---|---|---|---|
in | in | in | |||||||
Value | Error | EOC | Error | EOC | Error | EOC | |||
25 | 35 | 16 | 2.8364 | 1.59E01 | — | 2.43E01 | — | 1.17E02 | — |
50 | 69 | 32 | 2.6619 | 1.53E02 | 3.38 | 4.86E02 | 2.33 | 3.64E03 | 1.68 |
100 | 137 | 64 | 2.6784 | 1.19E03 | 3.68 | 1.48E02 | 1.71 | 1.17E03 | 1.64 |
200 | 273 | 128 | 2.6784 | 1.20E03 | 0.01 | 4.95E03 | 1.59 | 3.07E04 | 1.93 |
Convergence | Convergence | Convergence | |||||||
---|---|---|---|---|---|---|---|---|---|
in | in | in | |||||||
Value | Error | EOC | Error | EOC | Error | EOC | |||
25 | 35 | 16 | 0.9847 | 6.95E02 | — | 1.07E01 | — | 4.29E03 | — |
50 | 69 | 32 | 0.9475 | 3.23E02 | 1.11 | 3.79E02 | 1.50 | 2.01E03 | 1.09 |
100 | 137 | 64 | 0.9270 | 1.18E02 | 1.46 | 1.33E02 | 1.51 | 7.59E04 | 1.41 |
200 | 273 | 128 | 0.9173 | 2.07E03 | 2.50 | 3.48E03 | 1.94 | 1.31E04 | 2.53 |
From Table 2, we can deduce that the numerical solution also converges in the case of very small volatility and large correlation, although the convergence is not as smooth as in the case of moderate parameters (Table 1). The and the pointwise convergence seem to be less smooth than the convergence. This is reasonable, as in the norm the errors in all nodes are averaged. In the uncertain volatility model, the values in (, ) are similar to the values from Ma and Forsyth (2016), which verifies our method. The experimental order of convergence in the norm in Tables 1, 3 and 4 seems to be slightly better than the theoretical order , while the experimental order of convergence in Table 2 is quite nonsmooth.
The increase of the experimental order of convergence in the last refinement level in the uncertain volatility model results from using a solution computed on a fine grid as our reference solution (this is disproportionately closer to the solution on the last refinement level in contrast to the solutions on previous refinement levels).
In Figure 2, we see the final time layer () of the approximation of option prices under the uncertain volatility model for both the best- and worst-case scenarios.
6 Conclusion
In this paper, we generalized the 1D tree–grid method to two space dimensions. Although the ideas behind this 2D method are similar to those behind the 1D case, the algorithm construction is more challenging, mainly because of the correlation between the two spatial variables. Our 2D tree–grid method is explicit and, hence, suitable for parallelization, but it is still unconditionally stable and monotone in contrast to other explicit methods (Kushner and Dupuis 2013; Bonnans and Zidani 2003; Debrabant and Jakobsen 2013). Moreover, unlike other wide-stencil methods (Ma and Forsyth 2016; Bonnans and Zidani 2003; Debrabant and Jakobsen 2013), it does not use any 2D interpolation: only a search for the nearest (left or right) node in each dimension, separately, is needed. These properties make the method very flexible and, by simply following Algorithm 1, easy to implement.
We proved the convergence of the 2D tree–grid method using the theory of Barles and Souganidis (1991). We tested our method on the two-factor uncertain volatility model and on the Black–Scholes model for option pricing and verified the convergence experimentally.
Declaration of interest
The authors report no conflicts of interest. The authors alone are responsible for the content and writing of the paper.
Acknowledgements
This research was supported within “ENANEFA – Efficient Numerical Approximation of Nonlinear Equations in Financial Applications”, a bilateral German–Slovakian project financed by DAAD and the Slovakian Ministry of Education (01/2018–12/2019).
References
- Barles, G., and Souganidis, P. E. (1991). Convergence of approximation schemes for fully nonlinear second order equations. Asymptotic Analysis 4, 2347–2349 (https://doi.org/10.1109/CDC.1990.204046).
- Black, F., and Scholes, M. (1973). The pricing of options and corporate liabilities. Journal of Political Economy 81(3), 637–654 (https://doi.org/10.1086/260062).
- Bonnans, J. F., and Zidani, H. (2003). Consistency of generalized finite difference schemes for the stochastic HJB equation. SIAM Journal on Numerical Analysis 41(3), 1008–1021 (https://doi.org/10.1137/S0036142901387336).
- Chen, Y., and Wan, J. W. (2016). Monotone mixed narrow/wide stencil finite difference scheme for Monge–Ampère equation. Preprint (arXiv:1608.00644).
- Crandall, M. G., Ishii, H., and Lions, P.-L. (1992). User’s guide to viscosity solutions of second order partial differential equations. Bulletin of the American Mathematical Society 27(1), 1–67 (https://doi.org/10.1090/S0273-0979-1992-00266-5).
- Debrabant, K., and Jakobsen, E. R. (2013). Semi-Lagrangian schemes for linear and fully non-linear diffusion equations. Mathematics of Computation 82(283), 1433–1462 (https://doi.org/10.1090/S0025-5718-2012-02632-9).
- Debrabant, K., and Jakobsen, E. R. (2014). Semi-Lagrangian schemes for linear and fully non-linear Hamilton–Jacobi–Bellman equations. In International Conference on Hyperbolic Problems 2014, pp. 483–490. American Institute of Mathematical Sciences, Springfield, MO.
- Forsyth, P. A., and Vetzal, K. R. (2012). Numerical methods for nonlinear PDEs in finance. In Handbook of Computational Finance, pp. 503–528. Springer (https://doi.org/10.1007/978-3-642-17254-0_18).
- Kilianová, S., and Ševčovič, D. (2013). A transformation method for solving the Hamilton–Jacobi–Bellman equation for a constrained dynamic stochastic optimal allocation problem. ANZIAM Journal 55(1), 14–38 (https://doi.org/10.1017/S144618111300031X).
- Kossaczký, I., Ehrhardt, M., and Günther, M. (2017). The tree–grid method with control-independent stencil. In Proceedings of Equadiff 2017 Conference, pp. 79–88. Public Knowledge Project.
- Kossaczký, I., Ehrhardt, M., and Günther, M. (2018). A new convergent explicit tree–grid method for HJB equations in one space dimension. Numerical Mathematics: Theory, Methods and Applications 11, 1–29 (https://doi.org/10.4208/nmtma.OA-2017-0066).
- Kushner, H., and Dupuis, P. G. (2013). Numerical Methods for Stochastic Control Problems in Continuous Time. Applications of Mathematics, Volume 24. Springer Science & Business Media.
- Lions, P.-L. (1983). Optimal control of diffusion processes and Hamilton–Jacobi–Bellman equations. Part 2: viscosity solutions and uniqueness. Communications in Partial Differential Equations 8(11), 1229–1276 (https://doi.org/10.1080/03605308308820301).
- Ma, K., and Forsyth, P. A. (2016). An unconditionally monotone numerical scheme for the two-factor uncertain volatility model. IMA Journal of Numerical Analysis 37(2), 905–944 (https://doi.org/10.1093/imanum/drw025).
- Mataramvura, S., and Øksendal, B. (2008). Risk minimizing portfolios and HJBI equations for stochastic differential games. Stochastics: An International Journal of Probability and Stochastic Processes 80(4), 317–337 (https://doi.org/10.1080/17442500701655408).
- Pham, H. (2005). On some recent aspects of stochastic control and their applications. Probability Surveys 2, 506–549 (https://doi.org/10.1214/154957805100000195).
- Pooley, D. M., Forsyth, P. A., and Vetzal, K. R. (2003). Numerical convergence properties of option pricing PDEs with uncertain volatility. IMA Journal of Numerical Analysis 23(2), 241–267 (https://doi.org/10.1093/imanum/23.2.241).
- Song, Q. (2008). Convergence of Markov chain approximation on generalized HJB equation and its applications. Automatica 44(3), 761–766 (https://doi.org/10.1016/j.automatica.2007.07.014).
- Wang, J., and Forsyth, P. A. (2008). Maximal use of central differencing for Hamilton–Jacobi–Bellman PDEs in finance. SIAM Journal on Numerical Analysis 46(3), 1580–1601 (https://doi.org/10.1137/060675186).
- Yong, J., and Zhou, X. Y. (1999). Stochastic Controls: Hamiltonian Systems and HJB Equations. Stochastic Modelling and Applied Probability, Volume 43. Springer Science & Business Media.
Only users who have a paid subscription or are part of a corporate subscription are able to print or copy content.
To access these options, along with all other subscription benefits, please contact info@risk.net or view our subscription options here: http://subscriptions.risk.net/subscribe
You are currently unable to print this content. Please contact info@risk.net to find out more.
You are currently unable to copy this content. Please contact info@risk.net to find out more.
Copyright Infopro Digital Limited. All rights reserved.
As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (point 2.4), printing is limited to a single copy.
If you would like to purchase additional rights please email info@risk.net
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. As outlined in our terms and conditions, https://www.infopro-digital.com/terms-and-conditions/subscriptions/ (clause 2.4), an Authorised User may only make one copy of the materials for their own personal use. You must also comply with the restrictions in clause 2.5.
If you would like to purchase additional rights please email info@risk.net