Release Notes#
The future development of rateslib is open to many avenues. Some possibilities are listed below. The author is very interested in any feedback and this can be given on the public Issues board at the project github repository: Rateslib Project, or by direct email contact, see rateslib.
1.7.0 (No Release Date)#
Feature |
Description |
---|---|
Instruments |
|
Bug |
|
Bug |
|
Refactor |
Minor Breaking Change! |
Refactor |
Minor Breaking Change! |
1.6.0 (30th November 2024)#
Feature |
Description |
---|---|
Instruments |
Add |
Instruments |
Add an additional method |
Instruments |
Add the |
Instruments |
Add a |
Instruments |
Add a |
Legs |
Add method |
Periods |
Minor Breaking Change! The method |
Performance |
Curve caching introduced to |
Performance |
Smile caching introduced to |
Automatic Differentiation |
Add a new object for AD management, a |
Risk Sensitivities |
Add method |
Dependencies |
Python 3.13 (with GIL) is officially supported and tested. (463) |
Bug |
|
Bug |
Adding Dual or Dual2 type |
Bug |
The method |
Bug |
No longer allow the creation of very short Schedules with holiday dates that collapse to empty Periods. (484) |
Developers |
rateslib-rs extension upgrades to using PyO3:0.22, nadarray:0.16, numpy:0.22. (460) |
1.5.0 (25th September 2024)#
Feature |
Description |
---|---|
Instruments |
Added “nzd_irs3”, “nzd_irs6”, “se_gbb” and “uk_gbb” to available |
Instruments |
|
Calendars |
Add a “wlg” calendar for New Zealand IRS. (363) |
Calendars |
|
Serialization |
|
Refactor |
Minor Breaking Change! PPSpline equality is now True if both spline coefficients are unsolved, i.e. None. (374) |
Refactor |
The |
Performance |
Improve the speed of bond |
Bug |
|
Bug |
The |
Bug |
Creating IRS or similar Instruments with a |
Bug |
|
Bug |
Altered the default specs for |
Bug |
The conventions for “SE_GBB” and “SE_GB” amended for T+2 settle instead of T+1, and the calculation for YTM adjusted for simple yield in the last coupon period. (410) |
Bug |
IMM FRAs with an IMM roll date only need to define the IMM |
1.4.0 (28th Aug 2024)#
Feature |
Description |
---|---|
Calendars |
|
Calendars |
Add |
Instruments |
Add a |
Instruments |
Add an internal routine to derive FXOption expiry and delivery according to FX market conventions using the new settlement calendar system introduced in v1.3.0. |
Instruments |
Add |
Instruments |
The default |
Instruments / Legs |
Can now have effective and termination dates which are non-business dates in unmodified schedules. |
Surfaces |
Add |
Bug |
Publicly exposed the |
Bug |
Dual and Dual2 fix support for pickling which allows multithreading across CPU pools. |
Bug |
Expose |
Bug |
Expose |
Bug |
|
Bug |
|
Bug |
|
1.3.0 (9th July 2024)#
Feature |
Description |
---|---|
Instruments |
|
Instruments |
|
Calendars |
The pandas holiday and calendar system has been removed in favour of a rust implementation for
calendar objects: |
Calendars |
Breaking Change! The |
Calendars |
Calendar string parsing has been enhanced to allow associated settlement calendars, and
automatic creation of a |
Calendars |
The Tokyo calendar ‘tyo’ has been added to align with TONA publication. The FED calendar ‘fed’ has also been added. The Sydney calendar “syd” has been added to align with AONIA publication. |
Calendars |
JSON serialisation/deserialisation of |
Calendars |
The new DCF method ‘Bus252’ is added to allow Brazilian type calculations. |
Dual |
JSON serialisation/deserialisation of |
FXRates |
The |
Performance |
Algorithm for |
FX Volatility |
|
Bug |
|
Bug |
|
Bug |
|
Bug |
Setting and resetting some types of values (namely by-reference stored values) of the |
Bug |
Solving acyclic FXForwards systems is now stable for all orderings of currencies, and does not depend
on a well chosen |
Bug |
Converting an fx_array associated with the |
Bug |
Entering the “single_vol” |
Errors |
Improved messages when missing fx objects for pricing |
1.2.2 (31st May 2024)#
This version uses Rust bindings. See getting started for notes about installation changes.
New FX Volatility Products are set to beta status, probably until version 2.0.
Feature |
Description |
---|---|
Performance |
The modules |
Splines |
New methods |
Splines |
Added |
Instruments |
Breaking Changes! Amend |
Instruments |
|
Instruments |
Basic FX Volatility Instruments have been added in beta status, including
|
FX Volatility |
New pricing components |
AD |
Added |
AD |
Added |
Solver |
Added |
Bug |
“ActActICMA” convention now handles |
Bug |
|
Bug |
FXSwap now no longer raises TypeError for dual number type mixing when npv or rate are called after changing the AD order of curves and fx objects. |
1.1.0 (20th Mar 2024)#
Feature |
Description |
---|---|
Automatic Differentiation |
Breaking Change! Dual number gradient method is no longer calculable on the object.
Instead of dual.gradient(vars) use the following call gradient(dual, vars), using the
provided function |
Instruments |
Added argument |
Bug |
|
Bug |
|
Bug |
|
Performance |
Curve iterations in the |
Performance |
|
Performance |
|
1.0.0 (1st Feb 2024)#
Feature |
Description |
---|---|
Bug |
|
Bug |
|
0.7.0 (29th Nov 2023)#
Feature |
Description |
---|---|
Legs |
Refactor how the |
Legs |
Allow |
Instruments |
|
Instruments |
Added |
Instruments |
|
Instruments |
Added |
Solver |
Add an attribute |
Bug |
Update |
Bug |
Add the |
Bug |
|
Bug |
|
0.6.0 (19th Oct 2023)#
Feature |
Description |
---|---|
Instruments |
Add a |
Instruments |
Merge all |
Curves |
Separate |
Curves |
Add the ability to supply curves in a dict for forecasting FloatPeriods to be
able handle interpolated stub periods under an “ibor” |
Solver |
Added the methods |
Bug |
Instrument |
Bug |
The |
Bug |
Now emit a warning if a discount factor or rate is requested on a curve with a spline outside of the rightmost boundary of the spline interval. |
0.5.1 (11 Sep 2023)#
Feature |
Description |
---|---|
Instruments |
Rename |
Instruments |
Add a |
Instruments |
Add |
Periods |
|
Curves |
The |
Schedule |
A |
Defaults |
Change the default |
Bug |
|
Bug |
|
Bug |
|
Bug |
|
0.4.0 (12 Aug 2023)#
Feature |
Description |
---|---|
Instruments |
Added |
Instruments |
Added |
Legs |
Removed all |
Instruments |
The |
Defaults |
Added historic fixing data until end July for ESTR, SOFR, SWESTR, SONIA and NOWA, for testing and validation. |
Instruments |
Collateral tags were added to Curves to permit the new method |
Performance |
Calendars are now cached which improves general performance by about 10%. |
Bug |
When performing operations on CompositeCurves the resultant curve now correctly inherits
the |
Bug |
|
Bug |
NumPy.float128 datatype is not available on Windows and caused loading errors. |
Bug |
The holiday calendars: ‘ldn’, ‘tgt’, ‘nyc’, ‘stk’, ‘osl’, and ‘zur’, have been reviewed and validated historic fixings against the historic fixing data. These are also now fully documented. |
Bug |
CompositeCurve can now be constructed from ProxyCurve and Curve combinations. |
0.3.1 (29 Jul 2023)#
Feature |
Description |
---|---|
Legs |
Added |
Instruments |
Added |
Curves |
Added |
0.2.0 (15 May 2023)#
Feature |
Description |
---|---|
Instruments |
Added |
Curves |
Added |
0.1.0 (24 Apr 2023)#
Feature |
Description |
---|---|
Automatic Differentiation |
A toolset for making risk sensitivity and gradient based calculations. |
Calendars |
A toolset for handling dates and holiday calendars for schedules. |
Schedule |
A toolset for generating financial schedules of financial instruments. |
Splines |
A toolset for allowing spline interpolation. |
Curves |
Initial classes for DF bases and value based interest rate curves. |
Periods |
Initial classes for handling fixed periods, float periods and cashflows. |
Legs |
Initial classes for aggregating periods. |
Instruments |
Adding standard financial instruments such as securities: bonds and bills, and derivatives such as: IRS, SBS, FRA, XCS, FXSwap |
Solver |
A set of algorithms for iteratively determining interest rate curves. |
FX |
Initial classes for handling FX rates an Fx forwards. |