LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Geometry-Adapted Spectral Pricing of Two-Asset Knockout Options

Open repository
Dec 3, 2026
Computational Finance+1

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH (for exp_1); INCONCLUSIVE (for exp_2–exp_7)
  • Key Insight: Of seven planned experiments, only exp_1 (Fourier-Galerkin spectral pricing on rectangles) was fully executed with results. Its three contract prices match the paper's spectral reference prices to within 0.006%, well inside the paper's own inter-method agreement. The remaining five experiments have library-level implementations but no experiment driver scripts or results.

Results Comparison

Experiment 1: Fourier-Galerkin Spectral Pricing on Rectangles

MetricPaper (Spectral Reference)ReproducedDiffStatus
Double no-touch price0.2189040.218916+0.0054%✅ Within tolerance
Worst-of call price10.4463510.446345−0.000044%✅ Within tolerance
Spread call price6.790166.790164+0.000060%✅ Within tolerance
Double no-touch delta1— (not tabulated)−0.00109—N/A
Double no-touch delta2— (not tabulated)−0.00119—N/A
Worst-of call delta1— (not tabulated)0.29620—N/A
Spread call delta1— (not tabulated)0.41944—N/A

Paper's own inter-method agreement (for context):

  • Double no-touch: spectral vs FD diff = −0.011%, spectral vs MC within 3 SEM
  • Spread call: spectral vs FD diff = +0.082%
  • Worst-of call: spectral vs FD diff = +0.003%

Experiments 2–7: No Results

ExperimentLibrary CodeDriver ScriptResults FileVerdict
exp_2: Bessel Disc (Mahalanobis basket)✅ src/bessel_disc.py❌❌Not executed
exp_3: Mathieu Ellipse (Euclidean baskets)✅ src/mathieu_ellipse.py❌❌Not executed
exp_4: FD Benchmark Solver✅ src/fd_solver.py❌❌Not executed
exp_5: Monte Carlo Benchmark✅ src/monte_carlo.py❌❌Not executed
exp_6: PDE Residual Test⚠️ Partial (depends on exp_2, exp_3)❌❌Not executed
exp_7: Sealed Holdout Validation⚠️ Partial (depends on exp_3, exp_4, exp_5)❌❌Not executed

Summary: The three rectangular-barrier prices from exp_1 are reproduced with excellent fidelity — all differences are below 0.006%, which is orders of magnitude smaller than the paper's own spectral-vs-FD agreement (up to 0.082% for the spread call). However, five of seven experiments lack any quantitative results at all.


Statistical & Economic Significance

For exp_1, the price agreement is economically meaningful and statistically excellent:

  • Double no-touch: The reproduced price (0.218916) differs from the paper's spectral price (0.218904) by 0.0054%, which is smaller than the paper's own spectral-vs-FD gap of 0.011%. This confirms the Fourier-Galerkin implementation is correct.
  • Worst-of call: The match is essentially exact (5 decimal places), with a relative error of only 4.4×10⁻⁵%.
  • Spread call: The 6×10⁻⁵% difference is negligible, again far smaller than the paper's spectral-vs-FD gap of 0.082%.

Greeks (deltas, gammas, theta) were computed from the analytic modal gradient and are stored in the JSON, but the paper does not tabulate them at the valuation spot in a directly comparable form, so no independent validation is possible. The implementation follows the paper's methodology (analytic gradient, central-difference gammas with h=1e-4) faithfully.

For exp_2–exp_7, no statistical assessment is possible since no results were produced.


Discrepancy Analysis

There are no material discrepancies for exp_1. The tiny differences (0.005%, 0.00004%, 0.00006%) are attributable to:

  1. Quadrature precision differences: The reproduced implementation uses trapezoidal quadrature with M = max(120, 4N) points per side, exactly as specified. Minor floating-point differences in the eigenvalue decomposition (SciPy version, platform) could account for the sub-basis-point differences.
  2. Galerkin matrix assembly: The implementation assembles H in closed form (analytic sin-cos integrals) rather than by numerical quadrature, which is actually more accurate than the paper's general approach but should give identical results mathematically.
  3. Eigensolver differences: The implementation uses scipy.linalg.eigh (symmetric eigensolver), which is appropriate. The tiny remaining differences are consistent with machine-precision round-off in the eigendecomposition.

The most notable finding is that all three differences are positive or near-zero, consistent with a well-converged spectral expansion.


Methodology Issues

What was done correctly (exp_1):

  • ✅ Exponential transformation V = e^{β·x + γ·τ} u with β = −Σ⁻¹b, γ = −r − ½β^TΣβ
  • ✅ Sine-product basis φ_nk on the rectangle with correct domain boundaries (log-return coordinates)
  • ✅ Galerkin matrix H assembled in closed form including the cross-derivative (a₁₂) coupling term
  • ✅ Symmetric matrix symmetrization before eigendecomposition
  • ✅ Trapezoidal quadrature with M = max(120, 4N) interior points for coefficient projection
  • ✅ Modal sum pricing: V = G · Σ c_n Ψ_n e^{−½λ²τ}
  • ✅ Greeks: analytic deltas from modal gradient, gammas from central differences (h=1e-4), theta from the product rule
  • ✅ Correct mode counts: N=20 (400 total), N=32 (1024 total), N=50 (2500 total)
  • ✅ Correct contract parameters from Table 2.1

