QuantLib icon indicating copy to clipboard operation
QuantLib copied to clipboard

Capfloor enhancement for risk free rate

Open lennieye opened this issue 1 year ago • 4 comments

A straightforward approach for valuing backward-looking cap floors, such as those based on SOFR, SONIA, etc., involves utilizing the accrual period's end date to derive volatility from the volatility surface. This method aligns with the practices of numerous vendors, including ICAP, in the valuation of risk-free cap floors. My proposed solution offers a rapid means to adapt IBOR-type floating coupon mechanisms for pricing products with daily compounding and backward-looking cap floors. While it may not be the ultimate solution, it effectively conforms to industry standards.

lennieye avatar Apr 06 '24 03:04 lennieye

Thanks for opening this pull request! It might take a while before we look at it, so don't worry if there seems to be no feedback. We'll get to it.

boring-cyborg[bot] avatar Apr 06 '24 03:04 boring-cyborg[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 06 '24 03:04 CLAassistant

Thanks! May you also look at the automated CLAassistant comment above?

lballabio avatar Apr 11 '24 15:04 lballabio

Coverage Status

coverage: 72.495% (-0.002%) from 72.497% when pulling a5706f4725131217f2df5c401fb522d5de80cf46 on lennieye:feature/capfloor_enhancement into 7c12452aa18f08f873d926b6a9f9f87eaba1a0b0 on lballabio:master.

coveralls avatar Apr 11 '24 16:04 coveralls

This PR was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.

github-actions[bot] avatar Jun 13 '24 01:06 github-actions[bot]

Hi—apologies for dropping out. What should we do here? I'd remove the backwardLooking bool and default to backwards if the index is an overnight one and forwards otherwise. Would that look ok for you?

lballabio avatar Jun 20 '24 14:06 lballabio

Hi—apologies for dropping out. What should we do here? I'd remove the backwardLooking bool and default to backwards if the index is an overnight one and forwards otherwise. Would that look ok for you?

I apologize for the delayed response. I believe that users can achieve the same purpose by carefully setting the isInArrears attribute in FloatingRateCoupon. There seems to be no need for this PR. Let's go ahead and close it.

lennieye avatar Jun 20 '24 19:06 lennieye

Ok, thanks!

lballabio avatar Jun 21 '24 09:06 lballabio