You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to price a bermudan callable floating rate bond using quantlib. I'm trying to adapt the approach explained in the "Gaussian1D Model" notebook in the ql examples, that is, modeling "a swaption to enter into a one leg swap with notional reimbursement at maturity". I would like to use HullWhite as the model, and an engine such as Bachelier or TreeSwaption engine.
The problem I'm facing is that it seems to use HullWhite I need to use the Swaption class, which in turn needs an underlying VanillaSwap. But I have not found a way to make a VanillaSwap that includes the nomial cashflow at the end. I have been able to create a NonStandard Swap/Swaption with this feature, but then it seems the only engine I can use is the "Gaussian1dNonstandardSwaptionEngine", which in turn requires me to use GSR as the model.
Is it possible to create a VanillaSwap object that includes the nominal payment at maturity? Then I could use this swap with the regular Swaption class and use HullWhite model with the Bachelier or TreeSwaption engine...?
Alternatively, if this can only be done with a NonStandard swap/swaption, is Gaussian1dNonstandardSwaptionEngine the only engine that will be compatible?
Thanks in advance,
Eduardo
The text was updated successfully, but these errors were encountered:
This issue 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.
This issue 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.
Hi,
I'm looking to price a bermudan callable floating rate bond using quantlib. I'm trying to adapt the approach explained in the "Gaussian1D Model" notebook in the ql examples, that is, modeling "a swaption to enter into a one leg swap with notional reimbursement at maturity". I would like to use HullWhite as the model, and an engine such as Bachelier or TreeSwaption engine.
The problem I'm facing is that it seems to use HullWhite I need to use the Swaption class, which in turn needs an underlying VanillaSwap. But I have not found a way to make a VanillaSwap that includes the nomial cashflow at the end. I have been able to create a NonStandard Swap/Swaption with this feature, but then it seems the only engine I can use is the "Gaussian1dNonstandardSwaptionEngine", which in turn requires me to use GSR as the model.
Is it possible to create a VanillaSwap object that includes the nominal payment at maturity? Then I could use this swap with the regular Swaption class and use HullWhite model with the Bachelier or TreeSwaption engine...?
Alternatively, if this can only be done with a NonStandard swap/swaption, is Gaussian1dNonstandardSwaptionEngine the only engine that will be compatible?
Thanks in advance,
Eduardo
The text was updated successfully, but these errors were encountered: