Non-vanilla Bermudan Swaption
summepau opened this issue · 1 comments
summepau commented
Hi,
How should I build a Bermudan Option on a general swap in the LMM? For example a swap paying CMS v Libor. The BermudanSwaption class assumes a Fixed/Libor swap.
Thanks
Paul
cfries commented
This can be done using the component in net.finmath.montecarlo.interestrate.products.components.Option and build the product from individual components. Easier is to just create your own product starting from BermudanSwaption and using an Index like net.finmath.montecarlo.interestrate.products.indices.ConstantMaturitySwaprate (this would be a minimal change to the BermudanSwaption class). Good suggestion, maybe I will add it.