Published April 14, 2026
| Version v1.42
Software
Open
QuantLib: a free/open-source library for quantitative finance
Authors/Creators
Description
Downloads:
Changes for QuantLib 1.42
Removals and deprecations
Features deprecated in release 1.37 were removed in this release; see https://github.com/lballabio/QuantLib/pull/2424 for a full list.
A number of features were deprecated in this release and will be removed in a future release (probably release 1.47):
- The overloads of
CashFlows::npv,BondFunctions::cleanPriceandBondFunctions::dirtyPricetaking a z-spread and a day-count convention; use the overload without a day counter. - The overloads of
CashFlows::zSpreadandBondFunctions::zSpreadtaking a day-count convention; use the overload without a day counter. - The
DefaultLogCubicandLogMixedLinearCubicinterpolators; useKrugerLogandKrugerLogMixedLinearCubicinstead. - The
NeumannBC,DirichletBC,CrankNicolson,DMinus,DPlus,DPlusDMinus,DZero,ExplicitEuler,ImplicitEulerandMixedSchemeclasses; use the new finite-difference framework instead. - The
ForwardRateStructureadapter class; inherit fromZeroYieldStructureinstead (you should implementzeroYieldImplanyway). - The
ql/experimental/volatility/zabr.hppheader; include<ql/termstructures/volatility/zabr.hpp>instead. - The
ql/experimental/volatility/zabrinterpolatedsmilesection.hppheader; include<ql/termstructures/volatility/zabrinterpolatedsmilesection.hpp>instead. - The
ql/experimental/volatility/zabrinterpolation.hppheader; include<ql/math/interpolations/zabrinterpolation.hpp>instead. - The
ql/experimental/volatility/zabrsmilesection.hppheader; include<ql/termstructures/volatility/zabrsmilesection.hpp>instead. - The now empty
ql/experimental/exoticoptions/kirkspreadoptionengine.hpp,ql/experimental/exoticoptions/spreadoption.hpp,ql/grid.hpp,ql/math/transformedgrid.hpp,ql/methods/finitedifferences/bsmoperator.hpp,ql/methods/finitedifferences/pde.hppandql/methods/finitedifferences/pdebsm.hppheaders.
What's Changed
- Set version to 1.42-dev by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2423
- Remove features deprecated in version 1.37 by @lballabio in https://github.com/lballabio/QuantLib/pull/2424
- Deprecate a last few unused parts of the old finite-difference framework by @lballabio in https://github.com/lballabio/QuantLib/pull/2425
- Avoid storing references in GSR and Markov-functional state processes by @pcaspers in https://github.com/lballabio/QuantLib/pull/2418
- Fix accrued amount calculation for simple-averaging overnight indexed coupon by @thrasibule in https://github.com/lballabio/QuantLib/pull/2427
- Add constructor validation in
OvernightIndexedCouponto preventpaymentDate < accrualEndDateby @jay-jain in https://github.com/lballabio/QuantLib/pull/2421 - Faster
skipTo()implementation in Burley's scrambled Sobol RNG by @pcaspers in https://github.com/lballabio/QuantLib/pull/2431 - Fix
testCachedHullWhitefailure with -O3 optimization by @Vatsalpatni73 in https://github.com/lballabio/QuantLib/pull/2435 - Avoid warning when copying a partially initialized struct by @lballabio in https://github.com/lballabio/QuantLib/pull/2437
- Remove code duplication in
FuturesConvAdjustmentQuoteby @eltoder in https://github.com/lballabio/QuantLib/pull/2436 - Add FX Forward instrument, engine, and tests by @chiragpdesai77 in https://github.com/lballabio/QuantLib/pull/2414
- Update generated headers by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2440
- Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2439
- Make all interpolation implementations final by @eltoder in https://github.com/lballabio/QuantLib/pull/2438
- Adjust Bessel K tolerance for catastrophic cancellation by @pandashark in https://github.com/lballabio/QuantLib/pull/2445
- Avoid underflow and out-of-bounds access in
SmileSectionUtilsby @pandashark in https://github.com/lballabio/QuantLib/pull/2444 - Added Chinese holidays for the year 2026 by @wegamekinglc in https://github.com/lballabio/QuantLib/pull/2446
- Add
fixingConventionparameter toFloatingRateCouponby @pandashark in https://github.com/lballabio/QuantLib/pull/2442 - Add
ZabrSwaptionVolatilityCubefor ZABR-based swaption volatility cubes by @aaditya-panik in https://github.com/lballabio/QuantLib/pull/2434 - Automated fixes by clang-tidy by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2452
- Fix
calculate()implementation inFlatExtrapolator2Dby @eltoder in https://github.com/lballabio/QuantLib/pull/2448 - Respect
AmericanExerciseearliest date in FD engines by @alienbrett in https://github.com/lballabio/QuantLib/pull/2449 - Support matching first derivatives in
MixedLinearCubicInterpolationby @eltoder in https://github.com/lballabio/QuantLib/pull/2450 - Use contract dates for fixed-leg year fraction in
ZeroCouponInflationSwapby @pandashark in https://github.com/lballabio/QuantLib/pull/2451 - Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in https://github.com/lballabio/QuantLib/pull/2464
- Add 2025 and 2026 TWSE holidays to Taiwan calendar by @zippyg in https://github.com/lballabio/QuantLib/pull/2462
- Fix pillar assignment in inflation-curve bootstrap for
CPI::Linearby @pandashark in https://github.com/lballabio/QuantLib/pull/2456 - Deprecate classes using Kruger with
monotonic=trueby @eltoder in https://github.com/lballabio/QuantLib/pull/2457 - Deprecate day-counter argument in z-spread functions by @zippyg in https://github.com/lballabio/QuantLib/pull/2465
- Remove virtual destructor from
Extrapolatorby @eltoder in https://github.com/lballabio/QuantLib/pull/2466 - Fix address sanitizer failure by @eltoder in https://github.com/lballabio/QuantLib/pull/2467
- Add Singapore (SGX) trading holidays for 2026 by @GuillermoPL in https://github.com/lballabio/QuantLib/pull/2468
- Fix call price accrued during ex-coupon period by @pandashark in https://github.com/lballabio/QuantLib/pull/2455
- Add
PiecewiseBlackVarianceSurfacefor ragged vol grids by @pandashark in https://github.com/lballabio/QuantLib/pull/2443 - Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2470
- Automated fixes by clang-tidy by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2461
- Bump docker/login-action from 3 to 4 by @dependabot[bot] in https://github.com/lballabio/QuantLib/pull/2477
- Fix
MakeOISandMakeVanillaSwapend-of-month handling by @pcaspers in https://github.com/lballabio/QuantLib/pull/2459 - Add
operator==toFdmLinearOpIteratorby @quantales in https://github.com/lballabio/QuantLib/pull/2472 - Add single-section constructor and tests to
PiecewiseBlackVarianceSurfaceby @quantales in https://github.com/lballabio/QuantLib/pull/2478 - Bring
MakeCreditDefaultSwapup to date with CDS instrument by @lballabio in https://github.com/lballabio/QuantLib/pull/2479 - Add
MultipleResetsSwapinstrument and rate helper by @zippyg in https://github.com/lballabio/QuantLib/pull/2474 - Add
BlackVolatilitySurfaceDeltaclass for FX options by @paolodelia99 in https://github.com/lballabio/QuantLib/pull/2368 - Fix
MakeVanillaSwapfixed-tenor inference with explicit termination date by @pandashark in https://github.com/lballabio/QuantLib/pull/2480 - Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2482
- Automated fixes by clang-tidy by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2486
- Add
withExerciseCalendartoMakeSwaptionby @pandashark in https://github.com/lballabio/QuantLib/pull/2484 - Throw when both effective date and settlement days are set in
MakeVanillaSwap/MakeOISby @pandashark in https://github.com/lballabio/QuantLib/pull/2481 - Use log interpolation for discount curves by @eltoder in https://github.com/lballabio/QuantLib/pull/2491
- Avoid 0.0 in
Burley2020SobolRsgoutput by @zippyg in https://github.com/lballabio/QuantLib/pull/2494 - Remove special initial guess for spread discount curves by @eltoder in https://github.com/lballabio/QuantLib/pull/2495
- Support custom pillar date in interest-rate futures helpers by @Krishn1412 in https://github.com/lballabio/QuantLib/pull/2415
- Deprecate
ForwardRateStructurein favor ofZeroYieldStructureby @eltoder in https://github.com/lballabio/QuantLib/pull/2261 - Use variant to reduce duplication in
SofrFutureRateHelperconstructors by @lballabio in https://github.com/lballabio/QuantLib/pull/2501 - Cache derived and composite quotes by @eltoder in https://github.com/lballabio/QuantLib/pull/2499
- Add
MultiCompositeQuoteby @eltoder in https://github.com/lballabio/QuantLib/pull/2500 - Use custom type aliases instead of raw
doubleby @wegamekinglc in https://github.com/lballabio/QuantLib/pull/2503 - Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2502
- Replace Boost macros that might not work with AAD types by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2508
- Check for negative rates in Barone-Adesi-Whaley engine by @pandashark in https://github.com/lballabio/QuantLib/pull/2505
- Support OIS underlyings in
FdmAffineModelSwapInnerValueby @pandashark in https://github.com/lballabio/QuantLib/pull/2488 - Forward notifications after failed calculations in
LazyObjectby @pandashark in https://github.com/lballabio/QuantLib/pull/2504 - Support separate exercise date in MC arithmetic average-strike Asian engine by @pandashark in https://github.com/lballabio/QuantLib/pull/2506
- Fix first-period regularity check in
Schedulebackwards date generation by @pandashark in https://github.com/lballabio/QuantLib/pull/2511 - Replace
dynamic_castwithstatic_castin interpolations by @eltoder in https://github.com/lballabio/QuantLib/pull/2510 - Use
QL_prefix forPACKAGEmacros in CMake config template by @pandashark in https://github.com/lballabio/QuantLib/pull/2512 - Automated fixes by clang-tidy by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2516
- Implement fair spread for
FloatFloatSwapby @shubhamessier in https://github.com/lballabio/QuantLib/pull/2411 - Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2518
- Add 3 new fuzzing harnesses by @DavidKorczynski in https://github.com/lballabio/QuantLib/pull/2514
- Update copyright list in license by @github-actions[bot] in https://github.com/lballabio/QuantLib/pull/2520
- Use
Realinstead ofdoublein range-for loops by @auto-differentiation-dev in https://github.com/lballabio/QuantLib/pull/2521 - Automated fixes by clang-tidy by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2524
- Use
Realinstead ofdoubleas initial value foraccumulateby @auto-differentiation-dev in https://github.com/lballabio/QuantLib/pull/2525 - Set version to 1.42-rc by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2526
- Set version to 1.42 final by @lballabio-bot in https://github.com/lballabio/QuantLib/pull/2535
New Contributors
- @jay-jain made their first contribution in https://github.com/lballabio/QuantLib/pull/2421
- @Vatsalpatni73 made their first contribution in https://github.com/lballabio/QuantLib/pull/2435
- @chiragpdesai77 made their first contribution in https://github.com/lballabio/QuantLib/pull/2414
- @pandashark made their first contribution in https://github.com/lballabio/QuantLib/pull/2445
- @aaditya-panik made their first contribution in https://github.com/lballabio/QuantLib/pull/2434
- @alienbrett made their first contribution in https://github.com/lballabio/QuantLib/pull/2449
- @zippyg made their first contribution in https://github.com/lballabio/QuantLib/pull/2462
- @GuillermoPL made their first contribution in https://github.com/lballabio/QuantLib/pull/2468
- @quantales made their first contribution in https://github.com/lballabio/QuantLib/pull/2472
- @shubhamessier made their first contribution in https://github.com/lballabio/QuantLib/pull/2411
- @DavidKorczynski made their first contribution in https://github.com/lballabio/QuantLib/pull/2514
Full Changelog: https://github.com/lballabio/QuantLib/compare/v1.41...v1.42
Notes
Files
lballabio/QuantLib-v1.42.zip
Files
(11.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:a00d5f3c456438378f5d9ce7e0efc388
|
11.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/lballabio/QuantLib/tree/v1.42 (URL)
Software
- Repository URL
- https://github.com/lballabio/QuantLib