Open Access
This article is

- freely available
- re-usable

*Risks*
**2019**,
*7*(3),
87;
https://doi.org/10.3390/risks7030087

Article

On the Laplace Transforms of the First Hitting Times for Drawdowns and Drawups of Diffusion-Type Processes

^{1}

Department of Mathematics, London School of Economics, Houghton Street, London WC2A 2AE, UK

^{2}

School of Mathematical Sciences, Queen Mary University of London, Mile End Road, London E1 4NS, UK

^{3}

Southampton Business School, University of Southampton, Southampton SO17 1BJ, UK

^{*}

Author to whom correspondence should be addressed.

Received: 27 May 2019 / Accepted: 30 July 2019 / Published: 5 August 2019

## Abstract

**:**

We obtain closed-form expressions for the value of the joint Laplace transform of the running maximum and minimum of a diffusion-type process stopped at the first time at which the associated drawdown or drawup process hits a constant level before an independent exponential random time. It is assumed that the coefficients of the diffusion-type process are regular functions of the current values of its running maximum and minimum. The proof is based on the solution to the equivalent inhomogeneous ordinary differential boundary-value problem and the application of the normal-reflection conditions for the value function at the edges of the state space of the resulting three-dimensional Markov process. The result is related to the computation of probability characteristics of the take-profit and stop-loss values of a market trader during a given time period.

Keywords:

Laplace transform; first hitting time; diffusion-type process; running maximum and minimum processes; boundary-value problem; normal reflection## 1. Introduction

The aim of this paper is to derive closed-form expressions for the joint Laplace transform (4) of the first time to a fixed drawdown occurring before a fixed drawup of the diffusion-type process X and its running maximum and minimum S and Q defined in (1)–(2) considered up to a random exponentially distributed time $\eta $, which is independent of the driving standard Brownian motion. We consider a model for the diffusion-type process X with the coefficients being regular functions of the current values of the process X itself as well as of its running maximum and minimum S and Q. The value function in (4) provides the Laplace transform of the value function in (6) which is the joint Laplace transform of the same random variables representing functionals of the diffusion-type process X stopped before a fixed time. We derive a closed-form solution to the equivalent inhomogeneous ordinary differential boundary-value problem for the value of the joint Laplace transform as a stopping problem for the resulting three-dimensional continuous Markov process $(X,S,Q)$. This result can therefore be interpreted as the computation of the probability characteristics of the random variables associated with the take-profit and stop-loss values of a market trader on a fixed-time interval. The problem of computation of the Laplace transform of the same random times and variables in a model in which the coefficients of the original diffusion-type process depend on the current values of the running maximum and minimum as well as on the maximum drawdown and maximum drawup was explicitly solved in Gapeev and Rodosthenous (2015) on the infinite time interval. Other functionals of diffusion processes evaluated at independent exponential times were computed in Borodin and Salminen (Borodin and Salminen 2002, Part II) among others.

The joint Laplace transform of the first time at which a Brownian motion with linear drift hits a given drawdown value and the running maximum stopped at the same time was computed by Taylor (1975). The joint distribution of the same random variables was obtained by Lehoczky (1977). The mean value and the density of the maximum drawdown of a Brownian motion with linear drift were explicitly derived by (Douady et al. 2000; Magdon-Ismail et al. 2004), respectively. More recently, Pospisil et al. (2009) computed the probability of the event that the drawdown of a one-dimensional diffusion reaches a fixed value occurs before the drawup of the same process reaches another fixed value. Mijatović and Pistorius (2012) obtained the distribution laws of the first-passage times of spectrally positive and negative Lévy processes over constant levels and derived explicit expressions for several related characteristics for the drawdowns and drawups in those models. An extensive overview of various probabilistic and practically applied aspects of drawdowns such as the speed of market crashes and others was recently provided in the monograph of Zhang (2018).

The diffusion-type processes can be considered as immediate generalisations of the diffusion processes particularly arising in the so-called local volatility models introduced by Dupire (1997), where the local drift and diffusion coefficients depend only on the running value of the original process. Other generalisations of the original processes with diffusion coefficients depending on the running values of the initial processes and their running minima were constructed by Forde (2011) for given joint laws of the terminal level and supremum at an independent exponential time (see also Forde et al. 2013; Zhang 2014) for other important probability characteristics of processes of such type). The valuation functional equations for general functional path-dependent volatility models were derived in (Cont and Fournié 2013; Fournié 2010), who also considered the sensitivity analysis of path-dependent financial derivative securities. Henry-Labordère (2009) and Ren et al. (2007), among others, considered the option pricing and calibration problems in models of stochastic interest rates and volatility based on diffusion-type processes with tractable path-dependent coefficients.

Optimal stopping problems for running maxima of some diffusion processes were studied by (Jacka 1991; Dubins et al. 1993; Peskir 1998; Peskir and Shiryaev 2006, chp. V) among others. Discounted optimal stopping problems for certain payoff functions depending on the current values of the running maxima of geometric Brownian motions were initiated by (Shepp and Shiryaev 1993, 1994) and then taken further by (Pedersen 2000; Guo and Shepp 2001; Guo and Zervos 2010, Glover et al. 2013; Rodosthenous and Zervos 2017) among others. Moreover, Peskir (2012, 2014) studied optimal stopping problems for three-dimensional Markov processes having the initial diffusion process as well as its maximum and minimum as state space components. Other three-dimensional optimal stopping problems for continuous Markov processes of such type were studied in (Gapeev and Rodosthenous 2014, 2016) among others. The main feature of the resulting optimal stopping problems and their equivalent free-boundary problems was the application of the normal-reflection conditions for the value functions at the edges of the multi-dimensional state spaces to derive systems of first-order nonlinear ordinary differential equations for the optimal stopping boundaries depending on the current values of the running extremal processes. Optimal stopping problems for diffusion and spectrally negative Lévy processes on random time intervals were considered in (Carr 1998; Avram et al. 2004; Agarwal et al. 2016) among others. It turned out that the resulting value functions and optimal stopping boundaries in models with exponentially distributed time horizons independent of the underlying processes are analytically more tractable than those obtained in models with fixed time horizons. Other optimal stopping problems for exponentially distributed time horizons which are dependent of the underlying Lévy process were recently considered in Rodosthenous and Zhang (2018).

Glattfelder et al. (2011) suggested a new paradigm, the directional changes, that summarises the price dynamics in the financial market. Unlike interval based summary along the physical time, the new paradigm summarizes the price movements along the intrinsic time scale of the market that is driven by the events in the market. The events in the market are identified by the a priori defined significant percentage of price moves known as thresholds. For a given threshold, the price movements are summarised by identifying the local price extremes from where there has been a percentage drop (or rise) in price that accedes the threshold. The process of price drop (or rise) from a local price extreme to the point where the price is dropped (risen) by the threshold is defined as directional change event. The price movement that continues after directional change event in the same direction beyond the threshold is considered as overshoot. Roughly speaking, directional changes and overshoots summarise the upward or downward trends in the market according to the prescribed thresholds. It is obvious that the summary of the directional changes is depending on the selected threshold. Using the high frequency foreign exchange data, in Glattfelder et al. (2011) scaling laws were demonstrated in intrinsic times for the variables like average times that are taken for directional changes, event thresholds, average overshoots, etc. The authors of Glattfelder et al. (2011) have identified 12 scaling laws across 13 currency pairs that are consistent over varying time intervals. The scaling laws throw light on market physics of moving prices. Each scaling law encapsulates certain stylised facts of the market. The scaling law that describes the relationship between the directional change and overshoot sections of the total price move has drawn quite a lot of attention. Even though the empirical evidence of the scaling laws is demonstrated in the literature (see, e.g., Bakhach et al. 2018; Bakhach et al. 2018; Tsang et al. 2017), the required theoretical framework is not developed yet. We believe that the present work on first hitting times for drawdowns and drawups on diffusion-type processes on random time horizons throws light on the underlying theoretical aspects of the scaling laws that are presented in financial data.

