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

Main : Matlab : 



Sort by:  Title () Date () Rating () Popularity ()
Files currently sorted by: Rating (Lowest Score to Highest Score)


Category: Matlab View Full Details
Download Now!Bond Option Price in Hull White Model
Submitter: vanna Date: 2007/3/27
Description:
Calculates Bond Option price in Hull white (HW) model using Black analytical formula

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 1527 times  1527  File Size 0 bytes  Supported Platforms Matlab Octave  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (12)

Category: Matlab View Full Details
Download Now!Plot Forward Rate Dynamics Hull White Model
Submitter: vanna Date: 2007/3/28
Description:
Plots forward forward rate curves for input parameters:

1.Hull white model parameters a,sigma for
% dr(t)=[nu(t) -a*r(t)]*dt + sigma*dW(t)

2.Forward rate term structure assuming continuos compounding


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 1012 times  1012  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (12)

Category: Matlab View Full Details
Download Now!Jamshidian Decompostion for Swaptions
Submitter: vanna Date: 2007/4/3
Description:
Calculates price of European swaption in Hull White model using Jamshidian trick of decomposing option on a coupon bearing bond into a portfolio of put options on bond options which are based on a spot rate r* which satisfies the equation as described in the paper
HW_SWAPTION_FORMULA.pdf

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 1238 times  1238  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (11)

Category: Matlab View Full Details
Download Now!Bond Option price for two-factor Vasicek (G2++) modell
Submitter: vanna Date: 2007/4/5
Description:
Calculates bond option price for two-factor vasicek model (G2++) based on analytical formula

For the G2++ model, the interest rate rt is given by
rt = x1,t +x2,t +b(t)
where the dynamics of the risk factors are governed by
dx1 = −κ1*x1*dt +σ1 *dZ1
dx2 = −κ2*x2*dt +σ2*(ρ*dZ1 + sqrt(1 − ρ^2)* dZ2)
Here, b(t) is a function which is determined by fitting the current interest rate term structure and ρ is the correlation coefficient between the 2 factors.

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 1995 times  1995  File Size 0 bytes  Supported Platforms Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (6)

Category: Matlab View Full Details
Download Now!Classical Pairs Trading
Submitter: vanna Date: 2007/4/13
Description:
Author : Marcelo Scherer Perlin
Quotes:
This function performs the classical pairs trading framework over a matrix of prices using MatLab. The basic idea of pairs trading is to take advantage of market mean reversion behavior in order to make profit out of short and long positions. More details about this type of quantitative trading strategy can be found at the word document in the zip file. This function will calculate the total raw and excessive return for each type of trade and also the total with input parameters d,window,t and ut.

This function was used for the paper found at:

http://ssrn.com/abstract=952242

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 1804 times  1804  File Size 0 bytes  Supported Platforms Matlab  Home Page http://www.mathworks.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (7)
« 1 2 3 4 5 6 7 8 9 10 11 12 13 (14) 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
Similar Links:

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