QuantLib icon indicating copy to clipboard operation
QuantLib copied to clipboard

backward start swap helper needed

Open lennieye opened this issue 1 year ago • 4 comments

In the inflation market, traders often use a so-called backward start inflation swap to build the front-end curve. For instance, BBG ticker BPSWIH8, covers an inflation index fixing period from August 2023 to August 2025. The mechanics of this structure are relatively straightforward: we know the fixing of Aug 2023, and the market is trading on Aug 2025. Currently, it appears that there is no dedicated swap helper class capable of incorporating a historical start date directly into the process of curve fitting. In the context of building an inflation curve, I manually derive a zero-coupon inflation rate and employ the ZeroCouponInflationSwapHelper. I am wondering if we need to have a separate class to achieve this purpose.

lennieye avatar Apr 06 '24 12:04 lennieye

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

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

Hi—yes, it would be nice to have if that's what people need to use.

lballabio avatar Apr 11 '24 15:04 lballabio

@lennieye do you mean something like a DatedSwapRateHelper (#1912) but for inflation swaps?

eltoder avatar Jul 16 '24 03:07 eltoder

Yes exactly. I managed to use python script and created synthetic zero couple inflation swap rate to feed into curve builder.

lennieye avatar Jul 18 '24 02:07 lennieye