Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceStochastic ModelsGuide
Guide
Derivatives pricing
01Forwards, calls and puts02Combining positions03Arbitrage and the forward price04Put–call parity05The one-step binomial model06Risk-neutral probabilities07Multi-step trees and backward induction08American options and early exercise09Delta and hedging10Geometric Brownian motion11The Black–Scholes formula12The Greeks: gamma, vega, theta and rho13Implied volatility and the volatility smile14Stochastic volatility and the Heston model15Static replication: Breeden–Litzenberger and Carr–Madan16Exotic options: barriers, Asians and digitals
Portfolio & risk
01Returns and volatility02Diversification and correlation03The efficient frontier and the capital market line04Risk aversion and the optimal complete portfolio05CAPM, beta and the security market line06Performance measures: Sharpe, Treynor, Jensen and information ratio07Factor models and systematic risk08Value at Risk and expected shortfall
Fixed income
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Bond futures and the cheapest-to-deliver06Interest rate swaps07Callable bonds and negative convexity08Credit risk: default probabilities and credit spreads
Corporate finance
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04The weighted average cost of capital05Capital structure and the Modigliani–Miller theorems06Discounted cash flow valuation07Relative valuation with multiples08Real options: the value of flexibility
Stochastic models
01Random walks and Brownian motion02Probability spaces, σ-algebras and random variables03Filtrations, adapted processes and stopping times04Conditional expectation and martingales05Properties of Brownian motion06The reflection principle and first passage times07The Brownian bridge08The Itô integral09Itô's lemma10Kolmogorov equations and the Feynman–Kac formula11Change of measure and Girsanov's theorem12Monte Carlo option pricing13Simulating SDEs: the Euler–Maruyama scheme14Mean reversion: Ornstein–Uhlenbeck and Vasicek15Jumps and the Merton jump-diffusion model
Knowledge graph

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Guide/Derivatives pricing

Exotic options: barriers, Asians and digitals

Lesson 16 of 16 · 1 min read

So far every option in this track paid a function of the final price STS_TST​ alone. This lesson looks at options whose payoff is either non-standard or depends on the whole price path: digital, barrier and Asian options. It uses the pricing rule from "Risk-neutral probabilities", the formula from "The Black–Scholes formula" and the simulation method from "Monte Carlo option pricing", and it shows where the static replication of "Static replication: Breeden–Litzenberger and Carr–Madan" stops working.

Exotic options

An option is called exotic when it is not a plain European or American call or put. There are two ways to depart from the standard contract. The payoff can be a different function of STS_TST​, such as a fixed cash amount. Or the payoff can be path-dependent: it depends on prices at dates before TTT, for example on the maximum or the average of the path.

The difference matters for hedging. A European payoff f(ST)f(S_T)f(ST​) can be built statically from bonds, a forward and vanilla options, as the Carr–Madan result showed. A path-dependent payoff cannot in general: two paths that end at the same STS_TST​ can pay different amounts, so no portfolio of instruments that pay a function of STS_TST​ can match it. The pricing rule is unchanged, though. The price is still the discounted Q\mathbb{Q}Q-expectation of the payoff XXX:

V0=e−rT EQ[X].V_0 = e^{-rT}\,\mathbb{E}^{\mathbb{Q}}[X].V0​=e−rTEQ[X].

Digital options

A digital (cash-or-nothing) call pays 1 at TTT if ST>KS_T > KST​>K and nothing otherwise. Its payoff is the indicator 1{ST>K}\mathbf{1}\{S_T > K\}1{ST​>K}, a step instead of a ramp. The expected payoff is the risk-neutral probability of finishing above the strike, which "The Black–Scholes formula" identified as N(d2)N(d_2)N(d2​). Discounting gives

D0=e−rT Q(ST>K)=e−rTN(d2),d2=ln⁡(S0/K)+(r−12σ2)TσT.D_0 = e^{-rT}\,\mathbb{Q}(S_T > K) = e^{-rT} N(d_2), \qquad d_2 = \frac{\ln(S_0/K) + (r - \tfrac12\sigma^2)T}{\sigma\sqrt{T}}.D0​=e−rTQ(ST​>K)=e−rTN(d2​),d2​=σT​ln(S0​/K)+(r−21​σ2)T​.