The paper is organised as follows. In Section 2, we introduce the setting and notation of the model with a three-dimensional continuous Markov process, whose state space components are the original process and its running maximum and minimum processes. We define the value function of the joint Laplace transform of the first time to a fixed drawdown occurring before the first time of a fixed drawup and an independent exponential time together with the running maximum and minimum processes stopped at the earliest of those times. In Section 3, we obtain a closed-form solution to the associated inhomogeneous ordinary differential boundary-value problem and show that the value function represents a linear combination of the solutions to the systems of first-order partial differential equations which arise from the application of the normal-reflection conditions for this function at the edges of the three-dimensional state space. We also illustrate the results on several examples of the original processes representing locally a Brownian motion with drift, or a mean-reverting Ornstein-Uhlenbeck process, or the logarithm of a Feller square root process. In Section 4, we formulate the result of the paper and prove that the solution to the boundary-value problem provides the required joint Laplace transform.

## 2. Preliminaries

In this section, we give a precise formulation of the model and the three-dimensional stopping problem as well as its equivalent boundary-value problem.

#### 2.1. Formulation of the Problem

Let us consider a probability space $(\mathsf{\Omega},\mathcal{F},P)$ with a standard Brownian motion $B={({B}_{t})}_{t\ge 0}$ and a positive random time $\eta $ such that $P(\eta >t)={e}^{-\alpha t}$, for all $t\ge 0$ and some $\alpha >0$ fixed (B and $\eta $ are supposed to be independent). Assume that there exists a process $X={({X}_{t})}_{t\ge 0}$ solving the stochastic differential equation
where $x\in \mathbb{R}$ is fixed, and $\mu (x,s,q)$ and $\sigma (x,s,q)>0$ are continuously differentiable functions on ${[-\infty ,\infty ]}^{3}$ which are of at most linear growth in x and uniformly bounded in s and q. Here, the associated with X running maximum process $S={({S}_{t})}_{t\ge 0}$ and the running minimum process $Q={({Q}_{t})}_{t\ge 0}$ are defined by
for arbitrary $q\le x\le s$. It follows from the result of (Liptser and Shiryaev [1977] 2001, chp. IV, Theorem 4.8) that the equation in (1) admits a pathwise unique (strong) solution. We also define the associated first hitting (stopping) times
for some $a,b>0$ fixed.

$$d{X}_{t}=\mu ({X}_{t},{S}_{t},{Q}_{t})\phantom{\rule{0.166667em}{0ex}}dt+\sigma ({X}_{t},{S}_{t},{Q}_{t})\phantom{\rule{0.166667em}{0ex}}d{B}_{t}\phantom{\rule{1.em}{0ex}}({X}_{0}=x)$$

$${S}_{t}=s\vee \underset{0\le u\le t}{max}{X}_{u}\phantom{\rule{1.em}{0ex}}\mathrm{and}\phantom{\rule{1.em}{0ex}}{Q}_{t}=q\wedge \underset{0\le u\le t}{min}{X}_{u}$$

$${\tau}_{a}=inf\{t\ge 0\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}{S}_{t}-{X}_{t}\ge a\}\phantom{\rule{1.em}{0ex}}\mathrm{and}\phantom{\rule{1.em}{0ex}}{\zeta}_{b}=inf\{t\ge 0\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}{X}_{t}-{Q}_{t}\ge b\}$$

The purpose of the present paper is to derive closed-form expressions for the joint Laplace transform of the random time ${\tau}_{a}\wedge {\zeta}_{b}\wedge \eta $ and the random variables ${S}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge \eta}$ and ${Q}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge \eta}$. We therefore need to compute the value function of the following stopping problem for the (time-homogeneous strong) Markov process $(X,S,Q)={({X}_{t},{S}_{t},{Q}_{t})}_{t\ge 0}$ given by
for any $(x,s,q)\in {E}^{3}$ and some $\lambda ,\theta ,\kappa >0$ fixed, where $I(\xb7)$ denotes the indicator function. Here, ${E}_{x,s,q}$ denotes the expectation under the assumption that the (three-dimensional) Markov process $(X,S,Q)$ defined in (1)–(2) starts at $(x,s,q)\in {E}^{3}$, where we assume that the state space of $(X,S,Q)$ is essentially ${E}^{3}=\{(x,s,q)\in {\mathbb{R}}^{3}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}q\le x\le s\}$ with its border planes ${d}_{1}^{3}=\{(x,s,q)\in {\mathbb{R}}^{3}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}x=s\}$ and ${d}_{2}^{3}=\{(x,s,q)\in {\mathbb{R}}^{3}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}x=q\}$.

$$\begin{array}{cc}\hfill {V}_{*}(x,s,q)& ={E}_{x,s,q}[{e}^{-\lambda ({\tau}_{a}\wedge \eta )-\theta {S}_{{\tau}_{a}\wedge \eta}-\kappa {Q}_{{\tau}_{a}\wedge \eta}}\phantom{\rule{0.166667em}{0ex}}I({\tau}_{a}<{\zeta}_{b})]\hfill \end{array}$$

It follows from the independence of the process X and the random time $\eta $ that the value function in (4) admits the representation
where we set
for any $(x,s,q)\in {E}^{3}$, and each $T>0$ fixed.

$$\begin{array}{cc}\hfill {V}_{*}(x,s,q)& ={\int}_{0}^{\infty}{W}_{*}(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT\hfill \end{array}$$

$$\begin{array}{c}\hfill {W}_{*}(T;x,s,q)={E}_{x,s,q}[{e}^{-\lambda ({\tau}_{a}\wedge T)-\theta {S}_{{\tau}_{a}\wedge T}-\kappa {Q}_{{\tau}_{a}\wedge T}}\phantom{\rule{0.166667em}{0ex}}I({\tau}_{a}<{\zeta}_{b})]\end{array}$$

#### 2.2. The Boundary-Value Problems

By means of standard arguments based on the application of Itô’s formula (see, e.g., Karatzas and Shreve 1991, chp. V, sct. 5.1), it is shown that the infinitesimal operator $\mathbb{L}$ of the process $(X,S,Q)$ acts on a function $F(x,s,q)$ from the class ${C}^{2,1,1}$ on the interior of ${E}^{3}$ according to the rule
for all $q<x<s$. It follows from the results of general theory of Markov processes (see, e.g., Dynkin 1965, chp. V) that the value function ${W}_{*}(T;x,s,q)$ in (6) solves the equivalent parabolic-type boundary-value problem
for all $T>0$. In this case, using the integration-by-parts formula, and taking into account the assumption that the value function in (6) is bounded, we have
and
for all $(x,s,q)\in {E}^{3}$. Hence, it follows from the boundary-value problem in (8)–(12), that the value function ${V}_{*}(x,s,q)$ in (6) solves the equivalent inhomogeneous ordinary boundary-value problem
for $a,b>0$ fixed. Note that the homogeneous version of the ordinary differential boundary-value problem in (18)–(22) in a model with more general diffusion-type processes X was explicitly solved in (Gapeev and Rodosthenous 2015, sct. 3).

$$(\mathbb{L}F)(x,s,q)=\mu (x,s,q)\phantom{\rule{0.166667em}{0ex}}{\partial}_{x}F(x,s,q)+\frac{{\sigma}^{2}(x,s,q)}{2}\phantom{\rule{0.166667em}{0ex}}{\partial}_{xx}F(x,s,q)$$

$$\begin{array}{c}(\mathbb{L}W-\lambda W-{\partial}_{T}W)(T;x,s,q)=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}(s-a)\vee q<x<s\wedge (q+b)\hfill \end{array}$$

$$\begin{array}{c}W(T;x,s,q){|}_{x=(s-a)+}={e}^{-\theta s-\kappa q}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-q\ge a\hfill \end{array}$$

