<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJCM</journal-id><journal-title-group><journal-title>American Journal of Computational Mathematics</journal-title></journal-title-group><issn pub-type="epub">2161-1203</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajcm.2017.73020</article-id><article-id pub-id-type="publisher-id">AJCM-78151</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Random Timestepping Algorithm with Exponential Distribution for Pricing Various Structures of One-Sided Barrier Options
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Hasan</surname><given-names>Alzubaidi</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Mathematics, Al-Qunfudah University College, Umm Al-Qura University, Mecca, KSA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>hmzubaidi@uqu.edu.sa</email></corresp></author-notes><pub-date pub-type="epub"><day>01</day><month>08</month><year>2017</year></pub-date><volume>07</volume><issue>03</issue><fpage>228</fpage><lpage>242</lpage><history><date date-type="received"><day>29,</day>	<month>Jun</month>	<year>2017</year></date><date date-type="rev-recd"><day>31,</day>	<month>July</month>	<year>2017</year>	</date><date date-type="accepted"><day>3,</day>	<month>August</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The exponentially-distributed random timestepping algorithm with boundary test is implemented to evaluate the prices of some variety of single one-sided barrier option contracts within the framework of Black-Scholes model, giving efficient estimation of their hitting times. It is numerically shown that this algorithm, as for the Brownian bridge technique, can improve the rate of weak convergence from order one-half for the standard Monte Carlo to order 1. The exponential timestepping algorithm, however, displays better results, for a given amount of CPU time, than the Brownian bridge technique as the step size becomes larger or the volatility grows up. This is due to the features of the exponential distribution which is more strongly peaked near the origin and has a higher kurtosis compared to the normal distribution, giving more stability of the exponential timestepping algorithm at large time steps and high levels of volatility.
 
