Releases: lballabio/QuantLib-SWIG
1.37
Downloads:
Main changes for QuantLib-SWIG 1.37
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/30?closed=1.
- Removed the deprecated
SampledCurve
andFixedRateBondForward
classes no longer available in the underlying C++ library; - Removed the deprecated overload for
yoyInflationLeg
; - Exported a number of new engines for basket and spread options; thanks to Klaus Spanderen (@klausspanderen).
- Exported Choi engine for Asian options; thanks to Klaus Spanderen (@klausspanderen).
- Exported new parameters and methods for
SwapRateHelper
andOISRateHelper
; thanks to Eugene Toder (@eltoder) and Sotirios Papathanasopoulos (@sophistis42). - Exported
MultipleResetsCoupon
andMultipleResetsLeg
classes (@lballabio). - Exported new constructors for
FittedBondDiscountCurve
(@lballabio). - Exported additional arguments for
AssetSwap
constructor (@lballabio). - Exported Wellington and Auckland variants for New Zealand calendar (@lballabio).
- Exported new constructors for YoY inflation curves (@lballabio).
- Exported KOFR index (@lballabio).
- Exported range-accrual coupon (@lballabio).
New Contributors
- @sophistis42 made their first contribution in #684
Full Changelog: v1.36...v1.37
1.36
Downloads:
Main changes for QuantLib-SWIG 1.36
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/29?closed=1.
- We're now using modern tooling to build and test Python wheels. Building now requires build besides setuptools, and testing requires pytest and tox. All of them can be installed in a virtual environment.
- Removed the deprecated constructors of the
ForwardRateAgreement
class. - Removed the deprecated constructor of
YoYInflationIndex
taking aratio
parameter. - Removed the deprecated
YYEUHICPr
,YYFRHICPr
,YYUKRPIr
,YYUSCPIr
andYYZACPIr
indexes. - Removed the deprecated constructors of
CPICoupon
taking aspread
parameter and itsspread
method, as well as the deprecatedwithSpreads
method ofCPILeg
. - Breaking: in Python, the multiplication between two
ql.Array
instances would return the dot product. It now returns the element-wise product, like in C++. Also, exposed more operators. Thanks to Eugene Toder (@eltoder). - Exported
SpreadedSwaptionVolatility
class (@lballabio). - Exported
Index::pastFixing
and the constructor ofEquityIndex
taking currency information; thanks to Ralf Konrad Eckel (@ralfkonrad). - Exported specialized Warsaw Stock Exchange (WSE) calendar for Poland; thanks to Marcin Bogusz (@marcinfair).
- Exported missing volatility-type parameter for SABR interpolation (@lballabio). This allows using it for normal volatilities.
- Exported
startOfMonth
andisStartOfMonth
methods for bothDate
andCalendar
(@lballabio). - Exported
CompoundingOvernightIndexedCouponPricer
andArithmeticAveragedOvernightIndexedCouponPricer
, and export corresponding pricer parameter for theOISRateHelper
andDatedOISRateHelper
constructors (@lballabio). - Export additional custom-constraint parameter for non-linear fitting methods (@lballabio).
- Exported
needsForecast
andlastFixingDate
methods for inflation indexes (@lballabio). - Exported new optimizer and end-criteria parameters for the
GlobalBootstrap
constructor (@lballabio). - Exported new interpolation parameter for YoY inflation coupons (@lballabio).
New Contributors
- @marcinfair made their first contribution in #669
Full Changelog: v1.35...v1.36
1.35
Downloads:
Main changes for QuantLib-SWIG 1.35
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/28?closed=1.
- Removed deprecated classes
DividendVanillaOption
andDividendBarrierOption
. - Removed deprecated constructor of
AnalyticDividendEuropeanEngine
taking only a process and no dividends. - Exported missing
CashAnnuityModel
parameter for Black and Bachelier swaption engines (@lballabio). - Exported Ziggurat Gaussian RNG; thanks to Ralf Konrad Eckel (@ralfkonrad).
- Exported a few missing
CashFlows
methods (@lballabio); thanks to GitHub user @heiieh for the heads-up. - Exported new
IborCoupon::hasFixed
method (@lballabio). - Exported new
FittedBondDiscountCurve::resetGuess
method (@lballabio). EuriborSW
renamed toEuribor1W
, old name still available for a while (@lballabio).- Exported lookback days, lockout days and observation shift for overnight-indexed coupons, swaps and helpers (@lballabio).
- Exported
SimpleQuote::reset
method; thanks to Eugene Toder (@eltoder).
Full Changelog: v1.34...v1.35
1.34
Downloads:
Main changes for QuantLib-SWIG 1.34
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/27?closed=1.
- Upgrade to SWIG 4.2.x. This allows to use Python's limited API and thus reduce the number of official wheels to cover the same Python versions.
- Allow swaptions to use OIS as underlying (@lballabio).
- Pass explicit base date to inflation curves instead of observation lag (@lballabio).
- Exported
SavedSettings
as a context manager in Python; thanks to Eugene Toder (@eltoder). - Exported parabolic (Hermite) cubic spline interpolation schemes; thanks to Marcin Rybacki (@marcin-rybacki).
- Exported additional interpolation schemes for
InterpolatedPiecewiseZeroSpreadedTermStructure
; thanks to Marcin Rybacki (@marcin-rybacki). - Exported Tona index; thanks to Jonghee Lee (@nistick21).
- Removed inflation index constructors with
interpolated
parameters as well as theinterpolated
method inInflationIndex
. They're no longer available in C++ (@lballabio). - Export a few new methods for MakeOIS and MakeVanillaSwap; thanks to Eugene Toder (@eltoder).
- Exported
cdsMaturity
function (@lballabio). - Enable different definition of macro
QL_JAVA_INTERFACES
; thanks to Ralf Konrad (@ralfkonrad). - Define a few additional operators in C++ instead of Python; thanks to Eugene Toder (@eltoder).
- Removed uncallable internal
EndCriteria::operator()
method (@lballabio).
Full Changelog: v1.33...v1.34
1.33
Downloads:
Main changes for QuantLib-SWIG 1.33
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/26?closed=1.
- Exported Burley 2020 Sobol generator (@lballabio).
- Allowed different calendars and frequencies for different legs in
OISRateHelper
; thanks to Eugene Toder (@eltoder). - Exported convex-monotone forward-rate curve (@lballabio).
- Exported support for angled contour shift integrals in Heston model; thanks to Klaus Spanderen (@klausspanderen).
- Allowed negative payment lag in swap legs; thanks to Fredrik Gerdin Börjesson (@gbfredrik).
- Exported
reset
method in calendars; thanks to Fredrik Gerdin Börjesson (@gbfredrik). - Added Python tests for
BondFunctions
; thanks to Francois Botha (@igitur).
Full Changelog: v1.32...v1.33
1.32
Downloads:
Main changes for QuantLib-SWIG 1.32
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/25?closed=1.
- Avoid using the deprecated
distutils
module for the Python wrappers;setuptools
is now required for building (@lballabio). - Exported
LastFixingQuote
; thanks to Eugene Toder (@eltoder). - Added
redemptions
andpaymentLag
arguments to amortizing bond constructors; thanks to Gyan Sinha (@gyansinha). - Exported utility function to simplify notification graph (@lballabio).
- Exported a few exotic options (Margrabe, compound, chooser) and related engines (@lballabio).
- Exported new constructor for OIS (@lballabio).
- Exported missing parameters for iterative bootstrap (@lballabio).
- Exported Xoshiro256** RNG (@lballabio).
New Contributors
- @gyansinha made their first contribution in #584
Full Changelog: v1.31.1...v1.32
1.31.1
Downloads:
Changes for QuantLib-SWIG 1.31.1
QuantLib-SWIG 1.31.1 is a bug-fix release for version 1.31.
It includes a change in the underlying C++ library that fixes a regression that could cause a segmentation fault when bootstrapping an interest-rate curve using OIS rates.
Full Changelog: v1.31...v1.31.1
1.31
Downloads:
Main changes for QuantLib-SWIG 1.31
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/24?closed=1.
- Removed deprecated features no longer available in the underlying C++ library:
- The
CPICoupon
constructor taking a number of fixing days and itsadjustedFixing
method. - The
withFixingDays
methods ofCPILeg
. - The
ZeroInflationCashFlow
constructor taking a calendar and business-day convention. - The
LexicographicalView
class.
- The
- Exported new U.S. SOFR calendar (@lballabio).
- Exported new constructors and
indexRatio
method forCPICoupon
(@lballabio). - Exported new constructors and
underlyingIndex
method forYoYInflationIndex
(@lballabio). - Exported new constructors for
ForwardRateAgreement
(@lballabio). - Rework Python tests to follow standard conventions; thanks to Eugene Toder (@eltoder).
- Updated constructor of
DatedOISRateHelper
to take new parameters; thanks to Eugene Toder (@eltoder). - Exported missing currencies and crypto; thanks to Fredrik Gerdin Börjesson (@gbfredrik).
- Exported
LogMixedLinearCubic
interpolator and corresponding discount curves; thanks to Eugene Toder (@eltoder). - Exported
ArithmeticAverageOIS
and the corresponding rate helper; thanks to Eugene Toder (@eltoder). - Exported a few missing inspectors for
Swap
; thanks to Eugene Toder (@eltoder). - Exported CORRA, SWESTR and DESTR indexes; thanks to Fredrik Gerdin Börjesson (@gbfredrik).
- Exported new constructor and Python tests for
JointCalendar
; thanks to Fredrik Gerdin Börjesson (@gbfredrik). - Exported new LazyObject interface (@lballabio).
- Added Python examples for callable bonds and caps; thanks to Nijaz Kovacevic (@NijazK).
- Added convenience methods
of
andtoLocalDate
to Java wrappers that convert QuantLib dates from and tojava.time.LocalDate
; and example is provided. Thanks to Ralf Konrad (@ralfkonrad).
New Contributors
Full Changelog: QuantLib-SWIG-v1.30...v1.31
1.30
Downloads:
Main changes for QuantLib-SWIG 1.30
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/23?closed=1.
- Removed deprecated features no longer available in the underlying C++ library:
- the
WulinYongDoubleBarrierEngine
alias forSuoWangDoubleBarrierEngine
; - the
spotIncome
andspotValue
methods ofForwardRateAgreement
; - constructors for
InterpolatedZeroInflationCurve
andPiecewiseZeroInflationCurve
taking anindexIsInterpolated
parameter; - the
indexIsInterpolated
method ofInflationTermStructure
; - some overloaded constructors of
SofrFutureRateHelper
.
- the
- Renamed
SwaptionVolCube1
toSabrSwaptionVolatilityCube
andSwaptionVolCube2
toInterpolatedSwaptionVolatilityCube
, as in the underlying C++ library; the old names remain available in Python but not in other languages. - Exported new
EquityCashFlow
,EquityIndex
andEquityTotalReturnSwap
classes with a few tests; thanks to Marcin Rybacki (@marcin-rybacki). - Exported constructors for vanilla and barrier pricing engines taking discrete dividends; this makes
DividendVanillaOption
andDividendBarrierOption
obsolete (@lballabio). - Exported new calendars for Austria, Botswana and Romania; thanks to Fredrik Gerdin Börjesson (@gbfredrik).
- Exported new ASX calendar for Australia (@lballabio).
- Exported
FixedLocalVolSurface
andGridModelLocalVolSurface
classes with a test; thanks to Klaus Spanderen (@klausspanderen). - Exported new CPICoupon constructors (@lballabio).
- Exported UKHICP index (@lballabio).
- Exported a few African currencies (@lballabio).
Full Changelog: QuantLib-SWIG-v1.29...QuantLib-SWIG-v1.30
1.29
Downloads:
Main changes for QuantLib-SWIG 1.29
More details on the changes are available in ChangeLog.txt and at https://github.com/lballabio/QuantLib-SWIG/milestone/22?closed=1.
- Enabled autodoc feature in Python; exported methods and classes have now docstrings reporting their interface and the types of the parameters.
- Enabled CI build and tests for the R wrappers; thanks to @AndLLA.
- Removed deprecated features no longer available in the underlying C++ library:
- the constructor of
UnitedStates
missing an explicit market; - the
nominalTermStructure
method ofInflationTermStructure
; - the
CrossCurrencyBasisSwapRateHelper
class.
- the constructor of
- Added
compounding
andcompoundingFrequency
parameters toFixedRateLeg
(@lballabio). - Exported
CashFlows::npvbps
method (@lballabio). - Exported
baseFixing
andindexFixing
methods inIndexedCashFlow
(@lballabio). - Exported new constructors for zero-inflation indexes (@lballabio).
- Exported missing arguments in
CreditDefaultSwap
constructor (@lballabio). - Exported
Nearest
business-day convention (@lballabio). - Exported
AmortizingCmsRateBond
; thanks to @chenyanlann. - Exported
QuantoBarrierOption
andQuantoBarrierEngine
; thanks to @chenyanlann. - Avoided out-of-bound access to
Matrix
elements (@lballabio). - Exported a number of LMM-related classes (@lballabio).
- Exported YoY inflation coupons and related classes (@lballabio).
- Exported the
CPI::laggedFixing
method; thanks to Marcin Rybacki (@marcin-rybacki). - Exported
QdPlusAmericanEngine
,QdFpAmericanEngine
and related classes; thanks to Klaus Spanderen (@klausspanderen). - Added Python test case for Andreasen-Huge local volatility; thanks to Klaus Spanderen (@klausspanderen).
New Contributors
- @AndLLA made their first contribution in #489
- @chenyanlann made their first contribution in #516
Full Changelog: QuantLib-SWIG-v1.28...QuantLib-SWIG-v1.29