Skip to content

Add NOKNibor index, Actual365NoLeap, LinearThenFlat interpolation, Cubic factory variants, and GenericRateHelpe#11

Merged
RobertoSoft merged 4 commits into
masterfrom
add_changes_in_indexes_instruments_interpolations_termstructures
May 5, 2026
Merged

Add NOKNibor index, Actual365NoLeap, LinearThenFlat interpolation, Cubic factory variants, and GenericRateHelpe#11
RobertoSoft merged 4 commits into
masterfrom
add_changes_in_indexes_instruments_interpolations_termstructures

Conversation

@ArsenP0doba
Copy link
Copy Markdown
Collaborator

Adds five new components. A NOKNibor IBOR index for the Norwegian Krone is introduced alongside a new Actual365NoLeap day counter (Act/365 NL) that excludes leap days. A LinearThenFlat interpolation scheme is added that interpolates linearly between knots then holds flat beyond the last point, along with a set of named Cubic__* factory classes that pre-configure the existing Cubic interpolation with common parameter combinations. A GenericRateHelper is added to ratehelpers to allow bootstrapping a yield curve from a zero rate at an arbitrary settlement/reference date.

@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25365261768

Coverage decreased (-0.01%) to 74.465%

Details

  • Coverage decreased (-0.01%) from the base build.
  • Patch coverage: 10 uncovered changes across 1 file (0 of 10 lines covered, 0.0%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
ql/termstructures/yield/ratehelpers.cpp 10 0 0.0%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 78470
Covered Lines: 58433
Line Coverage: 74.47%
Coverage Strength: 8740502.73 hits per line

💛 - Coveralls

Copy link
Copy Markdown
Owner

@RobertoSoft RobertoSoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a doubt re 365nl (non leap). Maybe removed later on?

@RobertoSoft RobertoSoft merged commit e5ec614 into master May 5, 2026
91 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants