{
  "name": "QuantLib Pricing Engine Architecture and Numerical Methods Comparison",
  "description": "Comprehensive comparative benchmark of primary QuantLib pricing engines, mapping underlying financial models, numerical solution methods, supported exercise styles, and computational complexity based on official QuantLib documentation and Luigi Ballabio's Implementing QuantLib architecture specifications.",
  "page": "https://casrai.org/guides/quantlib",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-15T00:57:57Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Pricing Engine",
      "unit": "",
      "description": "QuantLib C++ / Python engine class name"
    },
    {
      "name": "Underlying Model",
      "unit": "",
      "description": "Stochastic process or financial dynamic model"
    },
    {
      "name": "Numerical Method",
      "unit": "",
      "description": "Mathematical algorithm used for valuation"
    },
    {
      "name": "Supported Exercise",
      "unit": "",
      "description": "Applicable derivative exercise styles"
    },
    {
      "name": "Computational Complexity",
      "unit": "",
      "description": "Algorithmic execution complexity order"
    },
    {
      "name": "Primary Asset / Contract",
      "unit": "",
      "description": "Target financial instrument or market application"
    }
  ],
  "rows": [
    {
      "Pricing Engine": "AnalyticEuropeanEngine",
      "Underlying Model": "Black-Scholes-Merton",
      "Numerical Method": "Closed-form Analytic",
      "Supported Exercise": "European",
      "Computational Complexity": "O(1) Instantaneous",
      "Primary Asset / Contract": "Vanilla equity and FX options"
    },
    {
      "Pricing Engine": "BachelierCapFloorEngine",
      "Underlying Model": "Bachelier (Normal)",
      "Numerical Method": "Closed-form Normal",
      "Supported Exercise": "European",
      "Computational Complexity": "O(1) Instantaneous",
      "Primary Asset / Contract": "Interest rate caps and floors in negative rate regimes"
    },
    {
      "Pricing Engine": "BinomialVanillaEngine",
      "Underlying Model": "Cox-Ross-Rubinstein / Jarrow-Rudd",
      "Numerical Method": "Binomial Tree Lattice",
      "Supported Exercise": "American, Bermudan, European",
      "Computational Complexity": "O(N^2) Quadratic in tree steps",
      "Primary Asset / Contract": "Single-asset early-exercise equity options"
    },
    {
      "Pricing Engine": "MCEuropeanEngine",
      "Underlying Model": "Black-Scholes-Merton Stochastic",
      "Numerical Method": "Monte Carlo Path Simulation",
      "Supported Exercise": "European",
      "Computational Complexity": "O(M * N) Linear in paths and steps",
      "Primary Asset / Contract": "Path-dependent and multi-asset European derivatives"
    },
    {
      "Pricing Engine": "FdBlackScholesVanillaEngine",
      "Underlying Model": "Local / Black-Scholes PDE",
      "Numerical Method": "Finite Difference (Crank-Nicolson)",
      "Supported Exercise": "American, Bermudan, European",
      "Computational Complexity": "O(M * N) Spatial and temporal mesh",
      "Primary Asset / Contract": "Barrier and American options with discrete dividends"
    },
    {
      "Pricing Engine": "AnalyticHestonEngine",
      "Underlying Model": "Heston Stochastic Volatility",
      "Numerical Method": "Semi-Analytic Fourier Transform",
      "Supported Exercise": "European",
      "Computational Complexity": "O(K) Numerical quadrature",
      "Primary Asset / Contract": "Options with volatility skew and smile dynamics"
    },
    {
      "Pricing Engine": "TreeSwaptionEngine",
      "Underlying Model": "Hull-White One-Factor Short Rate",
      "Numerical Method": "Trinomial Tree Lattice",
      "Supported Exercise": "Bermudan, European",
      "Computational Complexity": "O(N^2) Lattice backward induction",
      "Primary Asset / Contract": "Bermudan and European interest rate swaptions"
    },
    {
      "Pricing Engine": "JamshidianSwaptionEngine",
      "Underlying Model": "One-Factor Hull-White / Gaussian",
      "Numerical Method": "Analytical One-Dimensional Integration",
      "Supported Exercise": "European",
      "Computational Complexity": "O(K) Numerical root finding",
      "Primary Asset / Contract": "Vanilla European interest rate swaptions"
    }
  ],
  "sources": [
    {
      "title": "QuantLib Reference Documentation",
      "url": "https://www.quantlib.org/docs.shtml",
      "accessed": "2026-11-14"
    },
    {
      "title": "Implementing QuantLib (Luigi Ballabio)",
      "url": "https://implementingquantlib.com/",
      "accessed": "2026-11-14"
    }
  ]
}