Skip to content

Conversation

@samichaignonmejai
Copy link

Hi Dominic,

While working on the Advanced Derivatives coursework with M. Kerkhof, I noticed that the .bump method in discount_curve.py was not behaving as expected.

This PR proposes a fix to ensure that the method correctly bumps the curve values, allowing users to adjust the curve reliably.

Changes made:

  • Corrected the calculation logic in .bump
  • Updated helper functions as needed for consistency

Example usage after fix can be found in the FINDISCOUNTCURVE_Introduction.ipynb notebook.
I would be happy to receive feedback or suggestions on this implementation.

Thank you,
Sami

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.

1 participant