$$\begin{array}{c}W(T;x,s,q){|}_{x=(q+b)-}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-q\ge b\hfill \end{array}$$

$$\begin{array}{c}{\partial}_{q}W(T;x,s,q){|}_{x=q+}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}0<s-q<a\hfill \end{array}$$

$$\begin{array}{c}{\partial}_{s}W(T;x,s,q){|}_{x=s-}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}0<s-q<b\hfill \end{array}$$

$$\begin{array}{c}{\int}_{0}^{\infty}{\partial}_{T}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT\hfill \\ ={\left[W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\right]}_{0}^{\infty}+{\int}_{0}^{\infty}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}{\alpha}^{2}\phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT\hfill \\ =-\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}+{\int}_{0}^{\infty}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}{\alpha}^{2}\phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT=-\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}+\alpha \phantom{\rule{0.166667em}{0ex}}V(x,s,q)\hfill \end{array}$$

$$\begin{array}{c}{\int}_{0}^{\infty}{\partial}_{x}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT={\partial}_{x}V(x,s,q)\hfill \end{array}$$

$$\begin{array}{c}{\int}_{0}^{\infty}{\partial}_{xx}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT={\partial}_{xx}V(x,s,q)\hfill \end{array}$$

$$\begin{array}{c}{\int}_{0}^{\infty}{\partial}_{q}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT={\partial}_{q}V(x,s,q)\hfill \end{array}$$

$$\begin{array}{c}{\int}_{0}^{\infty}{\partial}_{s}W(T;x,s,q)\phantom{\rule{0.166667em}{0ex}}\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\alpha T}\phantom{\rule{0.166667em}{0ex}}dT={\partial}_{s}V(x,s,q)\hfill \end{array}$$

$$\begin{array}{c}(\mathbb{L}V-(\alpha +\lambda )\phantom{\rule{0.166667em}{0ex}}V)(x,s,q)=-\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}(s-a)\vee q<x<s\wedge (q+b)\hfill \end{array}$$

$$\begin{array}{c}V(x,s,q){|}_{x=(s-a)+}={e}^{-\theta s-\kappa q}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-q\ge a\hfill \end{array}$$

$$\begin{array}{c}V(x,s,q){|}_{x=(q+b)-}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-q\ge b\hfill \end{array}$$

$$\begin{array}{c}{\partial}_{q}V(x,s,q){|}_{x=q+}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}0<s-q<a\hfill \end{array}$$

$$\begin{array}{c}{\partial}_{s}V(x,s,q){|}_{x=s-}=0\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\mathrm{for}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}0<s-q<b\hfill \end{array}$$

## 3. Solutions to the Boundary-Value Problem

In this section, we obtain closed-form solutions to the boundary-value problem in (18)–(22) under various relations on the parameters of the model.

#### 3.1. The General Solution of the Ordinary Differential Equation

We first observe that the general solution of the equation in (18) has the form
where ${C}_{i}(s,q)$, $i=1,2$, are some arbitrary continuously differentiable functions, and ${\mathsf{\Psi}}_{i}(x,s,q)$, $i=1,2$, are the two fundamental positive solutions (i.e., nontrivial linearly independent particular solutions) of the homogeneous version of the second-order ordinary differential equation in (18). Without loss of generality, we may assume that ${\mathsf{\Psi}}_{1}(x,s,q)$ and ${\mathsf{\Psi}}_{2}(x,s,q)$ are the (strictly) increasing and decreasing (convex) functions, respectively. Note that these solutions should satisfy the properties ${\mathsf{\Psi}}_{1}(r,r,r)\uparrow \infty $ and ${\mathsf{\Psi}}_{2}(r,r,r)\downarrow 0$ as $r\uparrow \infty $ and ${\mathsf{\Psi}}_{1}(r,r,r)\downarrow 0$ and ${\mathsf{\Psi}}_{2}(r,r,r)\uparrow \infty $ as $r\downarrow -\infty $ on the state space ${E}^{3}$ of the process $(X,S,Q)$. These functions can be represented as the functionals
and
of the first hitting times $\xi =inf\{t\ge 0\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}{X}_{t}=x\}$ and ${\xi}^{\prime}=inf\{t\ge 0\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}{X}_{t}={x}^{\prime}\}$ of the process X solving the stochastic differential equation in (1) and started at x and ${x}^{\prime}$ such that $(x,s,q),({x}^{\prime},s,q)\in {E}^{3}$, respectively (see, e.g., Rogers and Williams 1987, chp. V, sct. 50 for further details).

$$V(x,s,q)={C}_{1}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(x,s,q)+{C}_{2}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(x,s,q)+\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}$$

$$\begin{array}{c}{\mathsf{\Psi}}_{1}(x,s,q)=\left\{\begin{array}{cc}{E}_{x,s,q}[{e}^{-\lambda {\xi}^{\prime}}I({\xi}^{\prime}<\infty )],\hfill & \mathrm{if}\phantom{\rule{1.em}{0ex}}x\le {x}^{\prime}\hfill \\ 1/{E}_{{x}^{\prime},s,q}[{e}^{-\lambda \xi}I(\xi <\infty )],\hfill & \mathrm{if}\phantom{\rule{1.em}{0ex}}x\ge {x}^{\prime}\hfill \end{array}\right.\hfill \end{array}$$

$$\begin{array}{c}{\mathsf{\Psi}}_{2}(x,s,q)=\left\{\begin{array}{cc}1/{E}_{{x}^{\prime},s,q}[{e}^{-\lambda \xi}I(\xi <\infty )],\hfill & \mathrm{if}\phantom{\rule{1.em}{0ex}}x\le {x}^{\prime}\hfill \\ {E}_{x,s,q}[{e}^{-\lambda {\xi}^{\prime}}I({\xi}^{\prime}<\infty )],\hfill & \mathrm{if}\phantom{\rule{1.em}{0ex}}x\ge {x}^{\prime}\hfill \end{array}\right.\hfill \end{array}$$

Hence, by applying the conditions of (19)–(22) to the function in (23), we obtain the equalities
for $s-q\ge a$,
for $s-q\ge b$,
for $0<s-q<a$,
for $0<s-q<b$.

$$\begin{array}{c}{C}_{1}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(s-a,s,q)+{C}_{2}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s-a,s,q)=\frac{\lambda}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \end{array}$$

$$\begin{array}{c}{C}_{1}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(q+b,s,q)+{C}_{2}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q+b,s,q)=-\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \end{array}$$

$$\begin{array}{c}\sum _{i=1}^{2}\left({\partial}_{q}{C}_{i}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{i}(q,s,q)+{C}_{i}(s,q)\phantom{\rule{0.166667em}{0ex}}{\partial}_{q}{\mathsf{\Psi}}_{i}(x,s,q){|}_{x=q}\right)=\frac{\alpha \kappa}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \end{array}$$

$$\begin{array}{c}\sum _{i=1}^{2}\left({\partial}_{s}{C}_{i}(s,q)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{i}(s,s,q)+{C}_{i}(s,q)\phantom{\rule{0.166667em}{0ex}}{\partial}_{s}{\partial}_{s}{\mathsf{\Psi}}_{i}(x,s,q){|}_{x=s}\right)=\frac{\alpha \theta}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \end{array}$$

#### 3.2. The Solution to the Boundary-Value Problem

We now derive the solution of the boundary-value problem in (18)–(22). For this purpose, we recall that the second and third components of the process $(X,S,Q)$ can increase and decrease only at the planes ${d}_{1}^{3}$ and ${d}_{2}^{3}$, that is, when ${X}_{t}={S}_{t}$ and ${X}_{t}={Q}_{t}$ for $t\ge 0$, respectively.

**(i)**Let us first consider the domain $a\vee b\le s-q\le a+b$. In this case, solving the system of equations in (26) and (27), we conclude that the candidate value function admits the representation

$$V(x,s,q;\infty )={C}_{1}(s,q;\infty )\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(x,s,q)+{C}_{2}(s,q;\infty )\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(x,s,q)+\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}$$

$${C}_{1}(s,q;\infty )=\frac{{e}^{-\theta s-\kappa q}(\lambda {\mathsf{\Psi}}_{2}(q+b,s,q)+\alpha {\mathsf{\Psi}}_{2}(s-a,s,q))/(\alpha +\lambda )}{{\mathsf{\Psi}}_{1}(s-a,s,q){\mathsf{\Psi}}_{2}(q+b,s,q)-{\mathsf{\Psi}}_{1}(q+b,s,q){\mathsf{\Psi}}_{2}(s-a,s,q)}$$

$${C}_{2}(s,q;\infty )=\frac{{e}^{-\theta s-\kappa q}(\lambda {\mathsf{\Psi}}_{1}(q+b,s,q)+\alpha {\mathsf{\Psi}}_{1}(s-a,s,q))/(\alpha +\lambda )}{{\mathsf{\Psi}}_{1}(q+b,s,q){\mathsf{\Psi}}_{2}(s-a,s,q)-{\mathsf{\Psi}}_{1}(s-a,s,q){\mathsf{\Psi}}_{2}(q+b,s,q)}$$

**(ii)**Let us now consider the domain $a\le s-q<b$. In this case, it follows from the equations in (26) and (29) that the candidate value function admits the representation

$$V(x,s,q;a)={C}_{1}(s,q;a)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(x,s,q)+{C}_{2}(s,q;a)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(x,s,q)+\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}$$

$${C}_{2}(s,q;a)=\frac{\lambda}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(s-a,s,q)}-{C}_{1}(s,q;a)\phantom{\rule{0.166667em}{0ex}}\frac{{\mathsf{\Psi}}_{1}(s-a,s,q)}{{\mathsf{\Psi}}_{2}(s-a,s,q)}$$

$${\partial}_{s}{C}_{1}(s,q;a)\phantom{\rule{0.166667em}{0ex}}{H}_{1,2}(s,q;a)+{C}_{1}(s,q;a)\phantom{\rule{0.166667em}{0ex}}{H}_{1,1}(s,q;a)={H}_{1,0}(s,q;a)$$

$$\begin{array}{c}{H}_{1,2}(s,q;a)={\mathsf{\Psi}}_{1}(s,s,q)\phantom{\rule{0.166667em}{0ex}}-{\mathsf{\Psi}}_{2}(s,s,q)\phantom{\rule{0.166667em}{0ex}}\frac{{\mathsf{\Psi}}_{1}(s-a,s,q)}{{\mathsf{\Psi}}_{2}(s-a,s,q)}\hfill \end{array}$$

$$\begin{array}{c}{H}_{1,1}(s,q;a)={\partial}_{s}{\mathsf{\Psi}}_{1}(x,s,q){|}_{x=s}\hfill \\ \phantom{{H}_{1,1}(s,q;a)=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}-{\partial}_{s}\left(\frac{{\mathsf{\Psi}}_{1}(s-a,s,q)}{{\mathsf{\Psi}}_{2}(s-a,s,q)}\right)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s,s,q)-\frac{{\mathsf{\Psi}}_{1}(s-a,s,q)}{{\mathsf{\Psi}}_{2}(s-a,s,q)}\phantom{\rule{0.166667em}{0ex}}{\partial}_{s}{\mathsf{\Psi}}_{1}(x,s,q){|}_{x=s}\hfill \end{array}$$

$$\begin{array}{c}{H}_{1,0}(s,q;a)=\frac{\lambda}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}(\theta \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \\ \phantom{{H}_{1,0}(s,q;a)=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}-{\partial}_{s}\left(\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(s-a,s,q)}\right)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s,s,q)-\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(s-a,s,q)}\phantom{\rule{0.166667em}{0ex}}{\partial}_{s}{\mathsf{\Psi}}_{2}(x,s,q){|}_{x=s})\hfill \end{array}$$

$${C}_{1}(q+b,q;a)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(q+b,q+b,q)+{C}_{2}(q+b,q;a)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q+b,q+b,q)=-\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta (q+b)-\kappa q}$$

$$\begin{array}{cc}\hfill {C}_{1}(s,q;a)& ={C}_{1}(q+b,q;a)\phantom{\rule{0.166667em}{0ex}}exp\left({\int}_{s}^{q+b}\frac{{H}_{1,1}(u,q;a)}{{H}_{1,2}(u,q;a)}\phantom{\rule{0.166667em}{0ex}}du\right)\hfill \\ \hfill & \phantom{=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}-{\int}_{s}^{q+b}\frac{{H}_{1,0}(u,q;a)}{{H}_{1,2}(u,q;a)}\phantom{\rule{0.166667em}{0ex}}exp\left({\int}_{s}^{u}\frac{{H}_{1,1}(v,q;a)}{{H}_{1,2}(v,q;a)}\phantom{\rule{0.166667em}{0ex}}dv\right)du\hfill \end{array}$$

$$\begin{array}{c}{C}_{1}(q+b,q;a)\hfill \\ =\frac{{e}^{-\theta (q+b)-\kappa q}(\lambda {\mathsf{\Psi}}_{2}(q+b,q+b,q)+\alpha {\mathsf{\Psi}}_{2}(q+b-a,q+b,q))/(\alpha +\lambda )}{{\mathsf{\Psi}}_{1}(q+b-a,q+b,q){\mathsf{\Psi}}_{2}(q+b,q+b,q)-{\mathsf{\Psi}}_{1}(q+b,q+b,q){\mathsf{\Psi}}_{2}(q+b-a,q+b,q)}\hfill \end{array}$$

Note that in the case in which $\mu (s,q)=\mu (s)$ and $\sigma (s,q)=\sigma (s)$ in (1) as well as $\kappa =0$ and $b=\infty $ in (6), the candidate value function admits the representation of (33) with $V(x,s,q;a)=U(x,s;a)$ and ${C}_{i}(s,q;a)={D}_{i}(s;a)$ as well as ${\mathsf{\Psi}}_{i}(x,s,q)={\Phi}_{i}(x,s)$, $i=1,2$. Moreover, we observe that ${D}_{1}(\infty ;a)=0$ should hold in (33), since otherwise $U(x,s;a)\to \pm \infty $ as $x=s\uparrow \infty $, which must be excluded, by virtue of the obvious fact that the value function ${V}_{*}(x,s,q)={U}_{*}(x,s)$ in (6) is bounded. Therefore, using arguments similar to the ones above, we conclude that the function ${C}_{2}(s,q;a)={D}_{2}(s;a)$ has the form of (34) with ${C}_{1}(s,q;a)={D}_{1}(s;a)$ given by
and ${H}_{1,j}(s,q;a)={G}_{1,j}(s;a)$, $j=0,1,2$, from (36)–(38), for all $s\in \mathbb{R}$.

$$\begin{array}{c}\hfill {D}_{1}(s;a)=-{\int}_{s}^{\infty}\frac{{G}_{1,0}(u;\infty )}{{G}_{1,2}(u;\infty )}exp\left({\int}_{s}^{u}\frac{{G}_{1,1}(v;\infty )}{{G}_{1,2}(v;\infty )}\phantom{\rule{0.166667em}{0ex}}dv\right)du\end{array}$$

**(iii)**Let us now consider the domain $b\le s-q<a$. In this case, it follows from the equations in (27) and (28) that the candidate value function admits the representation

$$V(x,s,q;b)={C}_{1}(s,q;b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(x,s,q)+{C}_{2}(s,q;b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(x,s,q)+\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}$$

$${C}_{2}(s,q;b)=-\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(q+b,s,q)}-{C}_{1}(s,q;b)\phantom{\rule{0.166667em}{0ex}}\frac{{\mathsf{\Psi}}_{1}(q+b,s,q)}{{\mathsf{\Psi}}_{2}(q+b,s,q)}$$

