Brownian bridges for continuously monitored barriers
A simulated stock can be above a down-and-out barrier at both ends of a time step and still cross it in between. Checking only the simulated dates misses those paths and overprices a nonnegative knock-out payoff. A Brownian bridge calculates the missing crossing probability conditional on the endpoints.
The missing crossing
Under Black–Scholes with constant parameters, log price has constant drift and volatility . Consider a lower log barrier and two endpoints and , separated by . Conditional on both endpoints, the probability that the log price touches the barrier between them is
The conditional bridge has a linear mean between its endpoints; the constant drift cancels after conditioning. If either endpoint is at or below the barrier, the hit probability is one. The formula assumes continuous paths and constant volatility over the interval. It is not a generic crossing formula for jump processes or arbitrary stochastic-volatility paths.
As an example, if both endpoints are 0.05 log units above the barrier, , and the step is a quarter of a year, then . Endpoints that look comfortably above the barrier can still hide a crossing.
Both endpoints are the same log distance above the barrier. Constant annual volatility is 20%; one year is 252 trading days. These are conditional probabilities, not a simulated path.
Move the endpoints closer to the barrier or increase the time between them. Both changes increase the probability of an unseen hit, holding the other input fixed.
Weight each path by survival
For a continuously monitored down-and-out European call without a rebate, simulate exact log-price endpoints. For every interval compute , setting survival to zero when an endpoint is at or below the barrier. Multiply the terminal payoff by the product of these survival probabilities:
Conditional on the sampled endpoints, bridge segments are independent in this model. The product is therefore the probability of surviving the entire path. Averaging the conditional payoff removes the monitoring bias exactly for constant-parameter Black–Scholes, apart from Monte Carlo sampling error. One can instead draw a uniform random variable for each interval and simulate hits, but weighting avoids that extra randomness.
import numpy as np
def down_out_call(S0, K, B, r, q, sigma, T, steps, paths, seed=7):
"""Black–Scholes, continuous lower barrier, no rebate."""
if min(S0, B, sigma, T) <= 0 or steps < 1 or paths < 2:
raise ValueError("positive inputs and at least two paths required")
if S0 <= B:
return 0.0, 0.0
rng = np.random.default_rng(seed)
dt = T / steps
b = np.log(B)
x = np.full(paths, np.log(S0))
survival = np.ones(paths)
for _ in range(steps):
y = x + (r - q - 0.5 * sigma**2) * dt + sigma * np.sqrt(dt) * rng.standard_normal(paths)
above = (x > b) & (y > b)
p = np.ones(paths)
p[above] = np.exp(-2 * (x[above] - b) * (y[above] - b) / (sigma**2 * dt))
survival *= 1 - p
x = y
discounted = np.exp(-r * T) * np.maximum(np.exp(x) - K, 0) * survival
return discounted.mean(), discounted.std(ddof=1) / np.sqrt(paths)
The second output is a standard error, not a confidence interval. Under independent paths, an approximate 95% interval is the estimate plus or minus 1.96 standard errors. For this simple payoff, one exact step is enough because the bridge conditions on the terminal value; extra steps are useful when the contract has additional observation dates or the model needs a time grid.
Where the correction needs care
Model and contract details matter
- A discretely monitored barrier should be checked at its contractual monitoring dates. Adding continuous bridge crossings would price a different contract.
- Local or stochastic volatility can make the bridge formula an approximation; validate time-step convergence and any scheme used for volatility.
- A rebate paid at the time of a hit requires the hit-time distribution or an appropriate approximation. Survival weights alone do not price that payment.
- A jump can cross a barrier discontinuously. A continuous Brownian bridge does not account for jump crossings.
Practice
BiasFor a nonnegative knock-out payoff, what is the direction of the bias from checking a continuous barrier only on a finite grid?Show answer
Upward: every path surviving continuous monitoring also survives the grid check, while some knocked-out paths escape detection.
ProbabilityWhat happens to the conditional hit probability when an endpoint approaches the lower barrier from above?Show answer
It approaches one, because the exponent approaches zero.
VarianceWhy can survival weighting be less noisy than drawing an extra random hit indicator?Show answer
It replaces the random indicator with its conditional expectation given the endpoints. By conditioning, it removes the variance from those additional hit draws.
Further reading: Shevchenko, Addressing the bias in Monte Carlo pricing of multi-asset options with multiple barriers; Gerstner, Harrach, and Roth, Convergence of Milstein Brownian bridge Monte Carlo methods and stable Greeks calculation.
Related: Discrete barriers and continuity corrections and Monte Carlo variance reduction.