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!Integral of a function in Excel
Submitter: puma Date: 2008/10/18
Description:
This class calculates integral of a 1D function which takes a single value and returns result. Signature is similar to quad fucntion of Matlab

To use this function, follow these steps:
Step 1: Declare integrand function 
Public Function TmpIntegrand(t As Double) As Double
  TmpIntegrand = t ^ 2 + 2 * t - 1
End Function

Step 2: create object of Integral class and cell GetResult method
Dim obj As New Integral
a=0 'lower limit
b=10' upper limit
tol = 0.0001 'tolerance
res = obj.GetResult("TmpIntegrand", a,b,tol)


Note : It is not necessary to keep the integrand function name 'TmpIntegrand'. You can use any existing function which takes a double and returns a double.
An example usage file can be found in :
http://www.quantcode.com/modules/docmanager/view_file.php?curent_file=170&curent_dir=1

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 953 times  953  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 (186)

Category: Excel View Full Details
Download Now!Implied Volatility Surface
Submitter: vanna Date: 2007/2/27
Description:
Generates an implied volatity surface using Online query to Yahoo Finance or QuotesData.dat file downloaded from CBOE.com

Enter a stock symbol in the Main Menu Page if an online connection is available. For an offline work, leave the symbol blank and place Quotedata.dat downloaded from CBOE

It has been tested on F quote available here
Implied volatility surface is processed using the following steps:
1. Form quotes summary information of call and put price bid and ask in "AvgSummary" worksheet
2. Implied vol bid ask limits are placed in ImpliedVols sheet
3. Implied vols are filtered using objective function of minimizing the vol gradients on the strike/maturity axes. Constraint is the bid-ask limits
4. Implied vols are then extrapolated on the non-quoted coordinates, using objective of minimizing gradient and vol > 0 for constraint
5. A Bicubic spline is used to smoothen the surface


Note :
1.Yahoo finance does not display quotes in the night after 12 and online function will not work during the time.
2.Excel file will not work properly if launched from browser. It has to be saved to hard disk before running

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

Category: Excel View Full Details
Download Now!Implied Binomial Trees in Excel without VBA
Submitter: vanna Date: 2007/11/23
Description:
Implied Binomial Trees in Excel without VBA

TOM ARNOLD
University of Richmond - E. Claiborne Robins School of Business
TIMOTHY FALCON CRACK
University of Otago - Department of Finance and Quantitative Analysis
ADAM SCHWARTZ
Washington and Lee University - Department of Business Administration
--------------------------------------------------------------------------------
May 14, 2004



Abstract:
We show how to implement a Rubinstein (1994) implied binomial tree using an Excel spreadsheet, but without having to use visual basic in Excel (VBA). We demonstrate both the optimization needed to generate implied ending risk-neutral probabilities from a set of actual option prices and the backwards recursion needed to solve for the entire implied tree. By using only standard Excel functions, and not resorting to VBA, we make this option pricing technique immediately accessible to both practitioners and academics. With minimal preparation, this technique can also be introduced to the undergraduate classroom.


Keywords: Option Pricing, Implied Binomial Tree, Excel

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 2402 times  2402  File Size 168.95 KB  Supported Platforms Excel  Home Page http://papers.ssrn.com
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (175)

Category: Excel View Full Details
Download Now!Implicit finite difference method
Submitter: vanna Date: 2007/8/5
Description:
The spreadhseet calculates price for European/ American Put Options using implicit finite difference method as described in Hull's book "Options, Futures and other Derivatives" in section 18.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 2620 times  2620  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 (176)

Category: Excel View Full Details
Download Now!Implementation of Hull-White's No-Arbitrage Term Structure Model
Submitter: vanna Date: 2006/12/1
Description:
Accompained code for paper Implementation of Hull-White's No-Arbitrage Term Structure Model

Search for "accompaning Excel sheet .zip 1.1M"

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 3242 times  3242  File Size 0 bytes  Supported Platforms Excel  Home Page http://www.angelfire.com/ny/financeinfo/research.html
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (172)
« 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.