Two Brownian assets with correlation $\rho$ are driven by two independent Wiener processes via a Cholesky decomposition of the correlation matrix. The option to exchange asset $2$ for asset $1$, paying $(S_1 - S_2)^+$, provides a sharp closed-form test via Margrabe’s formula [1]: with $S_1(0) = S_2(0) = 100$, $\sigma_1 = 25\%$, $\sigma_2 = 20\%$, and $T = 1$, the price drops from $14.44$ at $\rho = -0.3$ to $5.98$ at $\rho = 0.8$.
Diffusion matrix from independent noises
Let $W^1$ and $W^2$ be independent standard Brownian motions. Defining
$$ dW'_t = \rho\,dW^1_t + \sqrt{1 - \rho^2}\,dW^2_t $$gives a standard Brownian increment ($d\langle W' \rangle_t = (\rho^2 + 1 - \rho^2)\,dt = dt$) with covariance $\rho\,dt$ against $dW^1_t$. Driving $(S_1, S_2)$ with $(W^1, W')$ produces the diffusion matrix
$$ \begin{pmatrix} \sigma_1 S_1 & 0 \\ \rho\,\sigma_2 S_2 & \sigma_2\sqrt{1 - \rho^2}\,S_2 \end{pmatrix}. $$Margrabe and covariance benchmarks
Under geometric Brownian motion with risk-neutral drift $r$, Margrabe’s price is independent of $r$:
$$ \begin{aligned} C_{\mathrm{exch}} &= S_1(0) N(d_1) - S_2(0) N(d_2), \\ d_1 &= \frac{\ln\frac{S_1(0)}{S_2(0)} + \frac{1}{2}\sigma^2 T}{\sigma\sqrt{T}}, \qquad d_2 = d_1 - \sigma\sqrt{T}, \end{aligned} $$where the spread variance is $\sigma^2 = \sigma_1^2 + \sigma_2^2 - 2\rho\sigma_1\sigma_2$. A second, direct check on the diffusion matrix is the cross-moment $\mathbb{E}[S_1(T) S_2(T)] = S_1(0) S_2(0)\,e^{(2r + \rho\sigma_1\sigma_2)T}$.


Run this in sItô
Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun:
| Regime ($r = 3\%, T = 1$) | Spread volatility $\sigma$ | Margrabe price (run SE) | $\frac{\mathbb{E}[S_1 S_2]}{S_1(0) S_2(0)}$ | $\mathbb{E}[S_1 S_2]$ (run SE) |
|---|---|---|---|---|
| $\rho = 0.8$ | 0.150 | 5.98 (0.10) | 1.1052 | 11,052 (53) |
| $\rho = -0.3$ | 0.364 | 14.44 (0.23) | 1.0460 | 10,460 (30) |
A sign error on $\rho$ or an omitted $\sqrt{1 - \rho^2}$ factor shows up immediately in $\mathbb{E}[S_1 S_2]$. The same construction generalizes to three assets via the Cholesky factor of the $3 \times 3$ correlation matrix [2], and entering multi-column diffusion matrices is walked through in Using sItô. The underlying simulation pipeline is described in Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: Put–call parity as a test of a simulator, Black–Scholes by simulation, Time-dependent volatility.