This code snippet demonstrates calculation of a European swaption price for the following specifications:
Flat forward term structure of 0.05 Swap start date : 1 year Swap end date : 6 year tenor : 0.5 year Hull white parameter for mean reversion(mu) : 0.1 Hull white parameter for mean volatility(sigma) : 0.04 Strike : swap fair rate or ATM Nominal : 1000.00
Got a question or problem with this link? Just enter your message and click on submit. No registration is required.