Matlab Code
Posted by
Date Posted
Equity Options
   
Cox, Ross, Rubinstein binomial tree for European and American options
Dr. Fab
Jan 24, 2009
Lightning-Fast Black-Scholes Using Inline Functions
Dr. Fab
Dec 29, 2010
Black-Scholes Simulation Using Euler and Milstein Discretizations
Dr. Fab
Dec 29, 2010
Black-Scholes Simulation Using Antithetic Variance Reduction
Dr. Fab
Dec 29, 2010
Black-Scholes Call Price Using the Characteristic Function in Lewis and Lipton
Dr. Fab
Aug 1, 2011
Black-Scholes Call Price Using the Characteristic Function Heston-Like Approach
Dr. Fab
Aug 1, 2011
Variance Gamma Model for European options with Madan and Milne Formulation
Dr. Fab
May 10, 2009
Black Scholes with discrete dividend adjustment
Abio
Feb 5, 2010
European Call using Explicit Finite Differences, Clewlow & Strickland Example
Dr. Fab
Dec 28, 2010
Duan (1995) GARCH Option Pricing Model on S&P 100 Index
Dr. Fab
Dec 30, 2010
Derman & Kani Implied Trinomial Tree , Clewlow & Strickland Example
Dr. Fab
Jan 8, 2011
Black-Scholes Using the Fast Fourier Transform (FFT) Blazing Fast
Dr. Fab
June 13, 2011
Black-Scholes Using the Fractional Fast Fourier Transform (FRFT)
Dr. Fab
Aug 5, 2011
     
American Equity Options
   
American Put Using Explicit Finite Differences, Clewlow & Strickland Example
Dr. Fab
Dec 28, 2010
American Put Using Implicit Finite Differences, Clewlow & Strickland Example
Dr. Fab
Dec 28, 2010
American Options Using Implicit Finite Differences, Clewlow & Strickland Explanation
Dr. Fab
Dec 28, 2010
American Put Using Crank-Nicolson, Clewlow & Strickland Example 3.17
Dr. Fab
Dec 28, 2010
American Options using Crank-Nicolson, Clewlow & Strickland Explanation
Dr. Fab
Dec 28, 2010
Barone-Adesi & Whaley Quadratic Approximation for American Options
Dr. Fab
Dec 30, 2010
Ju-Zhong Approximation for American Options
Dr. Fab
Nov 17, 2010
Longstaff-Schwartz LSM Algorithm with Quadratic OLS for American Puts
Dr. Fab
Jan 8, 2011
Binomial Tree for Vanilla calls and puts
Dr. Fab
Apr 15, 2010
Trinomial Tree for Vanilla calls and puts
Dr. Fab
Apr 16, 2010
     
Heston Model Price by Numerical Integration
   
Original Heston formulation, with Prices Exhibiting the Implied Volatility skew
Dr. Fab
June 29, 2010
Heston Price Using the Fundamental Transform of Alan Lewis (2001)
Dr. Fab
Aug 11, 2011
Heston Price of Calls or Puts Using the Carr-Madan form of the Integrand
Dr. Fab
Aug 11, 2011
Heston Price of OTM Calls or Puts Using the Carr-Madan form, OTM options and Figure
Dr. Fab
Sep 3, 1011
Heston Price Using Newton-Coates Formulas
Dr. Fab
May 1, 2011
Heston Price Using 32-Point Gauss-Laguerre Quadrature
Dr. Fab
May 2, 2011
Heston Price Using 32-Point Gauss-Legendre Quadrature
Dr. Fab
May 2, 2011
Heston Price Comparison of Newton-Coates and 32-point GLa and GLe Quadratures
Dr. Fab
July 3, 2011
     
Heston Model Price by Other Methods
   
Heston Price Using Alan Lewis' (2001) Volatility of Volatility Expansion Blazing Fast
Dr. Fab
Aug 31, 2011
Heston Price Using the Fast Fourier Transform (FFT) Blazing Fast
Dr. Fab
June 13, 2011
Heston Price Using the Fractional Fast Fourier Transform (FRFT)
Dr. Fab
Aug 8, 2011
Roger Lee alpha bounds, Lord and Kahl optimal alpha, in Carr Madan formulation
Dr. Fab
Aug 31, 2011
Illustration of Discontinuities in Heston Integrand and Albrecher "Little Trap" Remedy
Dr. Fab
Sep 2, 2011
Heston ATM Implied Volatility and ATM Skew, Figures 3.4 and 3.5 of Gatheral (2001)
Dr. Fab
Oct 16, 2011
     
Heston Model Price by Simulation
   
Heston Price by Simulation, with Kahl-Jackel IJK Implicit Milstein Discretization
Dr. Fab
Sept 24, 2010
Heston Price by Simulation, with Quadratic Exponential (QE) Algorithm of Andersen
Dr. Fab
May 11, 2011
Heston Price by Simulation, with Euler and Milstein Discretization
Dr. Fab
Oct 11, 2010
Matched Moment Method of Andersen and Brotherton-Radcliffe
Dr. Fab
Nov 22, 2010
Pathwise Adapted Linearization Quadratic Discretization Algorithm of Kahl and Jackel
Dr. Fab
May 15, 2011
Longstaff-Schwartz Algorithm of American Heston Puts with IJK Discretization
Dr. Fab
Jan 2, 2011
     
Time Dependent Heston Model
   
Nogel and Mikhailov Piece-Wise Constant Parameters, Example From Their Paper
Dr. Fab
Nov 12, 2011
Nogel and Mikhailov Model, Estimation of Piece-Wise Constant Parameters Using IBM
Dr. Fab
Nov 12, 2011
     
Variance Swap
   
