Giter Site home page Giter Site logo

jkirkby3 / proj_option_pricing_matlab Goto Github PK

View Code? Open in Web Editor NEW
156.0 5.0 60.0 364 KB

Quant Option Pricing - Exotic/Vanilla: Barrier, Asian, European, American, Parisian, Lookback, Cliquet, Variance Swap, Swing, Forward Starting, Step, Fader

License: MIT License

MATLAB 100.00%
quantitative-finance levy-processes black-scholes american-options bermudan-option asian-option european-options lookback-option variance-swap barrier-option

proj_option_pricing_matlab's Introduction

Option Pricing PROJ Method (Exotic/Vanilla Options)

Option pricing (exotic/vanilla derivatives) based on an efficient and general Fourier transform pricing framework - the PROJ method (short for Frame Projection). The modules are organized by Pricing Method, then by Model, and then by Contract Type. Each contract has a run script, which starts with "Script_", e.g. "Script_BarrierOptions.m". Monte Carlo and other pricing libraries are also provided to support R&D.

Pricing methods supported:

  • PROJ (General Purpose Fourier Method)
  • CTMC Approximation
  • Monte Carlo
  • Analytical
  • Fourier (PROJ, Carr-Madan, CONV, Lewis, COS, Mellin Transform, Hilbert Transform)
  • PDE/Finite Difference
  • Lattice/Tree

Models supported:

  • Diffusions (Black-Scholes-Merton)
  • Multi-Dimensional Diffusions (Black-Scholes Multi-Asset)
  • Jump Diffusions (Merton Jump, Kou double exponential, Mixed-Normal)
  • General Levy processes (CGMY/KoBoL, Normal-Inverse-Gaussian (NIG), Variance Gamma, Meixner, FMLS, TS, Bilateral Gamma)
  • SABR
  • Stochastic Local Volatility (SLV)
  • Regime switching jump diffusions
  • Time-changed processes
  • Stochastic Volatility (Heston/Bates, Hull-White, 4/2, 3/2, alpha-hypergeometric, Jacobi, Schobel-Zhu, Stein-Stein, Scott, tau/2)

Contract types supported (single underlying):

  • European Options
  • Barrier Options (Single/Double barrier, and rebates)
  • Asian Options (Discrete/Continuous)
  • Discrete Variance Swaps, Variance/Volatility Options
  • Bermudan/American early-exercise Options
  • Parisian Options (Cumulative and resetting Parisian barrier options)
  • Cliquets/Equity Indexed Annuities (Additive/Multiplicative)
  • Equity Linked Death Benefits / Guaranteed Minimum Death Benefits (GMDB)
  • Forward Starting Options
  • Step (Soft Barrier) Options
  • Lookback/Hindsight Options
  • Credit default swaps / default probabilities
  • Swing Options (Fixed Rights, Linear Recovery & Constant Recovery)
  • Fader/Range-Accrual Options
  • Multi-Dimensional Payoffs, European/Bermudan/Barrier (Spread, Exchange, Best/Worst-of, Basket)
  • Risk Measures suchs as Expected Shortfall and VaR computations

Contract types supported (multi underlying):

  • European / Barrier / Bermudan Options
  • Spread, Exchange, Best-of, Worst-of, Basket (Geometric/Arthmetic)

Acknowledgement: These pricing libraries have been built in collaboration with:

Supporting Research Articles:

I) Levy Models, Jump Diffusions, Black Scholes

II) Stochastic Volatility, Markov Chains, and Regime Switching

III) Stochastic Local Volatility (SABR, Quadratic SLV, etc)

IV) Time-Changed Processes

V) Multi-Dimensional Diffusions

proj_option_pricing_matlab's People

Contributors

jkirkby3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

proj_option_pricing_matlab's Issues

how to download option data chain from yahoo finance

Hi, can anyone tell me how to download option chain from yahoo finance using Matlab? I used the GetYahooOptionChain.m function I found from Mathworks. But it didn't work and always show error like below:

Errors:
Undefined function or variable "yyyymmdd".

Error in GetYahooOptionChain (line 99)
if ~isempty(find(strcmp(yyyymmdd,ExpDate)))

Can anybody tell me how to deal with this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.