Log-Normal Stochastic Volatility Model: Moment Generating Function and Pricing of Vanilla Options

version 2.5.0.0 (32.3 KB) by Artur Sepp
Compute option prices under log-normal stochastic volatility model and calibrate model parameters

612 Downloads

Updated Mon, 23 May 2016 04:50:00 +0000

View License

% Implementation of the analytical approach for valuation of vanilla options under the log-normal stochastic volatility model
%
%Key functionality:
%
% 1) LogNormalBetaSVPricingMain for computing option prices and comparision to MC simulations
%
% 2) LogNormalBetaSVCalibrationMain for model calibration to market implied volatilities
%
% Implemented functionality in this file LogNormalBetaSVPricingMain:
%
% [1] Compute option prices in the lognormal beta SV model
% using Fourier inversion formulas with the moment generating function (MGF)
% computed by solving the system of ODE-s using:
% 1 - 4th order Runge-Kutta method (see the paper for analytical details) - preferable default method
% 2 - Rosenbrock stiff method
% 3 - Using Matlab ODE solver - slow and innacurate
% [2] Compute options prices by Monte-Carlo simulation of the log-normal SV model
% [3] Compare option prices between the analytic approach and MC simulation, and also implied volatilities from this prices
% [4] Supported are options on the equity and quadratic variance (QV)
% [5] Implemented jump size distributions: deterministic jumps in log-return and volatility
%
%
% Based on the paper:
% Sepp, A. (2016), Log-Normal Stochastic Volatility Model: Affine Decomposition of Moment Generating Function and Pricing of Vanilla Options
% Working paper available at SSRN: http://ssrn.com/abstract=2522425
%
% by Artur Sepp
% artursepp@gmail.com
% http://kodu.ut.ee/~spartak/
%
% Last Update: March 7, 2016
%
%
%
% This code is distributed via the mathworks file-exchange and it is covered by the BSD license
% This code is being provided solely for information and general illustrative purposes.
% The author will not be responsible for numbers produced from using the code.

Cite As

Artur Sepp (2022). Log-Normal Stochastic Volatility Model: Moment Generating Function and Pricing of Vanilla Options (https://www.mathworks.com/matlabcentral/fileexchange/48408-log-normal-stochastic-volatility-model-moment-generating-function-and-pricing-of-vanilla-options), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!