Variance Swap Demeterfi, Derman, Kamal, and Zou (1999) on S&P 500 Index
Dr. Fab
Feb 2, 2009
Variance Swap Demeterfi et al (1999), Comparison with Results from Numerix
Dr. Fab
Dec 2, 2011
     
Estimation of the Risk Neutral Density (RND)
   
RND Using Mixture of Lognormal Densities, BAC options
Dr. Fab
July 14, 2010
RND Using DVF on Implied Volatility, GEV Tails -- Figlewski Method
Dr. Fab
Aug 22, 2010
RND Using DVF or SVI on Implied Volatility with Lognormal (flat) extrapolated tails
Dr. Fab
Jan 12, 2011
RND Using DVF, SVI and SABR on Implied Vol, with DVF, SVI, SABR extrapolated tails
Dr. Fab
Jan 12, 2011
RND Using DVF, SVI, SABR and Interpolation showing poor results with interpolation
Dr. Fab
Jan 12, 2011
RND Estimation from David Shimko's 1993 Paper in RISK
Dr. Fab
May 6, 2010
     
Volatility Models
   
SABR Model, 2 examples from Haug's book
Dr. Fab
Jan 19, 2010
SABR Model, parameter estimation and Figure 33 from Hagan's paper
Dr. Fab
Jan 19, 2010
SABR Model Greeks by Bruce Bartlett
Dr. Fab
Feb 21, 2010
SABR Model, Comparison with Vendor Software
Dr. Fab
Dec 31, 2010
SABR Model, Fine Tuned Version
Dr. Fab
Jan 7, 2011
Local volatility from Implied Volatility, example from Coleman's paper
Dr. Fab
Jan 19, 2010
Local volatility from Implied Volatility, Comparison with Vendor Software
Dr. Fab
Nov 23, 2010
Local volatility from Call Prices, Example from Carol Alexander's book (Volume 3)
Dr. Fab
Dec 22, 2010
Stochastic Volatility Inspired (SVI) and Deterministic Volatility Function (DVF) on IBM
Dr. Fab
Jan 19, 2010
Implied Local Volatility Tree Showing Recovery of Market Call and Put Prices
Dr. Fab
Feb. 14, 2010
Derman-Kani-Chriss Implied Vol Tree Showing Recovery of BAC Calls and Puts
Dr. Fab
Feb. 14, 2010
Derman-Kani-Chriss Implied Vol Tree Showing Recovery, original DKC example
Dr. Fab
Feb. 14, 2010
     
Interest Rates
   
Cap Volatility Stripping Algorithm, Schoenmakers example
Dr. Fab
Jan 19, 2010
Hull White Trinomial Tree, Puts on Discount Bonds, Clewlow & Strickland Fig 9.17
Dr. Fab
Jan 3, 2011
Hull White Trinomial Tree, Described in Clewlow & Strickland Section 9.5
Dr. Fab
Jan 3, 2011
Hull White Calibration to Caplets, Clewlow & Strickland Figure 7.5
Dr. Fab
Jan 5, 2011
Black-Karasinski Trinomial Tree, Clewlow & Strickland Figure 9.12
Dr. Fab
Feb 1, 2011
Black-Derman-Toy Binomial Tree Fitted to Yields, Showing Recovery of ZCB Prices
Dr. Fab
Feb 2, 2011
Black-Derman-Toy Binomial Tree Fitted to Yields, Clewlow & Strickland Figure 8.4
Dr. Fab
Feb 2, 2011
Black-Derman-Toy Bin Tree Fitted to Yields, ZCB options, Clewlow & Strickland, Fig 8.9
Dr. Fab
Feb 3, 2011
Black-Derman-Toy Bin Tree Fitted to Yields and Vols, Clewlow & Strickland Fig 8.6
Dr. Fab
Feb 2, 2011
Black-Derman-Toy Bin Tree Fitted to Yields and Vols, Clewlow & Strickland Fig 8.6
Dr. Fab
Feb 2, 2011
Cox, Ingersoll, Ross Model Parameter Estimation and Yield Curve
Dr. Fab
Jan 3, 2010
     
Exotic Options
   
Quanto Option
Stephano Collina
Mar 25, 2010
Double Binary One Touch, No Touch, Double Knock In / Out (7 files)
Michael Wencis
Jan 29, 2009
European Barrier Options (8 files)
Michael Wencis
Jan 29, 2009
Binomial Tree for European/American Floating Strike Lookback Option
Dr. Fab
Jan 29, 2009
Barriers Using Binomial Tree With Boyle & Lau (1994) Steps and Monitoring
Dr. Fab
Aug 5, 2010
"Up" Single Barrier Options with Derman et al (1995) Interpolation
Dr. Fab
Aug 5, 2010
"Down" Single Barrier Options with Derman et al (1995) Interpolation
Dr. Fab
Aug 7, 2010
American Up & Out Put Local Volatility Implied Tree, Clewlow & Strickland Fig 5.6 & 5.9
Dr. Fab
Oct 4, 2010
European Barrier Options, Reproduction of Table in Espen Haug's Book
Dr. Fab
Oct 29, 2010
European Asian Option via Simulation using Milstein discretization
Dr. Fab
Jan 29, 2011
     
Securitization
   
Collateralized Debt Obligation -- Long Version
Red1
May 22, 2009
Collateralized Debt Obligation -- Efficient Version
Red1 & Dr Fab
May 22, 2009
     
Other
   
Derman et al. Static Hedging of Barrier Options
Dr. Fab
Dec 20, 2010
     
     
© 2009 - 2013 Volopta.com.  The accuracy of the computer code contained on this Web site is not guaranteed.  Investing in derivatives is risky and can lead to large financial losses.  
Volopta.com is not responsible for financial losses incurred from using the code contained on this site.  Always consult with a financial professional before investing in derivatives.
———————————————————————————————————————————————————————————————