You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New methods tomonths and todays for Term conversion in different units.
SpotRate
SpotRate Compare method split into spectific methods: ==, !=, >, <, >=, <=. The methods >, <, >=, <= raise error for objects with different slots: compounding, daycount, calendar.
SpotRate Arith methods raise error for objects with different slots: compounding, daycount, calendar.
SpotRateCurve
The curve methods [ and [[ don't propagate interpolation. The returned curves don't have interpolation. This avoids recurrent prepare_interpolation calls.
New SpotRateCurve method [[ for missing returns interpolated curve in curve's terms.
SpotRateCurve converts terms to days units, so days units becomes the default units to SpotRateCurve.
Interpolation
Added progagate slot to Interpolation class. It defines if the interpolation method is propagated to interpolated curves.
The interpolate function, for NelsonSiegel and NelsonSiegelSvensson models, converts term argument to years with toyears.
Organized nelsonsiegel and nelsonsiegelsvensson code.
New objective functions (and their gradients) have been created to improve the optimization.