$${\partial}_{q}{C}_{1}(s,q;b)\phantom{\rule{0.166667em}{0ex}}{H}_{2,2}(s,q;b)+{C}_{1}(s,q;b)\phantom{\rule{0.166667em}{0ex}}{H}_{2,1}(s,q;b)={H}_{2,0}(s,q;b)$$

$$\begin{array}{c}{H}_{2,2}(s,q;b)={\mathsf{\Psi}}_{1}(q,s,q)-{\mathsf{\Psi}}_{2}(q,s,q)\phantom{\rule{0.166667em}{0ex}}\frac{{\mathsf{\Psi}}_{1}(q+b,s,q)}{{\mathsf{\Psi}}_{2}(q+b,s,q)}\hfill \end{array}$$

$$\begin{array}{cc}\hfill {H}_{2,1}(s,q;b)=& {\partial}_{q}{\mathsf{\Psi}}_{1}(x,s,q){|}_{x=q}\hfill \\ \hfill & -{\partial}_{q}\left(\frac{{\mathsf{\Psi}}_{1}(q+b,s,q)}{{\mathsf{\Psi}}_{2}(q+b,s,q)}\right)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q,s,q)-\frac{{\mathsf{\Psi}}_{1}(q+b,s,q)}{{\mathsf{\Psi}}_{2}(q+b,s,q)}\phantom{\rule{0.166667em}{0ex}}{\partial}_{q}{\mathsf{\Psi}}_{2}(x,s,q){|}_{x=q}\hfill \end{array}$$

$$\begin{array}{cc}\hfill {H}_{2,0}(s,q;b)=& \frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}(\kappa \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}\hfill \\ \hfill & +{\partial}_{q}\left(\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(q+b,s,q)}\right)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q,s,q)+\frac{{e}^{-\theta s-\kappa q}}{{\mathsf{\Psi}}_{2}(q+b,s,q)}\phantom{\rule{0.166667em}{0ex}}{\partial}_{q}{\mathsf{\Psi}}_{2}(x,s,q){|}_{x=q})\hfill \end{array}$$

$${C}_{1}(s,s-a;b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(s-a,s,s-a)+{C}_{2}(s,s-a;b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s-a,s,s-a)=-\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa (s-a)}$$

$$\begin{array}{cc}\hfill {C}_{1}(s,q;b)& ={C}_{1}(s,s-a;b)\phantom{\rule{0.166667em}{0ex}}exp\left(-{\int}_{s-a}^{q}\frac{{H}_{2,1}(s,u;b)}{{H}_{2,2}(s,u;b)}\phantom{\rule{0.166667em}{0ex}}du\right)\hfill \\ \hfill & \phantom{=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}+{\int}_{s-a}^{q}\frac{{H}_{2,0}(s,u;b)}{{H}_{2,2}(s,u;b)}\phantom{\rule{0.166667em}{0ex}}exp\left(-{\int}_{u}^{q}\frac{{H}_{2,1}(s,v;b)}{{H}_{2,2}(s,v;b)}\phantom{\rule{0.166667em}{0ex}}dv\right)\phantom{\rule{0.166667em}{0ex}}du\hfill \end{array}$$

$$\begin{array}{cc}\hfill & {C}_{1}(s,s-a;b)\hfill \\ \hfill & =\frac{{e}^{-\theta s-\kappa (s-a)}(\lambda {\mathsf{\Psi}}_{2}(s-a+b,s,s-a)+\alpha {\mathsf{\Psi}}_{2}(s-a,s,s-a))/(\alpha +\lambda )}{{\mathsf{\Psi}}_{1}(s-a,s,s-a){\mathsf{\Psi}}_{2}(s-a+b,s,s-a)-{\mathsf{\Psi}}_{1}(s-a+b,s,s-a){\mathsf{\Psi}}_{2}(s-a,s,s-a)}\hfill \end{array}$$

**(iv)**Let us now consider the domain $0\le s-q<a\wedge b$. In this case, it follows that the candidate value function admits the representation

