Quant techniques · barrier probabilities

The reflection principle: touching is twice as likely as finishing

A stock is at 100. What’s the chance it trades at 110 at some point in the next three months? The chance it ends above 110 is a normal-distribution lookup. The chance it touches 110 looks like it needs the whole path. It doesn’t: for a driftless random walk, it’s exactly twice the first number. The proof is a mirror.

1P(max⁡t≤TWt≥b)=2 P(WT≥b)=2(1−Φ ⁣(bσT))P\big(\max_{t \le T} W_t \ge b\big) = 2\,P(W_T \ge b) = 2\left(1 - \Phi\!\left(\tfrac{b}{\sigma\sqrt T}\right)\right) For Brownian motion with no drift, started at 0, and b > 0.
2P(max⁡t≤TWt≤m)=2 Φ ⁣(mσT)−1P\big(\max_{t\le T} W_t \le m\big) = 2\,\Phi\!\left(\tfrac{m}{\sigma\sqrt T}\right) - 1 The maximum has the same distribution as |W_T|. Its mean is σT2/π≈0.8 σT\sigma\sqrt{T}\sqrt{2/\pi} \approx 0.8\,\sigma\sqrt T.
3P(touch)=Φ ⁣(−b+μTσT)+e2μb/σ2 Φ ⁣(−b−μTσT)P(\text{touch}) = \Phi\!\left(\tfrac{-b + \mu T}{\sigma\sqrt T}\right) + e^{2\mu b/\sigma^2}\,\Phi\!\left(\tfrac{-b - \mu T}{\sigma\sqrt T}\right) With drift μ (Girsanov plus reflection). Reduces to step 1 when μ = 0.
4b  →  b+0.5826 σΔtb \;\to\; b + 0.5826\,\sigma\sqrt{\Delta t} Broadie–Glasserman–Kou: if the barrier is only checked every Δt, shift it away from spot by this much and use the continuous formula.
The mirror

Every touching path has a twin

Take any path that reaches level b before time T, and let τ be the first time it does. After τ, flip the path in the barrier: wherever the original goes up, the twin goes down by the same amount. Because Brownian increments are symmetric and independent of the past (the strong Markov property), the twin is just as likely as the original.

Now sort the touching paths by where they finish:

  • A path that touches and ends above b has a twin that touches and ends below b, and the other way round.
  • So among touching paths, ending above and ending below are equally likely.
  • Every path that ends above b must have touched b on the way, because it started below.

Put together:

P(touch)=P(touch, end above)+P(touch, end below)=2 P(touch, end above)=2 P(WT≥b)\begin{aligned} P(\text{touch}) &= P(\text{touch, end above}) + P(\text{touch, end below}) \\ &= 2\,P(\text{touch, end above}) = 2\,P(W_T \ge b) \end{aligned}

That’s step 1. Rewriting “touched b” as “the maximum is at least b” gives the distribution of the running maximum, step 2, which turns out to be the same as the distribution of ∣WT∣|W_T|.

barrierchecked

A path that touches, and its reflection

Probability vs barrier (3 months, 20% vol)

P(touch) = 2 · P(finish above)P(finish above)simulated touch rate, with this monitoring
–P(finish above barrier)
–P(touch), continuous formula
–simulated touch rate (5,000 paths)

The left panel draws a path that touches the barrier and its mirrored twin after the first hit, shown dashed. One of them ends above, the other below. The right panel compares the touch probability with the finishing probability for every barrier from 100 to 130. Switch to daily or weekly checks and the simulated touch rate falls below the formula, because the path can cross the barrier and come back between checks.

A worked number

Will it trade at 110?

Stock at 100, 20% annual vol, three months. Treat log price as driftless Brownian motion with σT=0.2×0.5=0.1\sigma\sqrt T = 0.2 \times 0.5 = 0.1, and b=ln⁡1.1=0.0953b = \ln 1.1 = 0.0953:

P(finish above 110)=1−Φ(0.953)≈17.0%,P(touch 110)≈34.1%P(\text{finish above 110}) = 1 - \Phi(0.953) \approx 17.0\%, \qquad P(\text{touch 110}) \approx 34.1\%

Adding the risk-neutral drift of log price, μ=−12σ2\mu = -\tfrac12\sigma^2, in step 3 moves the touch probability to 32.4%. Checking the barrier only at each daily close lowers it further: shifting the barrier up by 0.5826×0.2×1/252≈0.73%0.5826 \times 0.2 \times \sqrt{1/252} \approx 0.73\% to about 110.8 gives 28.9%, which matches a 100,000-path simulation (28.8%).

import numpy as np
from scipy.stats import norm

def touch_prob(S0, B, sigma, T, mu=None, dt=None):
    """P(an upper barrier B > S0 is touched by T). Log price drifts at mu (default: risk-neutral, r = 0)."""
    if mu is None:
        mu = -0.5 * sigma**2
    b = np.log(B / S0)
    if dt is not None:                       # discrete monitoring correction
        b += 0.5826 * sigma * np.sqrt(dt)
    s = sigma * np.sqrt(T)
    return norm.cdf((-b + mu * T) / s) + np.exp(2 * mu * b / sigma**2) * norm.cdf((-b - mu * T) / s)

print(touch_prob(100, 110, 0.2, 0.25, mu=0))           # 0.341
print(touch_prob(100, 110, 0.2, 0.25))                 # 0.324
print(touch_prob(100, 110, 0.2, 0.25, dt=1/252))       # 0.289
Where it’s used

