Published October 19, 2021
| Version QuantLib-v1.24
Software
Open
QuantLib: a free/open-source library for quantitative finance
Authors/Creators
Description
Downloads
Changes for QuantLib 1.24:
QuantLib 1.24 includes 25 pull requests from several contributors.
The most notable changes are included below. A detailed list of changes is available in ChangeLog.txt and at https://github.com/lballabio/QuantLib/milestone/20?closed=1.
Portability- Overhauled the CMake build system (thanks to @pkovacs). Among other things, it now allows to specify the available configuration options from the
cmakeinvocation and adds the required Boost libraries accordingly.
- Avoid callable-bond mispricing when a call date is close but not equal to a coupon date (thanks to @ralfkonrad for the fix and to @aichao for the analysis). See https://github.com/lballabio/QuantLib/issues/930 for details.
- A new
RiskyBondEngineis available for bonds (thanks to @w31ha0). It prices bonds based on a risk-free discount cure and a default-probability curve used to assess the probability of each coupon payment. It makes accessible to all bonds the calculations previously available in the experimentalRiskyBondclass.
- The choice between par and indexed coupons was moved to
IborCouponPricer(thanks to @pcaspers). This also made it possible to override the choice locally when building aVanillaSwapor aSwapRateHelper, so that coupons with both behaviors can now be used at the same time.
- Cross-currency basis swap rate helpers now support both constant-notional and marked-to-market swaps (thanks to @marcin-rybacki).
- Added Chilean calendar (thanks to @anubhav-pandey1).
- Added new
ThirdWednesdayInclusivedate-generation rule that also adjusts start and end dates (thanks to @w31ha0).
- Overhauled
Singletonimplementation (thanks to @pcaspers). Singletons are now initialized in a thread-safe way when sessions are enabled, global singletons (that is, independent of sessions) were made available, and static initialization was made safer.
- Sped up some of the longer-running tests (thanks to @mshojatalab).
- Deprecated default constructor for the U.S. calendar; the desired market should now be passed explicitly.
- Deprecated the
nominalTermStructuremethod and the corresponding data member in inflation term structures. Any object needing the nominal term structure should have it passed explicitly. - Deprecated the
termStructure_data member inBlackCalibrationHelper. It you're inheriting fromBlackCalibrationHelperand need it, declare it in your derived class. - Deprecated the
createAtParCoupons,createIndexedCouponsandusingAtParCouponsmethods ofIborCoupon, now moved to a newIborCoupon::Settingssingleton (thanks to @pkovacs). - Deprecated the
conversionTypeandbaseCurrencystatic data members ofMoney, now moved to a newMoney::Settingssingleton (thanks to @pkovacs). - Removed features deprecated in version 1.19: the
BMAIndexconstructor taking a calendar, theAmericanConditionandShoutConditionconstructors taking an option type and strike, theCurveDependentStepConditionclass and theStandardCurveDependentStepConditiontypedef, theBlackCalibrationHelperconstructor taking a yield term structure, the various inflation term structure constructors taking a yield term structure, the various yield term constructors taking a vector of jumps but not specifying a reference date.
Thanks go also to @lballabio, @laaouini, @jackgillett101, @bnalgo and @klausspanderen for smaller fixes, enhancements and bug reports.
New Contributors- @laaouini made their first contribution in https://github.com/lballabio/QuantLib/pull/1162
- @anubhav-pandey1 made their first contribution in https://github.com/lballabio/QuantLib/pull/1155
- @pkovacs made their first contribution in https://github.com/lballabio/QuantLib/pull/1183
- @mshojatalab made their first contribution in https://github.com/lballabio/QuantLib/pull/1202
Notes
Files
lballabio/QuantLib-QuantLib-v1.24.zip
Files
(10.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:d263aef55737000b4dab7cd5e6c21d33
|
10.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/lballabio/QuantLib/tree/QuantLib-v1.24 (URL)