$$V(x,s,q;0)={C}_{1}(s,q;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(x,s,q)+{C}_{2}(s,q;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(x,s,q)+\frac{\alpha}{\alpha +\lambda}\phantom{\rule{0.166667em}{0ex}}{e}^{-\theta s-\kappa q}$$

$$\begin{array}{cc}\hfill & {C}_{1}(q+a\wedge b,q;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(q+a\wedge b,q+a\wedge b,q)\hfill \\ \hfill & +{C}_{2}(q+a\wedge b,q;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q+a\wedge b,q+a\wedge b,q)\hfill \\ \hfill & ={C}_{1}(q+a\wedge b,q;a\wedge b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(q+a\wedge b,q+a\wedge b,q)\hfill \\ \hfill & \phantom{=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}+{C}_{2}(q+a\wedge b,q;a\wedge b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(q+a\wedge b,q+a\wedge b,q)\hfill \end{array}$$

$$\begin{array}{c}{C}_{1}(s,s-a\wedge b;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(s-a\wedge b,s,s-a\wedge b)\hfill \\ \hfill & +{C}_{2}(s,s-a\wedge b;0)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s-a\wedge b,s,s-a\wedge b)\hfill \\ \hfill & ={C}_{1}(s,s-a\wedge b;a\wedge b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{1}(s-a\wedge b,s,s-a\wedge b)\hfill \\ \hfill & \phantom{=\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.222222em}{0ex}}}+{C}_{2}(s,s-a\wedge b;a\wedge b)\phantom{\rule{0.166667em}{0ex}}{\mathsf{\Psi}}_{2}(s-a\wedge b,s,s-a\wedge b)\hfill \end{array}$$

#### 3.3. Some Examples

Let us finally consider some examples of processes X from (1) and present explicit expressions for the fundamental solutions ${\mathsf{\Psi}}_{i}(x,s,q)$, $i=1,2$, of the homogeneous version of the second-order ordinary differential equation in (18).

**Example**

**1.**

Let $\mu (x,s,q)=\beta (s,q)$ and $\sigma (x,s,q)=\nu (s,q)$, for all $(x,s,q)\in {E}^{3}$ and some continuously differentiable functions $\beta (s,q)$ and $\nu (s,q)>0$ on ${[-\infty ,\infty ]}^{2}$, so that the process X from (1) represents locally a Brownian motion with linear drift. In this case, we have ${\mathsf{\Psi}}_{i}(x,s,q)={e}^{{\gamma}_{i}(s,q)x}$ with
for every $i=1,2$, so that ${\gamma}_{2}(s,q)<0<{\gamma}_{1}(s,q)$, for all $q\le s$.

$${\gamma}_{i}(s,q)=-\frac{\beta (s,q)}{{\nu}^{2}(s,q)}-{(-1)}^{i}\sqrt{\frac{{\beta}^{2}(s,q)}{{\nu}^{4}(s,q)}+\frac{2(\alpha +\lambda )}{{\nu}^{2}(s,q)}}$$

**Example**

**2.**

Let $\mu (x,s,q)=\beta (s,q)-\delta (s,q)x$ and $\sigma (x,s,q)=\nu (s,q)$, for all $(x,s,q)\in {E}^{3}$ and some continuously differentiable functions $\beta (s,q)$, $\delta (s,q)\ne 0$, and $\nu (s,q)>0$ on ${[-\infty ,\infty ]}^{2}$, so that the process X from (1) represents locally a mean-reverting Ornstein-Uhlenbeck process. In this case, we have
and
where we denote by
and
Kummer’s confluent hypergeometric functions of the first and second kind, respectively, for $\psi \ne 0,-1,-2,\dots $, ${(\phi )}_{k}=\phi (\phi +1)\cdots (\phi +k-1)$ and ${(\psi )}_{k}=\psi (\psi +1)\cdots (\psi +k-1)$, $k\in \mathbb{N}$. Note that the series in (58) converges under all $z>0$ (see, e.g., Abramovitz and Stegun 1972, chp. XIII; Bateman and Erdély 1953, chp. VI), and $\mathsf{\Gamma}$ denotes Euler’s gamma function. Note that the functions in (58) and (59) admit the integral representations
for $\psi >\phi >0$ and all $z\in \mathbb{R}$, and
for $\psi >0$ and all $z>0$, respectively (see, e.g., Abramovitz and Stegun 1972, chp. XIII and Bateman and Erdély 1953, chp. VI).

$${\mathsf{\Psi}}_{1}(x,s,q)=M\left(\frac{\alpha +\lambda}{2\delta (s,q)},\frac{1}{2},\frac{{(\beta (s,q)-\delta (s,q)x)}^{2}}{\delta (s,q){\nu}^{2}(s,q)}\right)$$

$${\mathsf{\Psi}}_{2}(x,s,q)=U\left(\frac{\alpha +\lambda}{2\delta (s,q)},\frac{1}{2},\frac{{(\beta (s,q)-\delta (s,q)x)}^{2}}{\delta (s,q){\nu}^{2}(s,q)}\right)$$

$$M(\phi ,\psi ;z)=1+\sum _{k=1}^{\infty}\frac{{(\phi )}_{k}}{{(\psi )}_{k}}\phantom{\rule{0.166667em}{0ex}}\frac{{z}^{k}}{k!}$$

$$U(\phi ,\psi ;z)=\frac{\mathsf{\Gamma}(1-\psi )}{\mathsf{\Gamma}(\phi +1-\psi )}\phantom{\rule{0.166667em}{0ex}}M(\phi ,\psi ;z)+\frac{\mathsf{\Gamma}(\psi -1)}{\mathsf{\Gamma}(\phi )}\phantom{\rule{0.166667em}{0ex}}{z}^{1-\psi}\phantom{\rule{0.166667em}{0ex}}M(\phi +1-\psi ,2-\psi ;z)$$

$$\begin{array}{cc}\hfill M(\phi ,\psi ;z)& =\frac{\mathsf{\Gamma}(\psi )}{\mathsf{\Gamma}(\phi )\mathsf{\Gamma}(\psi -\phi )}{\int}_{0}^{1}{e}^{zv}\phantom{\rule{0.166667em}{0ex}}{v}^{\phi -1}{(1-v)}^{\psi -\phi -1}\phantom{\rule{0.166667em}{0ex}}dv,\hfill \end{array}$$

$$\begin{array}{cc}\hfill U(\phi ,\psi ;z)& =\frac{1}{\mathsf{\Gamma}(\psi )}{\int}_{0}^{\infty}{e}^{-zv}\phantom{\rule{0.166667em}{0ex}}{v}^{\phi -1}{(1+v)}^{\psi -\phi -1}\phantom{\rule{0.166667em}{0ex}}dv,\hfill \end{array}$$

**Example**

**3.**

Let $\mu (x,s,q)=(\beta (s,q)-{\nu}^{2}(s,q)/2){e}^{-x}-\delta (s,q)$ and $\sigma (x,s,q)=\nu (s,q){e}^{-x/2}$, for all $(x,s,q)\in {E}^{3}$ and some continuously differentiable functions $\beta (s,q)$, $\delta (s,q)\ne 0$, and $\nu (s,q)>0$ such that $\beta (s,q)\ge {\nu}^{2}(s,q)/2$ on ${[-\infty ,\infty ]}^{2}$, so that the process X from (1) represents locally the logarithm of a mean-reverting Feller square root diffusion process. In this case, we have
and
where the functions $M(\phi ,\psi ;z)$ and $U(\phi ,\psi ;z)$ are Kummer’s confluent hypergeometric functions of the first and second kind given by (58) and (59) above, respectively.

$${\mathsf{\Psi}}_{1}(x,s,q)=M\left(\frac{\alpha +\lambda}{\delta (s,q)},\frac{2\beta (s,q)}{{\nu}^{2}(s,q)},\frac{2\delta (s,q){e}^{x}}{{\nu}^{2}(s,q)}\right)$$

$${\mathsf{\Psi}}_{2}(x,s,q)=U\left(\frac{\alpha +\lambda}{\delta (s,q)},\frac{2\beta (s,q)}{{\nu}^{2}(s,q)},\frac{2\delta (s,q){e}^{x}}{{\nu}^{2}(s,q)}\right)$$

## 4. The Result and Proof

Taking into account the facts proved above, we now formulate the main result of the paper, which extends the assertion of (Gapeev and Rodosthenous 2015, Theorem 4.1) to the case of the model with a random independent exponential time horizon and the $(X,S,Q)$-setting.

**Theorem**

**1.**

Suppose that the coefficients $\mu (x,s,q)$ and $\sigma (x,s,q)$ of the diffusion-type process X given by (1)–(2) are continuously differentiable functions on ${[-\infty ,\infty ]}^{3}$ which are of at most linear growth in x and uniformly bounded in s and q. Let η be a random time with the distribution $P(\eta >t)={e}^{-\alpha t}$, for all $t\ge 0$ and some $\alpha >0$ fixed, which is independent of the process X. Then, the joint Laplace transform ${V}_{*}(x,s,q)$ from (4) of the associated with X random variables ${\tau}_{a}\wedge \eta $, ${S}_{{\tau}_{a}\wedge \eta}$, and ${Q}_{{\tau}_{a}\wedge \eta}$ such that ${\tau}_{a}<{\zeta}_{b}$ from (3), admits the representation
for any $a,b>0$ fixed. Here, the function $V(x,s,q;\infty )$ takes the form of (30) with the coefficients ${C}_{i}(s,q;\infty )$, $i=1,2$, given by (31)–(32), $V(x,s,q;a)$ takes the form of (33) with ${C}_{i}(s,q;a)$, $i=1,2$, given by (34) and (40) (or (42) when $\mu (x,s,q)=\mu (x,s)$ and $\sigma (x,s,q)=\sigma (x,s)$ as well as $\kappa =0$ and $b=\infty $) $V(x,s,q;b)$ takes the form of (43) with ${C}_{i}(s,q;b)$, $i=1,2$, given by (44) and (50), and $V(x,s,q;0)$ takes the form of (52) with ${C}_{i}(s,q;0)$, $i=1,2$, being a unique solution of the two-dimensional system of first-order partial differential equations in (28)–(29) and satisfying the conditions of (53)–(54) together with the property ${C}_{2}(r,r;0)\to 0$ as $r\downarrow -\infty $.

$${V}_{*}(x,s,q)=\left\{\begin{array}{cc}V(x,s,q;\infty ),\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\hfill & \mathrm{if}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}q\le s-a\le x\le q+b\le s\hfill \\ V(x,s,q;a),\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\hfill & \mathrm{if}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}q\le s-a\le x\le s<q+b\hfill \\ V(x,s,q;b),\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\hfill & \mathrm{if}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-a<q\le x\le q+b\le s\hfill \\ V(x,s,q;0),\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}\hfill & \mathrm{if}\phantom{\rule{0.277778em}{0ex}}\phantom{\rule{0.277778em}{0ex}}s-a<q\le x\le s<q+b\hfill \end{array}\right.$$

**Proof.**

In order to verify the assertion stated above, it remains to show that the function defined in (64) coincides with the value function in (6). For this purpose, let us denote by $V(x,s,q)$ the right-hand side of the expression in (64). Then, taking into account the fact that the function $V(x,s,q)$ is ${C}^{2,1,1}$ on ${E}^{3}$, by applying the change-of-variable formula from (Peskir 2007, Theorem 3.1) to ${e}^{-\lambda t}V({X}_{t},{S}_{t},{Q}_{t})$, we obtain that the expression
holds, for the stopping times ${\tau}_{a}$ and ${\zeta}_{b}$ given by (3), and all $t\ge 0$. Here, the process $M={({M}_{t})}_{t\ge 0}$ defined by
is a continuous local martingale under ${P}_{x,s,q}$. Note that, since the time spent by the process X at the hyperplanes ${d}_{k}^{3}$, $k=1,2$, is of Lebesgue measure zero, the indicators in the second line of the expression in (65) and in (66) can be ignored. Moreover, since the processes S and Q change their values only on the hyperplanes ${d}_{1}^{3}$ and ${d}_{2}^{3}$, respectively, the indicators appearing in the third and fourth lines of (65) can be set equal to one.

$$\begin{array}{c}{e}^{-\lambda ({\tau}_{a}\wedge {\zeta}_{b}\wedge t)}\phantom{\rule{0.166667em}{0ex}}V({X}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t},{S}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t},{Q}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t})=V(x,s,q)+{M}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t}\hfill \\ +{\int}_{0}^{{\tau}_{a}\wedge {\zeta}_{b}\wedge t}{e}^{-\lambda u}\phantom{\rule{0.166667em}{0ex}}(\mathbb{L}V-(\alpha +\lambda )V+\alpha \phantom{\rule{0.166667em}{0ex}}{e}^{-\theta {S}_{u}-\kappa {Q}_{u}})({X}_{u},{S}_{u},{Q}_{u})\phantom{\rule{0.166667em}{0ex}}I({X}_{u}\ne {S}_{u},{X}_{u}\ne {Q}_{u})\phantom{\rule{0.166667em}{0ex}}du\hfill \\ +{\int}_{0}^{{\tau}_{a}\wedge {\zeta}_{b}\wedge t}{e}^{-\lambda u}{\partial}_{q}V({X}_{u},{S}_{u},{Q}_{u})\phantom{\rule{0.166667em}{0ex}}I({X}_{u}={Q}_{u})d{Q}_{u}\hfill \\ +{\int}_{0}^{{\tau}_{a}\wedge {\zeta}_{b}\wedge t}{e}^{-\lambda u}{\partial}_{s}V({X}_{u},{S}_{u},{Q}_{u})\phantom{\rule{0.166667em}{0ex}}I({X}_{u}={S}_{u})d{S}_{u}\hfill \end{array}$$

