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

Main : C++ : 



Sort by:  Title () Date () Rating () Popularity ()
Files currently sorted by: Date (New Files Listed First)


Category: C++ View Full Details
Download Now!SVM and fast incremental algorithms by sofia
Submitter: joeybrazinski Date: 2010/11/23
Description:
from website:
The suite of fast incremental algorithms for machine learning (sofia-ml) can be used for training models for classification, regression, ranking, or combined regression and ranking. Several different techniques are available. This release is intended to aid researchers and practitioners who require fast methods for classification and ranking on large, sparse data sets.

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 313 times  313  File Size 0 bytes  Supported Platforms C++  Home Page http://code.google.com/p/sofia-ml/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (13)

Category: C++ View Full Details
Download Now!Binomial pricing Tree
Submitter: qundaicai Date: 2010/11/22
Description:
Binomial pricing Tree

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

Category: C++ View Full Details
Download Now!MonteCarlo (Stochastic Volatility) Generic Pricer for Baskets/Worst of Structures
Submitter: animeshsaxena Date: 2010/9/22
Description:
It can be used to price almost any exotic structure.

Complex structures like Worst of Down and In Put (WODIP), and several other combinations.

****Monte Carlo Pricing Framework*******Heston Model*****
Correlation Matrix:
1 0.999999 0.999999
0.999999 1 0.999999
0.999999 0.999999 1

Number of Sims:5000
Barrier: 120Strike: 100

*****Price List*****
*************************
Heston Model Parameters:
Kappa:1
Theta:0.04
V0: 0.04
eps: 0.03
Vol Correlations

*****************************
Price for Call on Basket 9.20366
Price for Put on Basket 5.84145
Price for Worst of Call 5.83126
Price for Worst of Put 11.0355
Price for Best of Call 10.6381
Price for Best of Put 5.95819
Price for WODIC 10.6766
Price for WOUOC 1.62048
Price for WODOC 0
Price for WOUIC 9.34861
Price for BODIC 10.6944
Price for BOUOC 1.64875
Price for BODOC 0
Price for BOUIC 8.87429
Price for WODIP 5.78065
Price for WOUOP 5.6988
Price for WODOP 0
Price for WOUIP 0.152209
Price for BODIP 5.7921
Price for BOUOP 5.65533
Price for BODOP 0
Price for BOUIP 0.155745
Price for:Up Out Call 1.65727
Price for:Down Out Call 9.41743
Price for:Down In Call 0
Price for:Up In Call 10.9601
Price for:Up Out Put 5.68174
Price for:Down Out Put 0.163071
Price for:Down In Put 0
Price for:Up In Put 5.78814

It prices almost all kinds of Barriers, Baskets and Complicated Basket structures.

The design in based on just adding an extra hook for new exotic structure. I have added hooks for pricing structures like Worst of Down and In Put. Simulations are done using Halton numbers and convergence is extremely fast. It takes less than 30 seconds to conduct 30,000 simulations.
Cholesky decomposition is used for generating correlated random numbers.
Volatility process / Stock correlations are also given by the user. They are different for each component of the basket.

I have used Heston Model for pricing. Correlation matrix is input by the user.

For any questions do mail me

animesh.saxena@gmail.com

I had coded this in XCode (Mac development GUI), but it can be compiled on any platform. You just need to assemble the files in a project! Enjoy!
Might be added to QuantLib library later (if developers @ QuantLib agree!), coz QuantLib still lacks a generic pricing framework.

PS: I have left out discounting, coz discounted price for deterministic rate will be genrally e^-rT * Expected value of Payoff
Will add Heath Jarrow Morton model later for adding interest rate calibrations.

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 675 times  675  File Size 0 bytes  Supported Platforms Mac/Windows  Home Page http://quantanalysis.wordpress.com
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (8)

Category: C++ View Full Details
Download Now!Heston calibration using Adaptive simulated annealing
Submitter: vanna Date: 2009/1/27
Description:
ASA technique was developed by Lester Ingber to facilitate calculation of global minima for a nonlinear function. For more detailed information about the algorithm and it's usage, please refer to the author's Author's website

One important application is calibration of heston model, because the parameters are correlated and other numerical optimization methods tend to provide solution which is more sensitive to selection of initial parameter values.
This project implements calibration of Heston models using Adaptive simulated annealing.
To run this project,do the following
1.unzip the attached download file and extract the testheston project folder
2.download project files from file http://downloads.sourceforge.net/asa-caltech/ASA-26.33.zip?modtime=1230643798&big_mirror=0. Place the file asa.h and asa.c in the testheston->testheston folder.
3.Open project
testheston.sln in Visual C++ 2005 express
4.Do a build all.
5.Select run
6.The results of calibration are in file asa_out.

To play around with ASA optimization, make changes to initial parameters and other settings in asa_opt file

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 1033 times  1033  File Size 0 bytes  Supported Platforms C, C++, Visual C++ 2005 express, ASA-CODE  Home Page http://www.quantcode.com/
Rating: 10.00 (1 vote)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (15)

Category: C++ View Full Details
Download Now!Heston call price using analytical formula
Submitter: vanna Date: 2009/1/27
Description:
The function GetHestonCallprice returns result of calculating call price of a plain vanilla option according to heston's analyticla formula using numerical inegration

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 916 times  916  File Size 0 bytes  Supported Platforms C, C++, Visual C++ 2005 express  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (10)
« 1 2 (3) 4 5 6 7 8 9 10 11 »
Similar Links:

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