4.33333

4.3 | 3 ratings Rate this file 16 Downloads (last 30 days) File Size: 17.96 KB File ID: #10428
image thumbnail

PlotMeTheGreeks

by Yazann Romahi

 

19 Mar 2006 (Updated 23 Mar 2006)

VisualizationTool for Option Greeks in 3 and 4 dimensions.

| Watch this File

File Information
Description

A useful tool built to help the user gain an intuitive feel for option pricing and the greeks.

Allows the user to create a portfolio of options (and thus straddles, strangles, butterflies and anything else you fancy can be easily created using the GUI).

Once this is done, the user can plot the option price, delta, gamma, vega and variance vega in 3D and examine how they vary with time to maturity, volatility, interest rates and carry.

It also allows you to perturb a 4th dimension also allowing you to create an animation.

Type PlotMeTheGreeks() on the matlab command line to start the GUI.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
UIGETDATE

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
21 Mar 2006 Nicholas Handley

Useful piece of code. Helps build intuition for greeks. At the moment, it seems FX options specific. Update should perhaps make it applicable to generic options (just a change in the GUI from Foreign Interest Rate to "Carry" would make it applicable across asset class).

12 Apr 2006 prashant kulkarni

Can't get it to run. Keep getting this error that the variable 'today' is missing. Is this a defined global variable in SP3? I have not updated from R14.

09 Mar 2009 Dmitriy  
Please login to add a comment or rating.
Updates
23 Mar 2006

correction to typos

Tag Activity for this File
Tag Applied By Date/Time
finance Yazann Romahi 22 Oct 2008 08:18:59
modeling Yazann Romahi 22 Oct 2008 08:18:59
analysis Yazann Romahi 22 Oct 2008 08:18:59
financial options Yazann Romahi 22 Oct 2008 08:18:59
derivatives Yazann Romahi 22 Oct 2008 08:18:59
greeks Yazann Romahi 22 Oct 2008 08:18:59
delta Yazann Romahi 22 Oct 2008 08:18:59
vega Yazann Romahi 22 Oct 2008 08:18:59
gamma Yazann Romahi 22 Oct 2008 08:18:59
derivatives Francesco Busato 03 Jul 2011 16:46:24

Contact us at files@mathworks.com