$$\begin{array}{cc}\hfill {M}_{t}& ={\int}_{0}^{t}{e}^{-\lambda u}\phantom{\rule{0.166667em}{0ex}}{\partial}_{x}V({X}_{u},{S}_{u},{Q}_{u})\phantom{\rule{0.166667em}{0ex}}I({X}_{u}\ne {S}_{u},{X}_{u}\ne {Q}_{u})\phantom{\rule{0.166667em}{0ex}}\sigma ({S}_{u},{Q}_{u})\phantom{\rule{0.166667em}{0ex}}d{B}_{u}\hfill \end{array}$$

By virtue of straightforward calculations and the arguments of the previous section, it is verified that the function $V(x,s,q)$ solves the ordinary differential equation in (18) and satisfies the normal-reflection conditions in (21)–(22). Observe that the process ${({M}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t})}_{t\ge 0}$ is a uniformly integrable martingale, since the derivative and the coefficient in (66) are bounded functions on the compact set $\{(x,s,q)\in {\mathbb{R}}^{3}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}a\vee q\le x\le s\wedge b\}$. Then, using the properties of the indicators mentioned above and taking the expectation with respect to ${P}_{x,s,q}$ in (65), by means of the optional sampling theorem (see, e.g., Liptser and Shiryaev [1977] 2001, chp. III, Theorem 3.6 or Karatzas and Shreve 1991, chp. I, Theorem 3.22), we get
for all $(x,s,q)\in {E}^{3}$. Therefore, letting t go to infinity and using the instantaneous-stopping conditions in (19)–(20) as well as the fact that ${e}^{-\lambda ({\tau}_{a}\wedge {\zeta}_{b})}V({X}_{{\tau}_{a}\wedge {\zeta}_{b}},{S}_{{\tau}_{a}\wedge {\zeta}_{b}},{Q}_{{\tau}_{a}\wedge {\zeta}_{b}})=0$ on $\{{\tau}_{a}\wedge {\zeta}_{b}=\infty \}$ (${P}_{x,s,q}$-a.s.), we can apply the Lebesgue dominated convergence theorem for (67) to obtain the equalities
for all $(x,s,q)\in {E}^{3}$, which directly implies the desired assertion. □

$$\begin{array}{cc}\hfill & {E}_{x,s,q}[{e}^{-\lambda ({\tau}_{a}\wedge {\zeta}_{b}\wedge t)}\phantom{\rule{0.166667em}{0ex}}V({X}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t},{S}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t},{Q}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t})]\hfill \\ \hfill & =V(x,s,q)+{E}_{x,s,q}\left[{M}_{{\tau}_{a}\wedge {\zeta}_{b}\wedge t}\right]=V(x,s,q)\hfill \end{array}$$

$$\begin{array}{cc}\hfill & {E}_{x,s,q}[{e}^{-\lambda ({\tau}_{a}\wedge {\zeta}_{b})-\theta {S}_{{\tau}_{a}\wedge {\zeta}_{b}}-\kappa {Q}_{{\tau}_{a}\wedge {\zeta}_{b}}}\phantom{\rule{0.166667em}{0ex}}I({\tau}_{a}<{\zeta}_{b})]\hfill \\ \hfill & ={E}_{x,s,q}[{e}^{-\lambda ({\tau}_{a}\wedge {\zeta}_{b})}\phantom{\rule{0.166667em}{0ex}}V({X}_{{\tau}_{a}\wedge {\zeta}_{b}},{S}_{{\tau}_{a}\wedge {\zeta}_{b}},{Q}_{{\tau}_{a}\wedge {\zeta}_{b}})]=V(x,s,q)\hfill \end{array}$$

## Author Contributions

P.V.G.: writing—original draft; N.R.: writing—review and editing; V.L.R.C.: writing —conceptualization.

## Funding

This research was supported by a Small Grant from the Suntory and Toyota International Centres for Economics and Related Disciplines (STICERD) at the London School of Economics and Political Science.

## Acknowledgments