With S0=K=100S_0 = K = 100S0​=K=100, r=5%r = 5\%r=5%, σ=20%\sigma = 20\%σ=20% and T=1T = 1T=1, d2=0.03/0.2=0.15d_2 = 0.03/0.2 = 0.15d2​=0.03/0.2=0.15, N(d2)≈0.5596N(d_2) \approx 0.5596N(d2​)≈0.5596 and D0≈0.5323D_0 \approx 0.5323D0​≈0.5323. The digital is still a European payoff. It is the limit of a tight call spread from "Combining positions": long 1/h1/h1/h calls struck at KKK and short 1/h1/h1/h calls struck at K+hK + hK+h, with h→0h \to 0h→0.

Its delta shows why digitals are hard to hedge. Differentiating D0D_0D0​ with respect to S0S_0S0​ gives Δ=e−rTφ(d2)/(S0σT)\Delta = e^{-rT}\varphi(d_2)/(S_0\sigma\sqrt{T})Δ=e−rTφ(d2​)/(S0​σT​), where φ\varphiφ is the standard normal density. At the money the factor 1/T1/\sqrt{T}1/T​ makes it blow up as expiry approaches: about 0.0190.0190.019 with one year left, 0.0690.0690.069 with one month and 0.3810.3810.381 with one day. Near expiry the hedge must swing between holding almost nothing and holding a large position as the price crosses KKK.

Barrier options

A barrier option is a vanilla option that is switched off or on when the price touches a level BBB. A knock-out option dies, paying nothing, if the barrier is touched before TTT; a knock-in option comes to life only if it is touched. The most common example is the up-and-out call with B>KB > KB>K. Writing MTM_TMT​ for the maximum of the path up to TTT, its payoff is

X=(ST−K)+ 1{MT<B}.X = (S_T - K)^+\,\mathbf{1}\{M_T < B\}.X=(ST​−K)+1{MT​<B}.

The payoff is never larger than the vanilla payoff, so the up-and-out call is cheaper than the vanilla. It loses exactly the paths that matter most to a call holder: those that rise far. As BBB falls toward KKK its value goes to zero, because a path that finishes above K≥BK \ge BK≥B must have touched BBB. As BBB rises the barrier is touched less often and the price approaches the vanilla price.

Volatility acts in two directions. Higher σ\sigmaσ makes large final payoffs more likely, which raises the vanilla price, but it also makes touching BBB more likely. With a barrier close to the spot the second effect wins, and the up-and-out call can get cheaper as σ\sigmaσ rises.

In–out parity

Hold an up-and-in call and an up-and-out call with the same KKK, BBB and TTT. On every path exactly one of them is alive, and the live one pays (ST−K)+(S_T - K)^+(ST​−K)+. Together they pay the vanilla payoff on every path, so by the law of one price

C0in+C0out=C0.C_0^{\text{in}} + C_0^{\text{out}} = C_0.C0in​+C0out​=C0​.

Pricing one of the two barrier options therefore prices the other.

Discrete and continuous monitoring

A contract must say how the barrier is checked. Textbook formulas assume continuous monitoring: the price is watched at every instant. Real contracts often use discrete monitoring, for example at each daily close. A path can cross BBB between two observation dates and come back unnoticed, so a discretely monitored knock-out is knocked out less often and is worth more than its continuously monitored version. The figure below monitors 100 dates in the year.

Asian options

An Asian option pays on the average price over a set of monitoring dates t1,…,tnt_1, \dots, t_nt1​,…,tn​ instead of the final price. The arithmetic-average Asian call pays

X=(AT−K)+,AT=1n∑k=1nStk.X = (A_T - K)^+, \qquad A_T = \frac{1}{n}\sum_{k=1}^{n} S_{t_k}.X=(AT​−K)+,AT​=n1​k=1∑n​Stk​​.

An average moves less than the price itself: early prices in the average have had little time to drift away, and their errors partly cancel. For averaging over the whole period the volatility of the average is roughly σ/3\sigma/\sqrt{3}σ/3​, about 11.5% when σ=20%\sigma = 20\%σ=20%. Lower volatility means a smaller time value, so the Asian call is cheaper than the vanilla. Averaging also makes the contract hard to manipulate by moving the price on a single day.

A sum of log-normal prices is not log-normal, so the arithmetic Asian call has no closed form. The geometric average is log-normal and has a Black–Scholes-type formula; since it moves closely with the arithmetic one, it is a natural control variate in the sense of "Monte Carlo option pricing".

Pricing by Monte Carlo

For path-dependent payoffs a single draw of STS_TST​ is not enough: we need the whole path at the monitoring dates. Under Q\mathbb{Q}Q the stock follows geometric Brownian motion with drift rrr, and the exact solution steps from one date to the next with Δt=T/n\Delta t = T/nΔt=T/n:

Stk+1=Stkexp⁡((r−12σ2)Δt+σΔt Zk+1).S_{t_{k+1}} = S_{t_k}\exp\big((r - \tfrac12\sigma^2)\Delta t + \sigma\sqrt{\Delta t}\,Z_{k+1}\big).Stk+1​​=Stk​​exp((r−21​σ2)Δt+σΔt​Zk+1​).
  1. Simulate NNN paths at the nnn monitoring dates with independent standard normal ZZZ's.
  2. On each path record what the payoff needs: STS_TST​, the running maximum MTM_TMT​, the average ATA_TAT​.
  3. Compute each path's payoff, average over the NNN paths and multiply by e−rTe^{-rT}e−rT.

The same paths price all the contracts at once; only the payoff function changes. The standard error behaves as described in "Monte Carlo option pricing".

A worked example

Take S0=100S_0 = 100S0​=100, K=100K = 100K=100, r=5%r = 5\%r=5%, T=1T = 1T=1, σ=20%\sigma = 20\%σ=20%, 100 monitoring dates, barrier B=130B = 130B=130, and simulate 20 000 paths (seed 1). The estimates are:

  • Vanilla call: 10.3710.3710.37; the Black–Scholes price is 10.4510.4510.45, within about one standard error (≈0.10\approx 0.10≈0.10).
  • Asian call: 5.775.775.77, a little over half the vanilla price.
  • Up-and-out call with B=130B = 130B=130: 3.693.693.69, so the up-and-in call is worth 10.37−3.69=6.6810.37 - 3.69 = 6.6810.37−3.69=6.68 by in–out parity.
  • Digital call paying 1: 0.5300.5300.530, against the closed form e−rTN(d2)≈0.532e^{-rT}N(d_2) \approx 0.532e−rTN(d2​)≈0.532.

The barrier removes almost two thirds of the vanilla value, because a 30% rise within a year is not unusual at 20% volatility.

The figure uses these settings: S0=100S_0 = 100S0​=100, K=100K = 100K=100, r=5%r = 5\%r=5%, T=1T = 1T=1, with 20 000 paths simulated under Q\mathbb{Q}Q and monitored at 100 dates. The sliders set the volatility σ\sigmaσ (10% to 50%) and the barrier level BBB (105 to 250), and "New sample" draws new paths. The chart plots the up-and-out call price against BBB from 105 to 250, with the vanilla Black–Scholes price as a horizontal line and a vertical line at the chosen BBB. The readouts give the Monte Carlo vanilla call, the Asian call, the up-and-out call at BBB and the digital call paying 1. Push BBB down toward KKK and watch the barrier price fall to zero. Then raise σ\sigmaσ: the vanilla gets dearer, while at B=130B = 130B=130 the up-and-out call gets cheaper, from about 3.693.693.69 at 20% to about 1.881.881.88 at 30%.

Up-and-out call price against the barrierOpen in Monte Carlo →
20%
0.10.5
130
105250
Up-and-out callVanilla call (Black–Scholes)
Vanilla call (Monte Carlo)
10.37
Asian call
5.77
Up-and-out call at B
3.69
Digital call (pays 1)
0.530

Path-dependent options rarely have closed forms, but they are priced by the same rule as any other claim: simulate paths under Q\mathbb{Q}Q, evaluate the payoff on each path, average and discount.

Summary

  • An exotic option has a non-standard payoff or one that depends on the path; path-dependent payoffs cannot in general be replicated statically with vanillas.
  • A digital call pays 1 if ST>KS_T > KST​>K; its price is e−rTN(d2)e^{-rT}N(d_2)e−rTN(d2​) and its delta spikes near expiry at the money.
  • An up-and-out call is cheaper than the vanilla, falls to zero as BBB approaches KKK, and satisfies C0in+C0out=C0C_0^{\text{in}} + C_0^{\text{out}} = C_0C0in​+C0out​=C0​; discrete monitoring knocks out less often.
  • Averaging lowers volatility, so an arithmetic Asian call is cheaper than the vanilla and has no closed form.
  • Monte Carlo prices all of them from the same simulated paths at the monitoring dates.
Try itSimulate risk-neutral paths and price payoffs in the Monte Carlo lab →
← PreviousStatic replication: Breeden–Litzenberger and Carr–MadanBack to guides →Derivatives pricing
Connections
Exotic options: barriers, Asians and dig…
Open the full graph →
Labs for this lesson
Monte CarloPayoff Lab