What is missing:

  • ❌ No validation against FD or MC benchmarks (exp_4, exp_5 not run)
  • ❌ No PDE residual test (exp_6 not run) — cannot verify the Galerkin-vs-pointwise distinction
  • ❌ No Bessel disc pricing results (exp_2)
  • ❌ No Mathieu ellipse pricing results (exp_3)
  • ❌ No sealed holdout validation (exp_7)
  • ❌ The FD solver implementation solves for the transformed variable u (heat equation) rather than V (Black-Scholes) — this is a legitimate algebraic choice but differs from the paper's description of solving the V-equation with drift. The code comments justify this, but it was never exercised experimentally.

Notable implementation observations:

  • The Mathieu pricer (src/mathieu_ellipse.py) is a substantial implementation (~400 lines) that constructs the four symmetry classes via tridiagonal eigenproblems, performs root scanning with Brent's method, and includes the interior-zero check. However, it has never been validated against any reference price.
  • The FD solver's rectangle solver uses reduced grid sizes (N=80,160,320 with 125,250,500 steps) versus the paper's (N=160,320,640 with 250,500,1000 steps), as noted in config.py (FD_RECT_N_RUN vs FD_RECT_N_PAPER).
  • The Monte Carlo engine uses reduced path counts (400K paths, 6 runs) versus the paper's (2M paths, 20 runs).

Reliability

For exp_1: Results are highly reliable. The implementation is clean, follows the paper's methodology precisely, and produces prices within 0.006% of the paper's spectral references. The Galerkin matrix is checked for symmetry, eigenvalues are guarded against negative round-off, and the quadrature grid is adequate. Build times (0.15s, 0.70s, 7.05s for the three contracts) are reasonable.

For exp_2–exp_7: Library code exists and is structurally complete (Bessel pricer, Mathieu pricer, FD solver, MC engine), but since no experiment scripts were run, there are no results to assess. The code passes basic unit tests for the transform/payoff layer, but the core pricing modules (Bessel, Mathieu, FD, MC) have no dedicated test coverage visible in the test files.

Anomalies: No anomalies were detected in exp_1. The Greek values for the double no-touch (negative gammas, small deltas) are qualitatively reasonable for a knockout binary-type contract at the interior of a wide barrier.


Verdict

Final Decision: PARTIALLY REPRODUCED

Why: Only 1 of 7 experiments (exp_1) was fully executed with quantitative results. That one experiment is reproduced with excellent fidelity — all three rectangular-barrier prices match the paper to within 0.006%, far inside the paper's own inter-method agreement. The Fourier-Galerkin implementation is methodologically correct and its results are trustworthy. However, the five remaining experiments (Bessel disc pricing, Mathieu ellipse pricing, FD benchmark, MC benchmark, PDE residual test, and sealed holdout validation) have only library-level implementations with no experiment driver scripts and no results files. Without these, the core claims of the paper — that Bessel and Mathieu modes provide pointwise solutions while Fourier-Galerkin modes provide only Galerkin solutions, validated against independent FD and MC benchmarks — cannot be confirmed or refuted. The replication covers 3 of 6 contracts (the rectangular ones) and 1 of 7 experimental protocols.

Experiments

Spectral Pricing on Rectangles with Fourier-Galerkin Modes

Price two-asset European knockout options on rectangular barriers using Fourier sine product basis functions with Galerkin diagonalization to handle correlated assets. Three contracts are tested: a double no-touch, a worst-of down-and-out call, and a spread call.

Spectral Pricing on a Disc with Bessel Modes (Mahalanobis Basket Call)

Price a two-asset basket call with a Mahalanobis barrier using Bessel eigenfunctions on a disc. The Mahalanobis barrier x^T Sigma^{-1} x <= R^2 becomes a disc of radius R after the whitening transformation, where the Laplacian separates in polar coordinates.

Spectral Pricing on an Ellipse with Mathieu Modes (Euclidean Basket Calls)

Price two-asset basket calls with Euclidean disc barriers using Mathieu eigenfunctions on an ellipse. The Euclidean disc barrier x1^2 + x2^2 <= R^2 becomes an ellipse after the whitening transformation, where the Laplacian separates in elliptic coordinates. Two contracts with different barrier radii (0.5 and 0.3) are tested.

Finite-Difference Benchmark Solver for Two-Asset Knockout Options

Implement a second-order finite-difference benchmark solver for pricing two-asset knockout options in whitened coordinates (for curved barriers) and in log-return coordinates (for rectangles), using the Shortley-Weller stencil for curved boundaries and Crank-Nicolson time stepping with Rannacher start-up.

Monte Carlo Benchmark with Brownian Bridge Correction for Two-Asset Knockout Options

Implement a Monte Carlo benchmark for pricing two-asset knockout options using exact log-normal increments with Brownian bridge survival probability correction for continuous barrier monitoring. Used as an independent check on the spectral and finite-difference methods.

PDE Residual Test: Pointwise vs Galerkin Solution Verification

Verify whether each eigenbasis provides a pointwise or only a Galerkin solution to the pricing PDE by evaluating the PDE residual at the price level and mode-by-mode, and testing its dependence on the finite-difference step size used to compute second derivatives.

Sealed Holdout Validation Protocol for Mathieu Pricer

Apply a pre-registered holdout validation protocol to the Mathieu (elliptical) spectral pricer. Three configurations are written down before tuning, never inspected or debugged against, and evaluated once at frozen production settings, with six pre-registered gates applied to each.

Original paperRun QCA on your paper