Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

Main : Excel : 


Category: Excel View Full Details
Download Now!Swaption Pricing in Vasicek Model using Simulation
Submitter: vanna Date: 2007/12/21
Description:
Calculates swaption price in Vasicek Model using Joint simulation of (int_0_T(r(t)),r(T))
where
T : Option Maturity
r(t) : sport rate at time t in risk neutral measure
int_0_T(r(t)) : integral of r(t) taken from time 0 to option maturity

Algorithm:
1.Calculate expected values of r(T) and integral_r(T)
2.Calculate correlation of r(t) and integral_of_r(t) using formulas for variances and covariance
3.Calculate fair rate for forward rate swap
4.Set swaptionstrike=fair rate (assume ATM swaption)
5.Calculate fixed leg payments vector using swaptionstrike
6.Start simulations
For each simulation:
6a. Draw 2 random no. variables
6b. Transform the variables to make them correlated
6c. Simulate r(T) and integral_of_r(T)
6d. Calculate discount bond prices using simulated r(T)
6e. Calculate present value of fixed leg payments using discount factors in 6d
6e. Calculate swaption payoff using sum of fixed leg payments
6f.Discount option payoff using simulated integral_of_r(T)
Repeat 6a.

Average PVs to get swpation price


Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 1902 times  1902  File Size 1 bytes  Supported Platforms EXCEL VBA MONTE CARLO  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (42)

Discuss this file. Just enter your message and click on submit. No registration is required.
Similar Links:
Bond Option Pricing in Vasicek Model (Software)
Swaplet pricing in LMM using MC simulation (Software)
Bond pricing in CIR and Vasicek models using Riccati solution (Software)
Swaption pricing in Hull White using Swap Rate in MC simulation (Software)
Asian Option price using Monte carlo simulation (Software)

Subscribe to RSS or daily email updates of latest quantitative finance code listings
Email address :
Copyright © 2011 QuantCode Inc. All rights reserved.