</p></abstract><kwd-group><kwd>Barrier Option with Rebate Payment</kwd><kwd> Binary Barrier Option</kwd><kwd> Partial Barrier Option</kwd><kwd> Hitting Time Error</kwd><kwd> Exponential Time-Stepping Algorithm</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Barrier options are path-dependent exotic options with payoff depending on the price of the underlying asset at expiration and whether or not the asset price reaches a pre-specified barrier during the option’s life [<xref ref-type="bibr" rid="scirp.78151-ref1">1</xref>] . Since 1976, barrier options have become extremely popular and have been traded in the over-the counter (OTC) market. There are two main types of such options: knock-in (up-and-in and down-and-in) and knock-out (up-and-out and down-and-out) that can either have put or call feature. The up and down refer to the position of the barrier relative to the initial asset price. The in and out specify the type of the barrier, referring to activating and inactivating when the barrier is hit, respe- ctively. In 1973, Merton [<xref ref-type="bibr" rid="scirp.78151-ref2">2</xref>] derived the first analytical formula for the down- and-out call option. In 1991, Reiner and Rubinstein [<xref ref-type="bibr" rid="scirp.78151-ref3">3</xref>] extended this work further to provide closed form solutions for all eight types of single barrier options in Black-Scholes environment. Later in 1998, Haug [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] gave a generalization of these formulas in order to complete the total sixteen pricing formulae for the barrier options.</p><p>Some barrier options specify that a fixed cash rebate is to be given to the option-holder if the knock-out and knock-in options become worthless. This can make the barrier options more attractive to the potential purchasers by compensating them for the loss of the option when the knock-out option ceases to exist or when knock-in option comes into existence [<xref ref-type="bibr" rid="scirp.78151-ref5">5</xref>] . The valuation of such an option can be then expressed as the sum of the payoff of the standard barrier option with zero rebate and the payoff of the pure rebate option [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>] .</p><p>However, the rebate options are not necessarily be combined with the standard barrier options and in this case the rebate options are usually called binary or digital barrier options [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>] . These options can be divided into two main types: cash-or-nothing barrier options and asset-or-nothing barrier options. The payoff of the cash-or-nothing option is either a fixed amount of money or nothing at all, depending on whether the asset price has crossed the given barrier or not. For the asset-or-nothing barrier option, the payoff is the value of the underlying asset or nothing at all, depending on whether the asset price has crossed the given barrier or not [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] . These options are widely traded in the OTC market as hedges against jump risk and in the sports betting industry, due to the binary in nature of their payoffs [<xref ref-type="bibr" rid="scirp.78151-ref7">7</xref>] . They are also important for financial engineers as building blocks for constructing more complex derivatives products [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] . In 1991, Reiner and Rubinstein derived analytical formulas for pricing 28 different types of knock-out and knock-in call or put binary barrier options in Black-Scholes enviroment [<xref ref-type="bibr" rid="scirp.78151-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] .</p><p>Since early nineties, more complicated structures of barrier options have been innovated according to clients and investors needs. For controlling starting and ending time of the monitoring period, one can use partial-time barrier option, where the underlying price is monitored during a fraction of the option’s lifetime [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] . Heynen and Kat (1994) gave closed form valuation formulae for pricing this type of options in terms of bivariate normal distribution functions [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref8">8</xref>] . Partial-time barrier options have two main types: early-ending and forward- starting barrier options. The first one is known as type A partial-time barrier option where the monitoring period of the barrier starts at the option’s initial starting date t = 0 and ends early at some time t 1 &lt; T before expiration. The other is called type B partial-time barrier option where the barrier option becomes active at an arbitrary time t 1 &lt; T before expiration and ends at maturity date T [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] .</p><p>The analytical expressions for the barrier options, however, are available only under these particular frameworks and in fact, many other cases such as options with multiple assets and some path-dependent options have not explicit formulae yet. Therefore, accurate numerical and Monte Carlo simulation procedures play crucial role in this situation.</p><p>Barrier options are considered as exit time problems and therefore large errors can occur when direct Monte Carlo simulations are used. Specifically, Monte Carlo algorithm for pricing the continuously monitored barrier options has slow convergence and produces high statistical and hitting time errors, due to the knockout feature of such options [<xref ref-type="bibr" rid="scirp.78151-ref9">9</xref>] . We here concentrate on analyzing the hitting time error and how to reduce it efficiently. In fact, the direct MC simulation overestimates the actual values of the barrier option prices due to the possibility that these prices may hit the barrier and comeback within the time step, say Δ t , producing a hitting time error with order of convergence of O ( Δ t ) [<xref ref-type="bibr" rid="scirp.78151-ref9">9</xref>] .</p><p>A clever idea to reduce this kind of error efficiently is to apply a simple hitting test after each time step using the distribution of the Brownian bridge pinned between the discrete computational nodes, in order to check if the barrier is crossed during the time step or not [<xref ref-type="bibr" rid="scirp.78151-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref10">10</xref>] . This technique is known as a Brownian bridge technique and according to Gobet [<xref ref-type="bibr" rid="scirp.78151-ref11">11</xref>] , using this simple technique can improve the order of convergence from O ( Δ t ) to O ( Δ t ) under some conditions on functional of the asset price. For more analysis on using the Brownian bridge technique, see for example [<xref ref-type="bibr" rid="scirp.78151-ref9">9</xref>] - [<xref ref-type="bibr" rid="scirp.78151-ref16">16</xref>] and the refer- ences quoted therein.</p><p>In this paper, we present an analogous method called the exponential timestepping algorithm introduced by Jansons and Lythe [<xref ref-type="bibr" rid="scirp.78151-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] for simulating the hitting time of one-dimensional diffusion models. Under this technique, in place of a fixed time step Δ t , we take time steps δ t that are i.i.d exponentially distributed random variables and ℙ ( δ t &gt; t ) = exp ( − λ t ) , t ≥ 0 where the rate λ &gt; 0 plays the role of discretization parameter. The random</p><p>time step δ t then has the expectation E [ δ t ] = 1 λ as equivalent to the fixed</p><p>time step Δ t . Analogously to the Brownian bridge technique, the probability that the barrier has been hit during the time step can also be taken into account using an efficient boundary hitting test at the end of each time step. Numerical experiments for the double-well potential physical problem [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] and for the neural diffusion models [<xref ref-type="bibr" rid="scirp.78151-ref12">12</xref>] show that incorporating this boundary test with exponential timestepping can retrieve a first order of convergence O ( Δ t ) in approximating hitting time, coinciding with our numerical observations for financial derivatives of barrier feature. Although, in general, both techniques achieve similar levels of accuracy, the random timestepping method, in simulating hitting time, gives better results than the fixed timestepping method at large time steps and high levels of volatility, due to the features of the exponential distribution. This distribution has a memoryless property and is highly peaked near the origin, compared to the Gaussian distribution [<xref ref-type="bibr" rid="scirp.78151-ref19">19</xref>] . The distribution of the diffusion process at the end of the exponential time step δ t , conditional on it having hit the given barrier during the time step, is the same as if the time step had started at the barrier [<xref ref-type="bibr" rid="scirp.78151-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] . The price to be paid is uncertainty since the precise value of the time step δ t is not formally known,</p><p>but its mean value is given as 1 λ = Δ t . The total elapsed time after N time steps is thus a random variable with mean N λ [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] .</p><p>The contribution of this work is to present an efficient method for simulating the exit time or functional of the exit time of one dimensional diffusion models such as barrier options in environment of Black-Scholes models. The remainder of this paper is structured as follows. Section 2 discuses the analytical expre- ssions for valuating some variety of one-sided barrier options contracts in Black- Scholes environment. In Section 3, we describe the implementation of the exponential timestepping algorithm with boundary test for pricing the three types of one-sided single barrier options outlined in the previous section. Section 4 includes our numerical experiments concerning these barrier options, in order to compare such an algorithm for efficiency and accuracy with the well-known algorithm called the Brownian bridge technique. The hitting time errors are also discussed and analyzed. Section 5 presents our concluding remarks and some ideas for future work.</p></sec><sec id="s2"><title>2. Valuation of Barrier Options</title><p>We here consider some of different structures of one-sided barrier options within the framework of Black-Scholes model. Thus, under a risk-neutral measure Q the asset price S t is represented by a geometric Brownian model:</p><p>d S t = μ S t d t + σ S t d W t ,   S 0 = S , (1)</p><p>where W t is a standard Brownian motion and σ is the constant volatility of the asset price. μ S t = ( r − q ) S t , is the drift under the risk-neutral probability, where r and q represent the risk-free interest rate and the continuous dividend payable, respectively. The first hitting time of the asset price S t with barrier H , where 0 &lt; t &lt; T and T is expiry time, is thus defined by</p><p>τ H = { i n f { t ≥ 0 : S t ≤ H }     for   down-option   , i n f { t ≥ 0 : S t ≥ H }     for   up-option   . (2)</p><p>Based on above, we will discuss the valuation of some variety of one-sided barrier option contracts in the Black-Scholes environment as follows.</p><sec id="s2_1"><title>2.1. Vanilla Barrier Options with Pre-Specified Cash Rebate</title><p>As a case study, we consider up-and-out put vanilla barrier option with cash rebate and other forms can be dealt with, in the same manner. The discounted payoff of such an option at risk-free interest rate r is given by [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>]</p><p>f vanilla = { e − r T max ( K − S T , 0 )     if     S t &lt; H     for   all     0 &lt; t &lt; T e − r τ H R     if     S t ≥ H     for   some     0 &lt; t &lt; T (3)</p><p>The value of the option price at time t = 0 can be formally given as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>]</p><p>V u o p r = E Q [ f vanilla ] , (4)</p><p>where the expectation here is taken with respect to the risk-neutral probability measure Q , R is rebate payment and K is strike price of the barrier option.</p><p>The theoretical value of such an option can be calculated as the sum of the values of the up-and-out put option with zero rebate V u o p and a pure rebate</p><p>option V r o p . To calculate V u o p , we first consider d = ln ( H / S 0 ) σ T , c = ln ( K / S 0 ) σ T , θ 0 = ( r − q + σ 2 2 ) T σ and θ 1 = ( ( r − q + σ 2 2 ) + σ 2 ) T σ , where σ and q represent the volatility and dividend payable respectively. The value of the up-and-out put option with zero rebate is thus given by [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>]</p><p>V u o p = K e − r T F ( min ( c , d ) , d , θ 0 ) − S 0 e − q T F ( min ( c , d ) , d , θ 1 ) , (5)</p><p>where</p><p>F ( a , b , θ ) = N ( a − θ ) − e 2 b θ N ( a − 2 b − θ ) .</p><p>N denotes the standard normal distribution function defined as</p><p>N ( x ) = 1 2 π ∫ − ∞ x   e − y 2 2 d y .</p><p>The pure rebate option V r o p can be calculated as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>]</p><p>V r o p = R e − r T F ( d , d , θ 0 ) . (6)</p><p>Consequently, the up-and-out put option with cash rebate can be given as</p><p>V u o p r = V u o p + V r o p . (7)</p></sec><sec id="s2_2"><title>2.2. Binary Barrier Options</title><p>Here, we consider the down-and-out cash-or-nothing option as an example of binary barrier options. The holder of this contract will receive a fixed cash amount R only if the underlying asset price never hits the barrier H from above before the expiry date T . Otherwise, the option will expire without value. The discounted payoff of such an option with S 0 &gt; H at risk-free interest rate r is given by [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>]</p><p>f b i n = { e − r T R     if     S t &gt; H     for   all     0 &lt; t &lt; T 0     if     S t ≤ H     for   some     0 &lt; t &lt; T (8)</p><p>The value of the down-and-out cash-or-nothing option price at time t = 0 can be formally given as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>]</p><p>V b d o = E Q [ f b i n ] , (9)</p><p>where the expectation here is taken with respect to the risk-neutral probability measure Q and R is pre-specified cash amount.</p><p>The theoretical value of the down-and-out cash-or-nothing option V b d o at time t = 0 with barrier H , S 0 &gt; H can be calculated as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref7">7</xref>]</p><p>V b d o = R e ( θ 0 − θ 2 ) d ( 1 − F ( − d , − d , − θ 2 ) ) , (10)</p><p>where θ 2 = θ 0 2 + 2 r T . d , θ 0 and F are defined as above.</p></sec><sec id="s2_3"><title>2.3. Partial-Time Single-Asset Barrier Options</title><p>The type A (early-ending) partial-time barrier option is considered here as an example of partial-time single-asset barrier options. This type of option is defined such that the barrier starts at time t = 0 and ends at some time t 1 &lt; T . Since the barrier will end before the expiration time T , we do not need to distinguish whether K &gt; H or K &lt; H . Therefore, we have a total of eight varieties of type A partial-time barrier option. As an example, we discuss a down-and-out call partial-time barrier option, where the option is knocked out during the interval [ 0, t 1 ] as soon as the underlying price is below the barrier H . The discounted expected payoff for such an option at risk-free interest rate r can be thus written as: [<xref ref-type="bibr" rid="scirp.78151-ref8">8</xref>]</p><p>f A = { e − r T max ( S T − K , 0 )     if     S t &gt; H     for   all     0 &lt; t &lt; t 1 0     if     S t ≤ H     for   some     0 &lt; t &lt; t 1 (11)</p><p>The value of the down-and-out call partial-time barrier option at time t = 0 can be formally given as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>]</p><p>V A d o = E Q [ f A ] , (12)</p><p>where the expectation here is taken with respect to the risk-neutral probability measure Q .</p><p>The closed form formula for pricing this type of options was originally derived by Heynen and Kat as [<xref ref-type="bibr" rid="scirp.78151-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref8">8</xref>]</p><p>V A d o = S 0 e − q T [ M ( d 1 , e 1 ; ρ ) − ( H S 0 ) 2 ( μ + 1 ) M ( d 3 , e 3 , ρ ) ]                   − K e − r T [ M ( d 2 , e 2 ; ρ ) − ( H S 0 ) 2 μ M ( d 4 , e 4 , ρ ) ] , (13)</p><p>where d 1 = l n K S 0 + ( r − q + σ 2 2 ) T σ T , d 2 = d 1 − σ T , d 3 = d 1 + 2 ln H S 0 σ T , d 4 = d 3 − σ T , e 1 = l n S 0 H + ( r − q + σ 2 2 ) t 1 σ t 1 , e 2 = e 1 − σ t 1 , e 3 = e 1 + 2 ln H S 0 σ t 1 , e 4 = e 3 − σ t 1 , μ = r − q + σ 2 2 σ 2 , ρ = t 1 T and M ( .,. ; . ) is bivariate normal distribution.</p></sec></sec><sec id="s3"><title>3. Exponential Timestepping Algorithm with Boundary Test</title><p>The strategy of this algorithm is based on approximating the asset price S t of the underlying barrier option at each time by a Brownian motion with a constant drift Y t = μ t + σ W t , Y 0 = 0 , where μ and σ are constants, with parameters determined at the current position and in this case, the increment W δ t has a symmetric exponential distribution [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] . Thus, exact calculations can be easily obtained for the density of Y δ t and the probability that the barrier H being hit during the exponential time step. We then update the exponential timestepping method for S t using these calculations. First, the density of Y δ t can be written as</p><p>p ( S ) = ∫ 0 ∞ λ exp ( − λ t ) 1 ( 2 π σ 2 t ) exp ( − ( S − t μ ) 2 2 σ 2 t ) d t = λ σ 2 G − 1 { exp ( − S ( − G − F ) )     if     S &lt; 0 , exp ( − S ( G − F ) )     otherwise , (14)</p><p>where F = μ σ 2 and G = ( F ) 2 + 2 λ σ 2 . Integrating over the density of Y δ t defined in Equation (14) yields</p><p>ℙ ( Y δ t &gt; S ) = G + F 2 G e x p ( − ( G − F ) S ) , (15)</p><p>and thus Y δ t has exponential distribution and can be easily sampled. To produce updates for S t using these calculations, we first consider a uniformly distributed random variable u n in ( 0,1 ) and an exponentially distributed random variable p n that can be generated as p n = − ln v n , where v n ~ U ( 0,1 ) and is independent of u n . Then with given the value S n ≈ S ( t n ) , we generate the value of S n + 1 ≈ S ( t n + 1 ) for t n + 1 = t n + δ t , where δ t is exponential time step</p><p>with E [ δ t ] = 1 λ , as [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>]</p><p>S n + 1 = S n + [ g ( S n ) G ( S n ) − g ( S n ) F ( S n ) ] p n , (16)</p><p>where F ( S n ) = ( r − q ) S n σ 2 S n 2 and G ( S n ) = ( F ( S n ) ) 2 + 2 λ σ 2 S n 2 . g ( S n ) = s i g n ( [ G ( S n ) + F ( S n ) 2 G ( S n ) ] − u n ) where the quantity G ( S n ) + F ( S n ) 2 G ( S n ) comes from Equation (15) by setting S = 0 .</p><p>Next, a simple posteriori test is performed after each time step in order to calculate the conditional probability of a given barrier H being hit during the time step [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] . This probability can be calculated as [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>]</p><p>P Up = ℙ ( τ H &lt; δ t | S n , S n + 1 ) = e − 2 G ( S n ) [ H − max ( S n , S n + 1 ) ] if     S n , S n + 1 &lt; H ,     for   up   options   (17)</p><p>and</p><p>P Down = ℙ ( τ H &lt; δ t | S n , S n + 1 ) = e − 2 G ( S n ) [ min ( S n , S n + 1 ) − H ]   if     S n , S n + 1 &gt; H ,     for   down   options .   (18)</p><p>Then, an excursion is deduced in [ t n , t n + 1 ] if</p><p>S n + 1 &gt; H     or     z n &lt; P Up ,</p><p>for the case of up barrier options and</p><p>S n + 1 &lt; H     or     z n &lt; P Down ,</p><p>for down barrier options, where z n is a uniformly distributed random variable. The time stepping will be repeated until this hitting event is detected or the maximum number of exponential time steps is reached. The output is hitting</p><p>time approximated as n λ , where n is the number of taken time steps. Based</p><p>on this, the discounted payoffs of the three cases of the underlying barrier options discussed in Section 2 are calculated using (3), (8) and (11), respectively. The prices of the underlying barrier options are then computed as the expectations of such discounted payoffs under the risk-neutral measure. A monte Carlo procedure is therefore used to estimate these expectations by a sample average of M independent simulations; see Appendix A for full algorithm.</p></sec><sec id="s4"><title>4. Summary of Numerical Results</title><p>In our numerical experiments, the mean value 1 λ of the random time step δ t</p><p>is used in the exponential timestepping algorithm as equivalent to the fixed time step Δ t in the Brownian bridge technique. We employ these simulation algorithms for the three types of one-sided single barrier options outlined in Section 2, and compare the efficiency of such techniques. The hitting time errors will be discussed and analyzed.</p><p>For the first type, we consider up-and-out put vanilla barrier option with rebate payment, and its computational results are displayed in <xref ref-type="fig" rid="fig1">Figure 1</xref> and <xref ref-type="table" rid="table1">Table 1</xref>. The plots of the hitting time error calculated using the two underlying</p><p>simulation techniques against the discretization parameter Δ t = 1 λ are shown</p><p>in log-log scale at the top of <xref ref-type="fig" rid="fig1">Figure 1</xref>, and the plots of the CPU time as a function of hitting time error are shown at the bottom of the figure. The parameters are fixed as the volatility parameter σ = 0.60 , the dividend q = 0.03 , the risk-free interest rate r = 0.08 , the current value of the option</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Hitting time errors and standard errors for the up and out put barrier option with rebate payments with Δ t = 0.004 , M = 10 6 </title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Volatility parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x156.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" >Hitting Time Error using Brownian Bridge Technique</th><th align="center" valign="middle" >Standard Error using Brownian Bridge Technique</th><th align="center" valign="middle" >Hitting Time Error using Exponential Timestepping algorithm</th><th align="center" valign="middle" >Standard Error using Exponential Timestepping algorithm</th></tr></thead><tr><td align="center" valign="middle" >0.20</td><td align="center" valign="middle" >0.0031</td><td align="center" valign="middle" >0.0026</td><td align="center" valign="middle" >0.0046</td><td align="center" valign="middle" >0.0026</td></tr><tr><td align="center" valign="middle" >0.30</td><td align="center" valign="middle" >0.0040</td><td align="center" valign="middle" >0.0039</td><td align="center" valign="middle" >0.0056</td><td align="center" valign="middle" >0.0039</td></tr><tr><td align="center" valign="middle" >0.40</td><td align="center" valign="middle" >0.0098</td><td align="center" valign="middle" >0.0050</td><td align="center" valign="middle" >0.0051</td><td align="center" valign="middle" >0.0050</td></tr><tr><td align="center" valign="middle" >0.50</td><td align="center" valign="middle" >0.0126</td><td align="center" valign="middle" >0.0060</td><td align="center" valign="middle" >0.0021</td><td align="center" valign="middle" >0.0060</td></tr><tr><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >0.0173</td><td align="center" valign="middle" >0.0068</td><td align="center" valign="middle" >0.0043</td><td align="center" valign="middle" >0.0068</td></tr></tbody></table></table-wrap><p>S 0 = 100 , the strike price K = 100 , the barrier H = 130 , the cash rebate R = 1.5 and the expiration time T = 1 . Using (7), we get the theoretical value of 15.5550 and use it to check the efficiency of the two algorithms. We choose a discretization of N = 10 , 25 , 40 , 100 , 250 time steps per year and, the averages are taken over M = 10 7 paths in order to avoid the effects of statistical errors. For a reference, a line of slope one is included. For both simulation techniques,</p><p>the first hitting time error was found to be proportional to O ( Δ t ) = 1 λ , achieving</p><p>a first order weak convergence. However, in this case, the exponential time stepping algorithm is more accurate for a given amount of CPU time, particularly for high frequency monitoring or large time steps.</p><p><xref ref-type="table" rid="table1">Table 1</xref> compares the hitting time errors and standard errors obtained by the two underlying algorithms for different values of volatility, σ = 0.20 , 0.30 , 0.40 , 0.50 , 0.60 of the up-and-out put vanilla barrier option with rebate payment. We chose Δ t = 0.004 , M = 10 6 , with keeping other parameters as in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The standards errors seem to be the same across both methods. However, in this case, we observe that the exponential time stepping algorithm performs very well compared to the Brownian bridge technique in terms of hitting time errors for high levels of volatility. For instance, when volatility σ = 0.60 , the hitting time error is 0.0173 for Brownian bridge technique and can be improved to 0.0043 when the exponential time stepping algorithm is used.</p><p>For the second type, we consider down and out cash-or-nothing barrier option, and display the behavior of its hitting time errors obtained by the two methods in <xref ref-type="fig" rid="fig2">Figure 2</xref>, when the volatility σ varies from 0.20 to 0.60. Other parameters are fixed as q = 0 , r = 0.1 , S 0 = 105 , K = 98 , H = 100 , R = 15 and T = 0.5 , with M = 10 6 paths of Monte Carlo simulation. We choose Δ t = 0.002 for the results shown in the top picture and Δ t = 0.02 for the bottom picture of the figure. The results are consistent with those for the case of</p><p>the up-and-out put vanilla barrier option with rebate payment considered above. Thus, for the present example, as we increase the volatility more, the random timestepping algorithm shows greater accuracy than the Brownian bridge technique.</p><p>For the third type, we consider the type A partial time (early-ending) call barrier option. <xref ref-type="fig" rid="fig3">Figure 3</xref> illustrates the hitting time errors of such a barrier option, under both simulation techniques, as a function of volatility parameter σ chosen between 0.20 and 0.60. The other parameters are selected as q = 0.03 , r = 0.02 , S 0 = 100 , K = 100 , H = 70 , T = 1 , the barrier monitoring time t 1 = 0.5 , and the averages are taken over M = 10 6 realizations. The upper picture covers the case of Δ t = 0.004 and the lower one shows the results when Δ t = 0.025 . As observed from the graph, the exponential timestepping algo- rithm shows smaller hitting time errors than the Brownian bridge technique as the volatility grows up, coinciding with the observations with other examples considered here.</p><p>Finally, we present some prices of these three different types of barrier options using the underlying two algorithms with Δ t = E [ δ t ] = 0.02 , σ = 0.50 and M = 10 6 . The other parameters for the considered barrier options are chosen as in Figures 1-3, respectively. The results associated with the resultant standard errors and the corresponding analytical values are shown in <xref ref-type="table" rid="table2">Table 2</xref>. For such a</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Pricing some various structures of one-sided barrier options using the Brownian Bridge Technique and the Exponential Time Stepping Algorithm with Δ t = 0.02 , σ = 0.50 , M = 10 6 </title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Type of barrier option</th><th align="center" valign="middle" >Pricing using Brownian Bridge Technique &#177; standard Error</th><th align="center" valign="middle" >Pricing using Exponential Timestepping algorithm &#177; standard Error</th><th align="center" valign="middle" >Analytical result</th></tr></thead><tr><td align="center" valign="middle" >up-and-out put vanilla barrier option with cash rebate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x232.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x233.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >14.0218</td></tr><tr><td align="center" valign="middle" >down-and-out cash-or-nothing option</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x234.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x235.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1.5048</td></tr><tr><td align="center" valign="middle" >type A (early-ending) partial-time barrier option</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x236.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1100624x237.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >17.3410</td></tr></tbody></table></table-wrap><p>choice of volatility, we see that the approximations obtained using the expo- nential timestepping algorithm are more accurate than those obtained using the Brownian bridge technique, coinciding with our observations discussed above. For an instance, using the random timestepping algorithm, the pricing value of type A (early-ending) partial-time barrier option is 17.3413, which is very close to the analytical value (17.3410), compared to the value obtained using the Brownian bridge technique (17.3005).</p></sec><sec id="s5"><title>5. Conclusions and Suggestions</title><p>Barrier options have become increasingly popular in financial markets, parti- cularly in over-the-counter market, since they are cheaper than the plain vanilla options and they can offer a protection for the investor when are used as hedges. We have discussed four various types of single one-sided barrier options within the framework of Black-Scholes environment, including up-and-out put vanilla barrier option with cash rebate, down-and-out cash-or-nothing barrier option and early-ending partial-time barrier option. The barrier options are the most popular class of path-dependent options, where their closed-form pricing formulas are available only under particular frameworks. Therefore, accurate numerical techniques and Monte Carlo simulations play a crucial role in such situation. However, for pricing barrier options, a standard Monte Carlo algorithm yields an over-estimation of hitting time since there is a possibility that the barrier may be hit between the discrete computational nodes, causing large hitting time errors and slow convergence of weak order O ( Δ t ) .</p><p>In order to reduce this kind of errors efficiently, we have implemented a method called exponential timestepping algorithm with boundary test introduced by Jansons and Lythe [<xref ref-type="bibr" rid="scirp.78151-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.78151-ref18">18</xref>] for simulating hitting times of one-dimensional diffusion models. The magnitude of the time step δ t is exponentially distributed random variable with rate λ and for comparison purposes, we</p><p>chose its mean duration ( 1 λ ) as equivalent to the fixed time step Δ t used for</p><p>the Brownian bridge technique. As observed from our numerical experiments, both methods significantly improved the weak order of convergence from one- half order to one order with the same level of standards errors. However, in spite of similarity between their respective rates of convergence, the random time- stepping algorithm displayed better results, for a given amount of CPU time, than the Brownian bridge technique as the time step grows up or the volatility becomes high, due to the features of the exponential distribution. To be specified, the random time step takes samples of exponential distribution and this distri- bution is more strongly peaked near the origin than that of the normal distri- bution. Thus, the symmetric exponential distribution has a higher kurtosis compared to the normal distribution and this gives more stability of exponential timestepping algorithm at large time steps and high levels of volatility [<xref ref-type="bibr" rid="scirp.78151-ref19">19</xref>] .</p><p>For the present work, the exponential timestepping algorithm is implemented for only one-asset barrier options, giving efficient estimation for their hitting times. The challenge is how to develop this technique to deal with the barrier options with multiple assets efficiently. Jansons and Lythe [<xref ref-type="bibr" rid="scirp.78151-ref20">20</xref>] developed their exponential timestepping algorithm to generate the updates for only the case of the multidimensional Brownian motion with hitting times of curved surfaces. One interesting area to consider in future work is to develop this algorithm to be able to deal with more general diffusion problems such as barrier options with multiple assets in Black-Scholes environment. Furthermore, as observed from real market data for barrier options, the implied volatility is not constant as assumed in Black-Scholes framework, but changes randomly. Hence, the models with stochastic volatility are more appropriate for capturing this effect and forming the volatility smile. In follow-up work, we plan to examine the possi- bility of applying such a random timestepping algorithm on these realistic models.</p></sec><sec id="s6"><title>Acknowledgements</title><p>The author would like to thank the anonymous referees for their valuable comments that greatly improved the manuscript. The author also would like to thank the members of AJMC for their professional performance.</p></sec><sec id="s7"><title>Cite this paper</title><p>Alzubaidi, H. (2017) Random Time-Stepping Algorithm with Exponential Distribution for Pricing Various Structures of One-Sided Barrier Options. American Journal of Computational Mathematics, 7, 228-242. https://doi.org/10.4236/ajcm.2017.73020</p></sec><sec id="s8"><title>Appendix A</title><p>Algorithm of exponential timestepping with boundary test for the barrier options.</p><disp-formula id="scirp.78151-formula9"><graphic  xlink:href="//html.scirp.org/file/3-1100624x243.png"  xlink:type="simple"/></disp-formula></sec></body><back><ref-list><title>References</title><ref id="scirp.78151-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Hull, J. (2009) Options, Futures, and other Derivatives, 7th Edition. Pearson Education, Upper Saddle River, New Jersey.</mixed-citation></ref><ref id="scirp.78151-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Merton, R.C. (1973) Theory of Rational Option Pricing. The Bell Journal of Economics and Management Science, 4, 141-183. https://doi.org/10.2307/3003143</mixed-citation></ref><ref id="scirp.78151-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Reiner, E. and Rubinstein, M. (1991) Breaking down the Barriers. Risk, 4, 28-35.</mixed-citation></ref><ref id="scirp.78151-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Haug, E. (1998) The Complete Guide to Option Pricing Formulas. McGraw-Hill, New York.</mixed-citation></ref><ref id="scirp.78151-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Chriss, N. (1997) Black-Scholes and Beyond: Option Pricing Models. McGraw-Hill, New York.</mixed-citation></ref><ref id="scirp.78151-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Horfelt, P. (2003) On the Pricing of Path-Dependent Options and Related Problems. Ph.D. Dissertation, Chalmers University of Technology and Goteborg University, Chalmers.</mixed-citation></ref><ref id="scirp.78151-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Reiner, E. and Rubinstein, M. (1991) Unscrambling the Binary Code. Risk, 4, 75-83.</mixed-citation></ref><ref id="scirp.78151-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Heynen, R.C. and Kat, H.M. (1994) Partial Barrier Options. The Journal of Financial Engineering, 3, 253-274.</mixed-citation></ref><ref id="scirp.78151-ref9"><label>9</label><mixed-citation publication-type="book" xlink:type="simple">Gobet, E. (2009) Advanced Monte Carlo Methods for Barrier and Related Exotic Options. In: Bensoussan, A., Zhang, Q. and Ciarlet, P., Eds., Mathematical Modelling and Numerical Methods in Finance, Elsevier, Amsterdam, 497-528. https://doi.org/10.1016/S1570-8659(08)00012-4</mixed-citation></ref><ref id="scirp.78151-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Mannella, R. (1999) Absorbing Boundaries and Optimal Stopping in a Stochastic Differential Equation. Physics Letters A, 254, 257-262. https://doi.org/10.1016/S0375-9601(99)00117-6</mixed-citation></ref><ref id="scirp.78151-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Gobet, E. (2000) Weak Approximation of Killed Diffusion Using Euler Schemes. Stochastic Processes and Their Applications, 87, 167-197. https://doi.org/10.1016/S0304-4149(99)00109-X</mixed-citation></ref><ref id="scirp.78151-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Alzubaidi, H. and Shardlow, T. (2014) Improved Simulation Techniques for First Exit Time of Neural Diffusion Models. Communications in Statistics-Simulation and Computation, 43, 2508-2520. https://doi.org/10.1080/03610918.2012.755197</mixed-citation></ref><ref id="scirp.78151-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Alzubaidi, H. (2016) Efficient Monte Carlo Algorithm Using Antithetic Variate and Brownian Bridge Techniques for Pricing the Barrier Options with Rebate Payments. Journal of Mathematics and Statistics, 12, 1-11. https://doi.org/10.3844/jmssp.2016.1.11</mixed-citation></ref><ref id="scirp.78151-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Glasserman (2003) Monte Carlo Methods in Financial Engineering. Springer Verlag, Berlin.</mixed-citation></ref><ref id="scirp.78151-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Baldi, P. (2014) Exact Asymptotics for the Probability of Exit from a Domain and Applications to Simulation. The Annals of Probability, 23, 1644-1670. https://doi.org/10.1214/aop/1176987797</mixed-citation></ref><ref id="scirp.78151-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Moon, K. (2008) Efficient Monte Carlo Algorithm for Pricing Barrier Options. Communications Korean Mathematical Society, 23, 285-294. https://doi.org/10.4134/CKMS.2008.23.2.285</mixed-citation></ref><ref id="scirp.78151-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Jansons, K.M. and Lythe, G.D. (2000) Efficient Numerical Solution of Stochastic Differential Equations Using Exponential Timestepping. Journal of Statistical Physics, 100, 1097-1109. https://doi.org/10.1023/A:1018711024740</mixed-citation></ref><ref id="scirp.78151-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Jansons, K.M. and Lythe, G.D. (2003) Exponential Timestepping with Boundary Test for Stochastic Differential Equations. SIAM Journal on Scientific Computing, 24, 1809-1822. https://doi.org/10.1137/S1064827501399535</mixed-citation></ref><ref id="scirp.78151-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Peter, W. (2007) Quiet Direct Simulation Monte-Carlo with Random Timesteps. Journal of Computational Physics, 221, 1-8. https://doi.org/10.1016/j.jcp.2006.06.008</mixed-citation></ref><ref id="scirp.78151-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Jansons, K.M. and Lythe, G.D. (2005) Multidimensional Exponential Timestepping with Boundary Test. SIAM Journal on Scientific Computing, 27, 793-808. https://doi.org/10.1137/040612865</mixed-citation></ref></ref-list></back></article>