Traders use it every day

“Touch is twice delta.” The delta of a call struck at the barrier is roughly the probability of finishing above the strike. So a trader asked “what are the odds we see 110?” looks at the 110-strike call’s delta and doubles it. A 17-delta call means roughly a 34% chance of touching.

One-touch options. A one-touch pays 1 if the barrier is hit before expiry. With zero rates its price is the risk-neutral touch probability, step 3. Its price is roughly twice the price of a digital that pays if the stock finishes beyond the same level.

Barrier options. Knock-in plus knock-out equals vanilla (one of them always survives), and the reflection principle prices the knock-in. For example, a down-and-in call with barrier below the strike is worth (B/S)2μ/σ2(B/S)^{2\mu/\sigma^2} times a vanilla call struck at K on the reflected spot B2/SB^2/S, a direct echo of the mirror.

Drawdown and stop-loss odds. “What’s the chance this position is ever down 10% before month-end?” is the same question with the barrier below spot.

Discrete random walks. For a simple ±1 walk, P(max⁡k≤nSk≥a)=P(Sn≥a)+P(Sn>a)P(\max_{k\le n} S_k \ge a) = P(S_n \ge a) + P(S_n > a). Same mirror, plus a correction for the walk landing exactly on a.

Where people slip in interviews

  • Applying the factor 2 with drift. It’s exact only for zero drift. With drift, use step 3; for short horizons the difference is small.
  • Ignoring how the barrier is monitored. Closing-price barriers are hit less often than intraday ones. Use the 0.5826σ√Δt shift.
  • Forgetting the starting point. The formula is for a barrier above the start. If the stock is already above b, the probability is 1.
  • “It’s bound to get there eventually, so the expected wait is finite.” A driftless Brownian motion reaches every level with probability 1, but the expected time to do so is infinite. The tail P(τ>t)P(\tau > t) decays only like 1/t1/\sqrt t.
Practice

Try these before you open the answer

Warm-upA 25-delta call. Roughly what's the chance the stock touches its strike before expiry?
Show answer

About 2 × 25% = 50%.

MaxFor a standard Brownian motion on [0, 1], what is P(max ≤ 1)?
Show answer
2Φ(1)−1≈2(0.8413)−1=0.6832\Phi(1) - 1 \approx 2(0.8413) - 1 = 0.683

The same as P(∣W1∣≤1)P(|W_1| \le 1).

MeanWhat is the expected maximum of a standard Brownian motion over [0, T]?
Show answer

The maximum has the distribution of ∣WT∣|W_T|, so

E[MT]=E∣WT∣=T2/π≈0.798TE[M_T] = E|W_T| = \sqrt{T}\sqrt{2/\pi} \approx 0.798\sqrt{T}
DownStock at 100, 30% vol, driftless log price. Chance it trades at or below 90 within one month?
Show answer

σT=0.31/12≈0.0866\sigma\sqrt T = 0.3\sqrt{1/12} \approx 0.0866, distance ∣ln⁡0.9∣=0.1054|\ln 0.9| = 0.1054:

2(1−Φ ⁣(0.10540.0866))=2(1−Φ(1.217))≈22.4%2\left(1 - \Phi\!\left(\tfrac{0.1054}{0.0866}\right)\right) = 2(1 - \Phi(1.217)) \approx 22.4\%
Random walkA fair ±1 random walk takes 4 steps from 0. What is the chance its maximum reaches 2?
Show answer

P(S4≥2)+P(S4>2)=P(S4∈{2,4})+P(S4=4)=4+116+116=616=38P(S_4 \ge 2) + P(S_4 > 2) = P(S_4 \in \{2, 4\}) + P(S_4 = 4) = \tfrac{4+1}{16} + \tfrac1{16} = \tfrac{6}{16} = \tfrac38. Checking by listing: the paths reaching 2 are UU** (4 paths) and UDUU, DUUU (2 more), so 6 of 16.

Hitting timeτ is the first time a standard Brownian motion hits b > 0. What is P(τ ≤ t)?
Show answer

τ≤t\tau \le t exactly when the maximum by t is at least b, so

P(τ≤t)=2(1−Φ ⁣(bt))P(\tau \le t) = 2\left(1 - \Phi\!\left(\tfrac{b}{\sqrt t}\right)\right)

This is the Lévy distribution. As t → ∞ it goes to 1, but slowly enough that E[τ]=∞E[\tau] = \infty.

StretchFind the joint probability P(max ≤ m, W_T ≤ x) for x ≤ m, standard BM.
Show answer

Paths that end below x but touch m are mirrored after the hit into paths ending above 2m−x2m - x. So

P(MT≥m, WT≤x)=P(WT≥2m−x),P(MT<m, WT≤x)=Φ ⁣(xT)−Φ ⁣(x−2mT)P(M_T \ge m,\ W_T \le x) = P(W_T \ge 2m - x), \qquad P(M_T < m,\ W_T \le x) = \Phi\!\left(\tfrac{x}{\sqrt T}\right) - \Phi\!\left(\tfrac{x - 2m}{\sqrt T}\right)

This joint law is what prices barrier options.

The worked numbers were checked by simulating 100,000 daily-monitored and 20,000 finely sampled paths. The figure runs 5,000 paths in your browser for each monitoring choice.