The authors are grateful to Florin Avram and two anonymous referees for their valuable suggestions which helped to essentially improve the presentation of the paper.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Abramovitz, Milton, and Irene A. Stegun. 1972. National Bureau of Standards. In Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Wiley. [Google Scholar]
- Agarwal, Ankush, Sandeep Juneja, and Ronnie Sircar. 2016. American options under stochastic volatility: Control variates, maturity randomization and multiscale asymptotics. Quantitative Finance 16: 17–30. [Google Scholar] [CrossRef]
- Avram, Florin, A. E. Kyprianou, and M. Pistorius. 2004. Exit problems for spectrally negative Lévy processes and applications to (Canadized) Russian options. Annals of Applied Probability 14: 215–38. [Google Scholar]
- Bakhach, Amer, Venkata L. Raju Chinthalapati, Edward P. K. Tsang, and Abdul R. El Sayed. 2018. Intelligent dynamic backlash agent: A trading strategy based on the directional change framework. Algorithms 11: 171. [Google Scholar] [CrossRef]
- Bakhach, Amer, Edward P. K. Tsang, and Venkata L. Raju Chinthalapati. 2018. TSFDC: A trading strategy based on forecasting directional change. Intelligent Systems in Accounting, Finance and Management 25: 105–23. [Google Scholar] [CrossRef]
- Bateman, Harry, and Arthur Erdélyi. 1953. Higher Transcendental Functions. New York: Mc Graw-Hill. [Google Scholar]
- Borodin, Andrei N., and Paavo Salminen. 2002. Handbook of Brownian Motion, 2nd ed. Basel: Birkhäuser. [Google Scholar]
- Carr, Peter. 1998. Randomization and the American put. The Review of Financial Studies 11: 597–626. [Google Scholar] [CrossRef]
- Cont, Rama, and David-Antoine Fournié. 2013. Functional Itô calculus and stochastic integral representation of martingales. Annals of Probability 41: 109–33. [Google Scholar] [CrossRef]
- Douady, R., A. N. Shiryaev, and M. Yor. 2000. On the probability characteristics of downfalls in a standard Brownian motion. Theory of Probability and Its Applications 44: 29–38. [Google Scholar] [CrossRef]
- Dubins, Lester, Larry A. Shepp, and Albert Nikolaevich Shiryaev. 1993. Optimal stopping rules and maximal inequalities for Bessel processes. Theory of Probability and Its Applications 38: 226–61. [Google Scholar] [CrossRef]
- Dupire, Bruno. 1997. Pricing and hedging with smiles. In The Volume Mathematics of Derivative Securities. Edited by Dempster Michael A. H. and Pliska Stanley R. Cambridge: Cambridge University Press, pp. 103–11. [Google Scholar]
- Dynkin, Eugene B. 1965. Markov Processes. Volume I. Berlin: Springer. [Google Scholar]
- Forde, Martin. 2011. A diffusion-type process with a given joint law for the terminal level and supremum at an independent exponential time. Stochastic Processes and Their Applications 121: 2802–17. [Google Scholar] [CrossRef]
- Forde, Martin, Andrey Pogudin, and Hongzhong Zhang. 2013. Hitting times, occupation times, tri-variate laws and the forward Kolmogorov equation for a one-dimensional diffusion with memory. Advances in Applied Probability 45: 860–75. [Google Scholar] [CrossRef]
- Fournié, David-Antoine. 2010. Functional Itô Calculus and Applications. Ph.D. thesis, Columbia University, New York, NY, USA. [Google Scholar]
- Gapeev, Pavel V., and Neofytos Rodosthenous. 2014. Optimal stopping problems in diffusion-type models with running maxima and drawdowns. Journal of Applied Probability 51: 799–817. [Google Scholar] [CrossRef]
- Gapeev, Pavel V., and Neofytos Rodosthenous. 2015. On the drawdowns and drawups in diffusion-type models with running maxima and minima. Journal of Mathematical Analysis and Applications 434: 413–31. [Google Scholar] [CrossRef]
- Gapeev, Pavel V., and Neofytos Rodosthenous. 2016. Perpetual American options in diffusion-type models with running maxima and drawdowns. Stochastic Processes and their Applications 126: 2038–61. [Google Scholar] [CrossRef]
- Glattfelder, James, Alexandre Dupuis, and Richard Olsen. 2011. Patterns in high-frequency FX data: discovery of 12 empirical scaling laws. Quantitative Finance 11: 599–614. [Google Scholar] [CrossRef]
- Glover, Kristoffer, Hardy Hulley, and Goran Peskir. 2013. Three-dimensional Brownian motion and the golden ratio rule. Annals of Applied Probability 23: 895–922. [Google Scholar] [CrossRef]
- Guo, Xin, and Larry A. Shepp. 2001. Some optimal stopping problems with nontrivial boundaries for pricing exotic options. Journal of Applied Probability 38: 647–58. [Google Scholar] [CrossRef]
- Guo, Xin, and Mihail Zervos. 2010. π options. Stochastic Processes and their Applications 120: 1033–59. [Google Scholar] [CrossRef]
- Henry-Labordère, Pierre. 2009. Calibration of local stochastic volatility models to market smiles: A Monte-Carlo approach. Risk Magazine, September. [Google Scholar]
- Jacka, S. D. 1991. Optimal stopping and best constants for Doob-like inequalities I: The case p = 1. Annals of Probability 19: 1798–821. [Google Scholar] [CrossRef]
- Karatzas, Ioannis, and Steven E. Shreve. 1991. Brownian Motion and Stochastic Calculus, 2nd ed. New York: Springer. [Google Scholar]
- Lehoczky, John P. 1977. Formulas for stopped diffusion processes with stopping times based on the maximum. Annals of Probability 5: 601–7. [Google Scholar] [CrossRef]
- Liptser, Robert S., and Albert N. Shiryaev. 2001. Statistics of Random Processes I, 2nd ed. Berlin: Springer. First published 1977. [Google Scholar]
- Magdon-Ismail, Malik, Amir F. Atiya, Amrit Pratap, and Yaser S. Abu-Mostafa. 2004. On the maximum drawdown of a Brownian motion. Journal of Applied Probability 41: 147–61. [Google Scholar] [CrossRef]
- Mijatović, Aleksandar, and Martijn R. Pistorius. 2012. On the drawdown of completely asymmetric Lévy processes. Stochastic Processes and Their Applications 122: 3812–36. [Google Scholar] [CrossRef]
- Pedersen, Jesper Lund. 2000. Discounted optimal stopping problems for the maximum process. Journal of Applied Probability 37: 972–83. [Google Scholar] [CrossRef]
- Peskir, Goran. 1998. Optimal stopping of the maximum process: The maximality principle. Annals of Probability 26: 1614–40. [Google Scholar] [CrossRef]
- Peskir, Goran. 2007. A change-of-variable formula with local time on surfaces. Séminaire de Probabilité, Lecture Notes in Mathematics 1899: 69–96. [Google Scholar]
- Peskir, Goran. 2012. Optimal detection of a hidden target: The median rule. Stochastic Processes and Their Applications 122: 2249–63. [Google Scholar] [CrossRef]
- Peskir, Goran. 2014. Quickest detection of a hidden target and extremal surfaces. Annals of Applied Probability 24: 2340–70. [Google Scholar] [CrossRef]
- Peskir, Goran, and Albert N. Shiryaev. 2006. Optimal Stopping and Free-Boundary Problems. Basel: Birkhäuser. [Google Scholar]
- Pospisil, Libor, Jan Vecer, and Olympia Hadjiliadis. 2009. Formulas for stopped diffusion processes with stopping times based on drawdowns and drawups. Stochastic Processes and their Applications 119: 2563–78. [Google Scholar] [CrossRef]
- Ren, Yong, Dilip Madan, and Michael Qian Qian. 2007. Calibrating and pricing with embedded local volatility models. Risk Magazine 20: 138. [Google Scholar]
- Rodosthenous, Neofytos, and Mihail Zervos. 2017. Watermark options. Finance and Stochastics 21: 157–86. [Google Scholar] [CrossRef]
- Rodosthenous, Neofytos, and Hongzhong Zhang. 2018. Beating the Omega clock: An optimal stopping problem with random time-horizon under spectrally negative Lévy models. Annals of Applied Probability 28: 2105–40. [Google Scholar] [CrossRef]
- Rogers, L. C. G., and David Williams. 1987. Diffusions, Markov Processes and Martingales II. Itô Calculus. New York: Wiley. [Google Scholar]
- Shepp, Larry A., and Albert N. Shiryaev. 1993. The Russian option: Reduced regret. Annals of Applied Probability 3: 631–40. [Google Scholar] [CrossRef]
- Shepp, Larry A., and Albert N. Shiryaev. 1994. A new look at the pricing of Russian options. Theory Probability and Applications 39: 103–19. [Google Scholar] [CrossRef]
- Taylor, Howard M. 1975. A stopped Brownian motion formula. Annals of Probability 3: 234–46. [Google Scholar] [CrossRef]
- Tsang, Edward P. K., Ran Tao, Antoaneta Serguieva, and Shuai Ma. 2017. Profiling high frequency equity price movements in directional changes. Quantitative Finance 17: 217–25. [Google Scholar] [CrossRef]
- Zhang, Hongzhong. 2014. Occupation times, drawdowns, and drawups for one-dimensional regular diffusions. Advances in Applied Probability 47: 210–30. [Google Scholar] [CrossRef]
- Zhang, Hongzhong. 2018. Stochastic Drawdowns. Singapore: World Scientific. [Google Scholar]

**Figure 1.**A computer drawing of the state space of the process $(X,S,Q)$, for some $q\in \mathbb{R}$ fixed and $a<b$.

**Figure 2.**A computer drawing of the state space of the process $(X,S,Q)$, for some $q\in \mathbb{R}$ fixed and $b\le a$.

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).