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: Popularity (Least to Most Hits)


Category: Matlab View Full Details
Download Now!Hull White Monte Carlo simulation
Submitter: vanna Date: 2008/5/30
Description:
This code demonstrates simulation of short rate in Hull white model as described in paper Hull White simulation notes by Jeff Greco.

After simulating rt, bond prices calculated by simulation are compared to input term structure

eg., following is output of running this program:
BondPrice_Actual = 0.60653
BondPrice_MC1 = 0.60530
BondPrice_MC2 = 0.60556


where
BondPrice_Actual : value obtained using input term structure
BondPrice_MC1 : bond price by averaging bond prices in each path
BondPrice_MC2 : bond prices are obtained by using short rates , based on formula
E[exp(X)]= exp(E[X] + 0.5*Var[X])




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 4047 times  4047  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!CDO Pricing Using Gaussian Copulas in Matlab
Submitter: vanna Date: 2007/4/26
Description:
Author : Saurav Kasera

CDO Pricing Using Gaussian Copulas in Matlab
Pricing Options(European, American, Bermudan and Barrier) using Partial Differential Equations
Simulation of the Vasicek Model using Excel and VBA





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 4405 times  4405  File Size 0 bytes  Supported Platforms Matlab Excel  Home Page http://cs.nyu.edu/~sk1759/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (8)

Category: Matlab View Full Details
Download Now!LSM Monte Carlo for American Options Pricing
Submitter: vanna Date: 2006/9/2
Description:
This file contains code for getting option price based, based on method as described in paper "" by Logstaff & Schwartz
Valuing American Options by simulation : A Simple Least-Squares Approach


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

Category: Matlab View Full Details
Download Now!Black Scholes Price & Greeks
Submitter: vanna Date: 2006/9/2
Description:
This file contains function BlackScholesPrice, which takes one array of parameter value at a time, while the rest of the parameters are variable values.
eg., to get greeks for price range from S=100 to S=15,use:
S=100:1:105;
CallPutFlag='c'; %call option
X=100; %strike
T=1; %Time duration
r=0.05; %risk free rate
v=0.2; %volatility
[price,delta,gamma,vega,theta]=BlackScholesPrice(CallPutFlag,S,X,T,r,v)

Returned values will be vectors, and easy to use for plots:
eg.,
plot(S,delta);




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 4553 times  4553  File Size 0 bytes  Supported Platforms MATLAB  Home Page http://www.quantcode.com/
Rating: 1.00 (1 vote)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (9)

Category: Matlab View Full Details
Download Now!Black Litterman model in Matlab
Submitter: vanna Date: 2007/3/13
Description:
Calculates weight portfolio using black litterman model as mentioned in Thomas M. Idzorek's paper A STEP-BY-STEP GUIDE TO THE BLACK-LITTERMAN MODEL
Input values are taken from the above paper and results are compared to values mentioned in tables 6,7,8

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 5163 times  5163  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 (16)
« 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.