Barrier Option Pricing & Greeks Lab
Price European knock-in and knock-out barrier options using closed-form analytical formulas. Model in-out parity, barrier pin risk, hitting probabilities, and discrete monitoring shifts.
Contract & Barrier Parameters
Exotic Valuation Summary & Hitting Metrics
| Knock-Out Price | Knock-In Price | Knock-Out + Knock-In | Vanilla Price | In-Out Parity Check |
|---|---|---|---|---|
| $0.00 | $0.00 | $0.00 | $0.00 | Matched (±0.0000) |
Barrier Greeks (Finite Difference Engine)
Visual Analytics & Pin Risk Profile
Matrix 1: Spot Price (S) vs. Barrier (H) on Option Price
Evaluates barrier option valuation across spot price shifts (±20%) and barrier levels.
Matrix 2: Volatility (σ) vs. Expiry (T) on Knockout Probability
Analyzes first-passage barrier hitting probability P(τ ≤ T) across market volatility and maturities.
Mathematical Foundation: Closed-Form Barrier Formulas
1. Analytical Reiner-Rubinstein Architecture
Robert Merton (1973) and Reiner-Rubinstein (1991) solved European single barrier options by decomposing the reflection principle of geometric Brownian motion into standard building blocks A, B, C, D, E, F:
A = φ S e^{(b-r)T} N(φ x_1) - φ K e^{-rT} N(φ(x_1 - σ√T))
B = φ S e^{(b-r)T} N(φ x_2) - φ K e^{-rT} N(φ(x_2 - σ√T))
C = φ S e^{(b-r)T} (H/S)^{2(μ+1)} N(η y_1) - φ K e^{-rT} (H/S)^{2μ} N(η(y_1 - σ√T))
D = φ S e^{(b-r)T} (H/S)^{2(μ+1)} N(η y_2) - φ K e^{-rT} (H/S)^{2μ} N(η(y_2 - σ√T))
For instance, a Down-and-Out Call with strike K ≥ H is evaluated simply as C_{do} = A - C + E.
2. In-Out Parity & Discrete Monitoring Shift
Because a barrier option must either touch the barrier or not, holding both a knock-in and a knock-out option replicates a standard European vanilla contract with mathematical certainty:
Hitting Probability: P(τ ≤ T) = N(-d_{hit1}) + (H/S)^{2μ} N(-d_{hit2})
Discrete Shift: H_{eff} = H · exp(±0.5826 · σ√Δt)
Broadie, Glasserman, and Kou (1997) proved that applying the 0.5826 continuity correction adjusts continuous closed-form formulas to match discrete daily monitoring with sub-basis-point accuracy.
Barrier Option Mastery Quiz
Frequently Asked Questions
Explore Related Quantitative Finance & Derivatives Labs
Asian Option Pricing Lab ยท Black-76 Futures Option Lab
Model options on futures, commodity forwards, interest rate caplets, and swaptions.
Bjerksund-Stensland Lab
Closed-form flat boundary approximation for American commodity and equity options.
SABR Volatility Smile Lab
Model Hagan asymptotic Black-76 implied vol smiles and CEV elasticity backbones.
Barone-Adesi Whaley Lab
Solve American option quadratic approximations and Newton critical exercise prices.
Garman-Kohlhagen FX Lab
Price currency options under Covered Interest Parity and calculate dual interest rate Greeks.
Black-Scholes Options Lab
Evaluate classic lognormal option pricing, Greeks sensitivity surfaces, and implied volatility root-finding.