Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions for Year-on-Year coupons with convexity adjustments #69

Merged

Conversation

sschlenkrich
Copy link
Member

This PR adds methods for simulating YoY coupons with resulting convexity adjustments.

  • log_asset_convexity_adjustment model functions
  • asset_convexity_adjustment path function
  • index_convexity_adjustment path function
  • AssetConvexityAdjustment payoff
  • IndexConvexityAdjustment payoff
  • ForwardIndex, FutureIndex payoff
  • RelativeReturnCoupon cash flow
  • RelativeReturnIndexCoupon cash flow

Primary use case are inflation-linked products. Methodology can also be applied to FX- or equity-linked products.

  - log_asset_convexity_adjustment model functions
  - asset_convexity_adjustment path function
  - index_convexity_adjustment path function
  - AssetConvexityAdjustment payoff
  - IndexConvexityAdjustment payoff
  - ForwardIndex, FutureIndex payoff
  - RelativeReturnCoupon cash flow
  - RelativeReturnIndexCoupon cash flow
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.23%. Comparing base (a9e600e) to head (4f2c691).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   98.19%   98.23%   +0.04%     
==========================================
  Files          66       69       +3     
  Lines        3430     3569     +139     
==========================================
+ Hits         3368     3506     +138     
- Misses         62       63       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschlenkrich sschlenkrich merged commit ae93c34 into frame-consulting:main Mar 4, 2024
4 checks passed
@sschlenkrich sschlenkrich deleted the wip/convexity-adjustment branch March 4, 2024 19:28
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