1.40
Downloads:
Changes for QuantLib 1.40
Removals and deprecations
Features deprecated in release 1.35 were removed in this release; see
#2268 for a full list.
A number of features were deprecated in this release and will be
removed in a future release:
- The overload of the
RangeAccrualFloatersCouponconstructor taking ashared_ptrto a schedule; use the other overload instead. - The method
observationsScheduleof the same class; useobservationScheduleinstead. - The
<ql/experimental/fx/blackdeltacalculator.hpp>andql/experimental/fx/deltavolquote.hppheaders; use<ql/pricingengines/blackdeltacalculator.hpp>and<ql/quotes/deltavolquote.hpp>instead. - The overload of the
CPIBondandCPIBondHelperconstructors taking thegrowthOnlyparameter; use the other overload instead. - The methods
cumD1,cumD2,nD1andnD2of theBlackDeltaCalculatorclass; they are internal methods and will be moved to the private section. - The
BlackDeltaPremiumAdjustedSolverClassandBlackDeltaPremiumAdjustedMaxStrikeClass; they were used in the implementation ofBlackDeltaCalculatorbut are now obsolete. - The
BootstrapErrorclass template; use a lambda instead (see #2263 for an example). - The
PenaltyFunctionclass; useSimpleCostFunctioninstead. - The
Tonaindex was renamed toTonar; use the latter instead.
What's Changed
- Make
Nullconstexpr by @eltoder in #2260 - Remove features deprecated in version 1.35 by @lballabio in #2268
- Allow specifying business-day convention in
OISRateHelperby @eltoder in #2264 - Allow specifying business-day convention for floating leg in
SwapRateHelperby @eltoder in #2269 - Replace
BootstrapErrorclass with a lambda and deprecate it by @eltoder in #2263 - Cleanup includes in interpolated curves by @eltoder in #2274
- Expose swap on inflation swap bootstrap helpers by @eltoder in #2275
- Auto-enable extrapolation for
ForwardSpreadedTermStructureby @eltoder in #2273 - Replace and deprecate
LocalBootstrap'sPenaltyFunctionby @eltoder in #2272 - Replacing std::pow() with test-specific LUT implementation for rounding tests in quantlib benchmarking. by @vladimir-polin in #2270
- Support custom pillar dates after the latest relevant date in
IterativeBootstrapby @eltoder in #2262 - Renamed Tona index to Tonar by @lballabio in #2277
- Don't use
shared_ptr<Schedule>by @lballabio in #2280 - Automated fixes by clang-tidy by @github-actions[bot] in #2283
- Use
doublefor constexpr variable to maintain AAD compatibility by @auto-differentiation-dev in #2282 - Add soft-barrier options by @wday0507 in #2271
- Allow creating
PiecewiseZeroInflationCurvebefore the base date is known by @eltoder in #2279 - Update copyright list in license by @lballabio-bot in #2290
- Update generated headers by @lballabio-bot in #2291
- Deprecate
growthOnlyparameter in CPI bond and helper by @lballabio in #2287 - Refactor inflation helpers by @eltoder in #2293
- Add
cmake_runners-latest-matrix.ymlworkflow by @ralfkonrad in #2249 - Automated fixes by clang-tidy by @lballabio-bot in #2294
- Add
InterpolatedSpreadDiscountCurveandPiecewiseSpreadYieldCurveby @eltoder in #2292 - Fix typo in uniform1dmesher by @quantresearch1 in #2298
- Add BRL CDI index by @sophistis42 in #2295
- Update copyright list in license by @lballabio-bot in #2300
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #2299
- Fix consistent test macro usage for AAD compatibility by @auto-differentiation-dev in #2303
- Add checks in
Schedule'sstartDateandendDatemethods to avoid segfault by @davidizzle in #2304 - Update old license links by @lballabio-bot in #2308
- Better docs string BlackDeltaCalculator by @paolodelia99 in #2301
- Move
BlackDeltaCalculatorandDeltaVolQuotefrom experimental to core by @lballabio in #2309 - Bump actions/stale from 9 to 10 by @dependabot[bot] in #2313
- Replace
ImpliedVolatilityHelperwith lambda by @lballabio in #2318 - Add
BachelierCalculatorclass by @kp9991-git in #2316 - Update old license links by @lballabio-bot in #2322
- Update generated headers by @lballabio-bot in #2323
- Add perpetual futures by @drxyzw in #2315
- Update copyright list in license by @lballabio-bot in #2325
- Fixing naming and styles in pull request #2315 (perpetual futures) by @drxyzw in #2329
- Add Singapore public holidays for 2025 by @sergioUjo in #2330
- Speedup Sobol Sequence Generator by transposing directionIntegers_ matrix by @dmardavies in #2333
- Simplify and generalize the implementation of
inflationPeriodby @eltoder in #2334 - Removing trailing spaces in quantlibbenchmark.cpp by @vladimir-polin in #2335
- Improvement to Latent model execution time by @vladimir-polin in #2336
- Add explicit return type for lambdas to work with expression templates by @auto-differentiation-dev in #2338
- Add end-of-month date adjustment rules for 30/365 by @ragibson in #2337
- Fix potential dangling reference in MultiCubicSpline by @ipenas-cl in #2265
- Automated fixes by clang-tidy by @lballabio-bot in #2332
- Set version to 1.40-rc by @lballabio-bot in #2341
- Set version to 1.40 final by @lballabio-bot in #2343
New Contributors
- @vladimir-polin made their first contribution in #2270
- @wday0507 made their first contribution in #2271
- @lballabio-bot made their first contribution in #2290
- @quantresearch1 made their first contribution in #2298
- @davidizzle made their first contribution in #2304
- @drxyzw made their first contribution in #2315
- @sergioUjo made their first contribution in #2330
- @dmardavies made their first contribution in #2333
- @ragibson made their first contribution in #2337
- @ipenas-cl made their first contribution in #2265
Full Changelog: v1.39...v1.40