Counterparty credit risk (CCR) refers to the risk that a counterparty of a financial contract will default prior to the expiration of the contract, and thus cannot make the required contractual payments. It has been widely considered as one of the key drivers of the 2007-2008 financial crisis. The management of counterparty credit risk has caught special attention since the financial crisis. As pointed out by Basel Committee on Banking Superversion   : “During the financial crisis, banks suffered significant counterparty credit risk (CCR) losses on their OTC derivatives portfolios. The majority of these losses came from fair value adjustment on derivatives”. Regulations presented in the Basel III include credit valuation adjustment (CVA) as an additional capital charge requirement. CVA is defined as the difference between the risk free value of a contract and the market value of the contract with the possibility of a defaulting counterparty  .
One difficulty in pricing CVA arises from the uncertainty of the losses given the default, which is known as exposure. The exposure of contracts evolves before the expiration, diverting away from the initial value. Because of the growing practical importance, there are recently articles that discuss the computation of the exposure. Feng and Oosterlee (2012)  studied the exposure profile of European, Bermudan and barrier options under the Heston and Heston Hull- White model. Graaf et al. (2014)  presented various techniques to approximate exposure for early exercise option within Black-Scholes and Heston frame- work. Graaf et al. (2014)  explored the exposure profiles and CVA sensitivities for Barrier option in the context of Black-Scholes and Heston model.
The other difficulty in pricing CVA concerns the dependency between exposure and counterparty credit quality, which is known as wrong/right way risk (WWR). In the context of computation of CVA, the correct inclusion of Wrong Way Risk (WWR) is still a major concern. Many different approaches have been proposed to assess WWR. Hull and White (2012)  adjusted default probability in the dependent CVA formula. Pykhtin and Rosen (2010)  used copula method to model the dependence between default time and exposures. Alternative method such as change of measure is illustrated in Brigo and Vrins (2016)  . We focus on the dependence between the counterparty default and general market risk factors.
Since stochastic volatility models such as Heston model and Bates model are widely used in practice, it is often of interest to estimate CVA under the stochastic volatility model and analyze the impact of stochastic volatility on CVA. Comparing to Heston model, Bates extended Heston model by adding a jump term in the stock process. The inclusion of jumps is necessary for stochastic volatility models to comply with the market observed phenomena to varying degrees. At the same time, jumps modeling the sudden changes in the risk factors and it could be related to counterparty’s default. Some of market factors will jump immediately following the default event  . Bates model in the presence of jump-to-default is the joint modeling of equity and credit model. The jump model conditional on default for CVA was discussed in  . Fabio and Minqiang (2015)  investigated CVA in the presence of WWR by introducing jumps at default to model. Unlike other models, we embed the relation between default and risk factors in the model by the jump.
In this paper we model CVA for European options under Bates model with stochastic default intensity which presents several attractive features.
Firstly, Bates model is a stochastic jump diffusion model. Jump diffusion are capable of modeling large and sudden changes in the state variable  . Default and risk factors are correlated through jump. It is intuitive and realistic  . Secondly, under the Monte Carlo framework, by modeling a stochastic intensity model, default and risk factors can be easily connected through correlations from Brownian motion. Default and risk factors are then further correlated through correlation parameter. It is very easy to implement. Thirdly, option values in the model are computed by finite difference method of the corresponding PIDE. Both Heston model and jump diffusion models are actually nested by Bates model. It is flexible.
We develop a PDE based Monte Carol framework for pricing CVA and assess exposure profile. The framework contains essentially three steps: risk factor simulation, independent exposure estimation and WWR incorporation. Monte Carlo method is used to generate asset paths from initial time to maturity. Along the paths, independent option values are determined at each time grid by PDE method. WWR is then formulated by introducing a kind of model-to market survival rate change ratio. Under this framework, CVA for both single trade and portfolios can be treated.
This paper contributes as follows: first we expand Bates model by modeling the intensity of jump to default with the stochastic process, i.e., the CIR++ process which provides a natural and effective framework to handle the correlation between the underlying asset and the default, evaluate the impact on exposure and CVA and assess WWR; second we develop an efficient PDE based Monte Carlo framework for pricing CVA and assessing exposure profile under Bates model with stochastic intensity of the jump to default which combines advantages of Monte Carlo simulation (such as path-wise pricing, and properly netting and collateral modeling) and efficiency of PDE pricing. Our framework can be used for both single trade and portfolios; with the developed efficient framework, our results show that both jump and WWR play an important role in evaluating CVA and exposures. The impact is significant and it is crucial for risk management purpose.
The outline of the paper is as follows. In Section 2, we describe CVA valuation problem in general terms. Section 3 describes the stochastic intensity model and underlying asset driven process. In Section 4, we present the general framework for CVA pricing based on Monte Carlo and PDE method. In Section 5, we present test results. Conclusion is summarized in Section 6.
2.1. CVA, EE and PFE
Counterparty risk is very similar to other forms of credit risk in that the economic loss is obligor’s default. There are two features that set counterparty risk different from more traditional forms of credit risk: the uncertainty of exposure and the bilateral nature of credit risk  . In the following, we will review the definition of credit exposure and CVA.
In the event that a counterparty has defaulted, an institution may close out the relevant contracts and cease any future payments. Following this, they may determine the net amount owing between them and their counterparty. If the net amount is negative, the institution is in debt to its counterparty and is still legally obliged to settle this amount. Hence, from a valuation’s perspective, the position appears essentially unchanged. The institution does not gain or loss from the counterparty’s default. If the net amount is positive, the institution will have a claim on the positive value at the time of default  . Thus the credit exposure of an institution that has a trade level contract with a counterparty is given by
where is the portfolio’s market value at . Uncertain future exposure can be visualized by means of exposure profiles. This leads to the definition of expected exposure. Assume that all the stochastic processes considered are defined on the probability space , where is the risk neutral measure and is the filtration up to time . Expected exposure (EE) at a future time is given by:
where and denotes the expectation under the risk-neu- tral measure .
Potential future exposure (PFE) is the maximum loss due to counterparty default with a given confidence level. It is the quantile of the exposure at a certain level and is used to measure the “worst” loss for the risk management purpose. The mathematical definition is given by:
where is the confidence level. For calculating PFE, is commonly used to measure the worst losses.
Credit value adjustment (CVA) is by definition the difference between risk free portfolio value and the true portfolio value that takes into account the possibility of counterparty’s default  . If the counterparty defaults, the institution will be able to recover a constant fraction of exposure which is denoted by . Denote the time of counterparty default by , then
where denotes the discount factor for maturity and is maturity. Assume survival probability
then the expression for CVA becomes
This is the general CVA formula. As we can see, in Equation (6), one key element to calculate CVA is the conditional expectation . Therefore, the dependence between and default time is important and can be material. In general, the dependency between exposure and counterparty credit quality is known as wrong/right way risk (WWR).
Assume exposure and counterparty default are independent, Equation (6) can be simplified to:
This is the independent CVA formula.
In this paper, we will not only focus on the calculation of exposure, but also investigate the impact of WWR on CVA.
2.2. CVA, EE with WWR
According to the International Swaps and Derivatives Association, WWR is defined as the risk that occurs when the exposure to a counterparty is adversely correlated with the credit quality of that counterparty  . Many different techniques have been proposed to assess WWR. Brigo and Pallavicini (2008)  studied a stochastic intensity and its correction with risk factors. Pykhtin et al. (2010)  and Bocker et al. (2014)  use copula to model the WWR. Hull and White (2012)  proposed a deterministic relationship that links higher values of exposure paths with a higher default probability. Bocker et al. (2014)  and Ruiz et al. (2015)  ) modeled WWR by introducing different risk weights for different exposure scenarios. Brigo and Vrins (2016)  introduced wrong way measure and tackled WWR through change of numeraire.
As we know, survival probability defined in Equation (5) is a deceasing function satisfying . Survival probability can be expressed in terms of hazard rate and the relation between and is . Following the stochastic intensity model in  , we introduce a survival process on the probability space , and assume that:
where is a stochastic process. Formally, the survival process and survival probability are linked by
As mentioned in  , CVA with WWR in this setting reduces to:
The denominator can be considered as the prevailing market view of default likelihood and . The process is a kind of model-to- market survival rate change ratio  . For more discussion of , we refer to  . In the above expression, expected exposure with consideration of WWR will be . It is a weighted exposure and the exposure weight function is determined by . Note that this definition is consistent with the WWR discussion in  . Unless otherwise specified, Equation (9) is used to estimate CVA and EE for the paper.
3. Modeling Assumptions
In this paper, in order to quantify WWR for CVA, we consider a stochastic intensity model, namely Cox-Ingersoll-Ross (CIR) model for the counterparty. The underlying process is driven by Bates models. WWR is modeled by a joint simulation of the underlying processes that drive counterparty exposure and credit risk. The dependence structure is modeled by the correlation between driven Brownian motion as well as the jump-to-default feature of Bates model. We assume deterministic interest rate and hence deterministic discount factor , but all our conclusions hold under stochastic interest rates that are independent of default time.
3.1. Cox-Ingersoll-Ross (CIR)
In this paper, we assume follows CIR process. The hazard rate process can be formulated as follows:
where follows a standard CIR process and the deterministic function allows calibration to the current hazard curve. The parameters and are positive deterministic constant. As usual, is standard Brownian motion under the risk neutral measure. It is well known that the probability density of is given by a non-central chi-square distribution. The closed form density leads to a closed form formula for the survival probability formula. Let be the survival probability up to time conditional on survival up to time t, then
3.2. CVA under Bates Model
We will present methods for computation of the exposure of European options under the Bates model  . Bates model combines the Merton jump model  and the Hestonstochastic volatility model  . Heston model and jump diffusion models are actually nested by Bates model. Bates model describes the behavior of the asset value and its variance by the following SDE:
where is the risk free interest rate, is the standard Poisson process which models numbers of jumps and has intensity . Jump size of the Poisson process is denoted by . follows log-normal distribution with parameter and its probability density function is denoted by . The relation between
and is: . is the rate of mean reversion level, is
the mean level of variance and is the volatility of . and are standard Brownian motion processes with correlation .
Price of an option with maturity , payoff function and with the initial value of the underlying and volatility to and respectively equals: . Since it’s a two dimensional pricing problem and its analytical formula is hard to obtain, we will apply finite difference method to solve the associate PDE under the CVA framework. Therefore, from Equation (2), expected exposure in Beta’s model can be expressed as
3.3. WWR CVA
We now move to the computation of the CVA, as in Equation (9).
In the case study below, we assume the correlation between and is , i.e. . Note that and are different. is the correlation between the asset value and its variance , while reflects the correction between the underlying process and the default intensity. Furthermore, we assume . It is clear that when , . Here the second equality comes from the fact that . CVA expression in Equation (9) reduces to Equation (7), which is the independent CVA formula. The impact of the WWR manifests itself in the term from the correlation parameter .
As we know, Bates model in the presence of jump-to-default is the joint modeling of equity and credit model. WWR is also modeled by introducing jumping at default part. To measure WWR from the jump contribution, we simply remove the jump part from Bates model, which is actually Heston model.
4. General Scheme for CVA Pricing for under Bates Model with Stochastic Intensity
We assume constant recovery rate and independence between interest rate and other factors. CVA formula in Equation (9) then has following key components: the estimation of exposure , the calculation of survival ratio and the final estimation of CVA. For CVA calculation purpose, we are not only concerned with option value at time , but also for all the time till expiration of the contract. When PDE method is used to price a single trade, only a single grid point in initial time is used. In order to calculate exposure at all future time, the finite difference method uses a large portion of the grid points. It makes the PDE method computationally attractive  . Therefore, we will employ PDE method to find exposure. The estimation of is accomplished through MC simulation. In the following, we build MC based PDE framework to price CVA and discuss practical implementation of the jump-to-default feature CVA.
4.1. The Finite Difference Method for Exposure Calculation
For a European option with maturity and payoff function , the risk-neutral price at any time is:
Let , then satisfies the following partial integro-differ- rential Equation (PIDE):
where is log-normal probability density function. By introducing operators
the partial integro-differential equation in (17) can be written as :
The RHS of Equation (20) can be split into two parts. The first part is a differential operator , which can be discretized in a similar way to Heston PDE. The second part is an integral term and need to be evaluated.
4.1.1. Time Discretization
The numerical solution of Equation (20) is straightforward since applying a standard space discretization lead to a tridiagonal matrix. However, the presence of the jump terms which results in PIDE causes the discretization matrix to be full. Therefore, we adopt implicit-explicit (IMEX) time discretization schemes. The jump term is treated explicitly, while the rest is handled implicitly. Let us
construct grid points in time direction with step size . By applying IMEX scheme, we have
4.1.2. Discretization of
The discretization for differential operator is similar to the discretization of Heston PDE operator. Solving Heston PDE to price European and American option is extensively studied in   . We follow the scheme mentioned in  for discretization. We use a computational grid that is uniform in and nonuniform in and . Central schemes have been used to estimate the first derivative, second derivative and mixed derivative. Upwind scheme is applied on the boundary point. This is a quite well known method and we do not show the detailed here. For more details, we refer to  .
4.1.3. Discretization of
The integral term in operator need to be estimated in each of the grid points . We follow the same procedure as listed in   . Let
by introducing the change of variable and decomposing the integration interval into and , Equation (22) becomes
where is normal probability density function with mean and standard deviation and
The interval is chosen to be large so that the last integral in Equation (23) is negligible.
4.2. Monte Carlo Simulation for Stochastic Intensity
For realistic implementation of hazard rate process in CVA context, we rely on Monte Carlo simulate to generate the path for hazard rate. Several schemes have been tested for simulating the CIR process. Most of them are comparable when Feller condition is satisfied and when volatility is small. However, when the volatility is large, the performances deteriorate  . One can use reflected schemes to avoid negative samples along the path, however, the time step required to ensure the convergence is too small. Alternatively, the scheme mentioned in  seems to work well. It consists of the following scheme for discretization:
The scheme above allows violating the Feller constraint somewhat without loss of probability at or through the boundary. We will use this scheme to simulate the path for hazard rate.
4.3. CVA Calculation Based on Monte Carlo and PDE Method
For the purpose of CVA calculation, we first use Monte Carlo simulation to generate market state variables. Next, a grid in and is created. Price at each grid is calculated through PDE method. For any time which is not in line with simulation time, option price is obtained by bilinear interpolation on the grids. At each time point, expected exposure can be calculated accordingly. The flow chart of the procedure is given in Figure 1. In a summary, the basic procedure is presented in following steps:
Figure 1. Flow chart.
1) Generate path for and along time axis for SDE (14);
2) Generate path for hazard rate using the Scheme (25) and estimate use Equation (10);
3) Calculate option values at all PDE grids for all time ;
4) Calculate option values for all , at all time . If or doe not coincide with or , bilinear interpolation will be applied;
5) Calculate EE, PFE from all the path at each time;
6) Calculate CVA.
5. Numerical Results
In this section, we price EE and CVA for European options under Bates model with stochastic default intensity. In order to study the impact of WWR, we show the EE and CVA for vanilla European option. Following this, we discuss the impact of the model parameters on CVA.
For all tests we covered, we follow the basic procedures listed in Section 4.3. In order to generate Monte Carlo paths for market risk factors, the jump and diffusion parts of the underlying asset under the Bates model can be simulated separately and multiplied together at the end. To simulate the diffusion part of the underlying asset, we will use Quadratic Exponential (QE) scheme.
Unless otherwise specified, the parameters for European call option are given by: , , , . The model parameters employed in numerical experiments are listed in Table 1. In addition, the number of Monte Carlo paths is set to be 10,000, and the time step size of the SDE discretization .
5.1. WWR CVA from Parameter ρ
To analyze the impact of the WWR on EE and CVA, we provide EE profile and CVA for different choices of
. To isolate other factor’s impact, we only vary parameter
and keep other parameters as listed in Table 1. Figure 2 contains the numerical results for the at the money(ATM) option with strike
When , EE obtained by CVA with WWR and no WWR are extremely close and the differences are within Monte Carlo error. As we know, when the
Table 1. Base parameters.
Figure 2. ATM.
Figure 3. ITM.
Figure 4. OTM.
correction is zero, EE with WWR should be the same as EE with no WWR. Test results are as expected. Sizable differences are observed between EE and CVA with the consideration of WWR when . WWR CVA is 15.01% higher than the independent CVA for and 15.16% lower than it for for ATM option. For OTM case, the difference is 20.36% and 18.37% for and . For ITM case, similar size of differences are observed as well. All the results show that the WWR introduced through correlation has an impact on CVA.
5.2. WWR CVA from the Jump Effect
In this part, we assess the impact of jump on EE and PFE profiles. We start with the comparison of Heston model to Bates model on EE and PFE profile. Then we conduct a detailed analysis of jump impact on CVA. Basically, we stress the jump parameters from Bates model by considering different levels of jump intensity and jump size volatility. Note that the parameters are chosen from Table 1.
5.2.1. Effect of Jump
In this part, we consider the overall jump impact to CVA. As we mentioned in Section 3.3, in order to quantify the WWR from jump contribution, we remove the jump part from Bates model (which is Heston model) and compare EE and CVA between these two models. Test results are illustrated in Figures 5-7. When the results for Heston model are compared to Bates model, significant difference can be noticed for both EE and PFE. The average EE difference are 29.0%, 24.7% and 28.1% for , −0.9 and 0.9 respectively. For PFE, the difference grows as time elapses. All the differences are introduced by model difference (the jumps).
Let us now focus on the Figure 5 when , this is an independent CVA case. Independent of underlying dynamics, EE starts at initial option value and oscillates around initial value and return to the initial level at expiry. It can be
Figure 5. ATM option, .
Figure 6. ATM option, .
Figure 7. ATM option, .
explained by martingale theory proposed by Tang and Li  . However, when , the WWR EE is no longer lingering around the initial level. Figure 6 illustrates the case when and Figure 7 corresponds to the situation when . When correlation is counted, the EE either increase with time or decrease with time. That is exactly an outcome the WWR.
5.2.2. Effect of Jump Parameters
In this section, we consider the effect of the additional jump parameter entering the Bates model, namely the jump intensity and the jump size volatility . In the left panel of Figure 8, EE profiles for different levels of are plotted. We can see that increase of causes the EE to increase significantly. The overall impact on CVA is listed in the right panel of Figure 8. As it shows that CVA increases from 1.49 to 2.06 when increases from 0.1 to 1, the impact of is substantial. Study of is shown in Figure 9. It can be noticed that both EE and CVA rise as jump intensity increases. As we know, de-
Figure 8. Impact of .
Figure 9. Impact of .
notes the jump frequency, CVA increase naturally with the increase of jump frequency.
All these results show that jump has an impact on exposure profiles as well as CVA. The introduction of jump-at-default can result in large jump WWR. Therefore, it is important for CVA and risk management purpose.
The expected exposure is an option on the market value of the position; if the position itself is an option, the evaluation is to price an option on the option; it will require the stochastic volatility to generate sufficient volatility of the option position and catch the risk properly. The developed Bates model with stochastic intensity of the jump to default in CIR++ process in this paper provides a natural and effective framework to generate the sufficient volatility and provide the jump to default feature which is essentially important for addressing the WWR. How to efficiently evaluate the expected exposure precisely and how to catch the WWR properly are big challenges to both financial industry and academia; in the past, many progresses have been made as pointed out in the introduction. In this paper, we develop and demonstrate an efficient PDE based Monte Carlo framework for pricing CVA and assessing exposure profile under Bates model with stochastic default intensity in CIR++ process which combines the advantages of Monte Carlo simulation (such as path-wise pricing, and properly netting and collateral modeling) and efficiency of PDE pricing. The developed framework can be used for pricing both single trade and portfolios and it is a practically useful algorithm/framework in which its computation performance could be improved significantly by computing each individual path parallelly.
This work studies CVA in presence of WWR caused by the correlation between the underlying asset and the jump-to-default. The work can be further improved by including correlations between underlying asset, the jump to default, the option seller and the bank. This research focuses mainly on the equity asset and European option in our examples, however, the developed framework in this paper can be applied to price CVA and study WWR for other assets such as commodity, FX and credit etc. as well as other options such as Bermudan option, American option and barrier option etc.