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

Main : Excel : 



Sort by:  Title () Date () Rating () Popularity ()
Files currently sorted by: Title (Z to A)


Category: Excel View Full Details
Download Now!Math VBA code at vbnumericalmethods
Submitter: vanna Date: 2006/11/14
Description:
Cholesky
NIG process simulation
Complex numbers
Spline interpolation
CIR process
VVG process
Levy Process

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

Category: Excel View Full Details
Download Now!MACD - Spreadsheet to calculate profit from trading startegy using MACD
Submitter: todd612 Date: 2010/11/10
Description:
This spreadsheet implements a trading strategy using MACD indicator, and calculates gross profit.
Strategy taken is to go either long or short depending on the sign of MACD histogram. When the sign changes, position is reversed

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

Category: Excel View Full Details
Download Now!Local volatility tree
Submitter: vanna Date: 2008/11/7
Description:
This file creates and plots a local volatility tree. Based on paper The Volatility Smile and Its Implied Tree by Emanuel Derman, Iraj Kani


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

Category: Excel View Full Details
Download Now!Linear Interpolation
Submitter: vanna Date: 2007/8/5
Description:
A simple function to do linear interpolation.
Returns interpolated value for function y=f(x) at the point xi.

eg. usage of this function:
xArr - vector of independent variables
yArr - dependent variables vector
xi - point of evaluation

result=Interp1(xArr,yArr,xi)

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

Category: Excel View Full Details
Download Now!Levenberg Marquardt in Excel
Submitter: vanna Date: 2009/4/4
Description:
This class contains code to perform fitting of function parameters using inputs of dependent and observed variables. It is translated from Fortran version of MINPACK.


Following is example usage of this class:
Dim levObj As New Levenberg
res = levObj.CalibrateParameters("MyFunction", x, y, p)


where
x : a vector of independent variables
y : observed values
p: vector of initial guess values for parameters
MyFunction : name of VBA function which implements the fucntion f(x,p)
res : output vector of calibrated parameter values

eg., for a function f(x)=ax^2+bx+c:
Public Function MyFunction(params As Variant, x As Variant) As Variant
  a = params(1)
  b = params(2)
  c = params(3)
  m = UBound(x)
  ReDim function_values(1 To m)
  For i = 1 To m
    xi = x(i)
    function_values(i) = a * xi * xi + b * xi + c
  Next i
  MyFunction = function_values
End Function


To check out an actual demo for usage, refer to Parameters calibration demo for Levenberg Marquardt algorithm

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 3543 times  3543  File Size 0 bytes  Supported Platforms Excel VBA  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (55)
« 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 »
Similar Links:

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