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 Caplet and Floorlet pricing #41

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

sschlenkrich
Copy link
Member

This PR adds methods for Caplet and Floorlet pricing

  • support forward-loking and backward-looking rates
  • add forward_rate_variance model and path methods
  • add Black and Bachelier option formulas
  • add OptionLet payoff
  • add OptionletCoupon coupon

  - support forward-loking and backward-looking rates
  - add forward_rate_variance model and path methods
  - add Black and Bachelier option formulas
  - add OptionLet payoff
  - add OptionletCoupon coupon
@codecov-commenter
Copy link

Codecov Report

Merging #41 (6b06f89) into main (864e2f3) will decrease coverage by 0.02%.
The diff coverage is 98.56%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   98.79%   98.78%   -0.02%     
==========================================
  Files          51       55       +4     
  Lines        2412     2551     +139     
==========================================
+ Hits         2383     2520     +137     
- Misses         29       31       +2     
Files Coverage Δ
src/DiffFusion.jl 100.00% <ø> (ø)
src/models/Model.jl 100.00% <ø> (ø)
src/models/hybrid/CompositeModel.jl 100.00% <100.00%> (ø)
src/models/rates/ForwardRateVolatility.jl 100.00% <100.00%> (ø)
src/paths/AbstractPath.jl 100.00% <ø> (ø)
src/paths/PathMethods.jl 100.00% <100.00%> (ø)
src/payoffs/RatesOptions.jl 100.00% <100.00%> (ø)
src/utils/Bachelier.jl 100.00% <100.00%> (ø)
src/utils/Black.jl 100.00% <100.00%> (ø)
src/products/RatesCoupons.jl 95.95% <92.85%> (-1.23%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sschlenkrich sschlenkrich merged commit ab45f7a into frame-consulting:main Oct 21, 2023
@sschlenkrich sschlenkrich deleted the wip/optionlets branch October 21, 2023 12:21
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