No BSD License  

Highlights from
Visualize payoffs of an option strategy

5.0

5.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 5.32 KB File ID: #17411
image thumbnail

Visualize payoffs of an option strategy

by Dimitri Shvorob

 

05 Nov 2007 (Updated 05 Nov 2007)

(via an interactive GUI)

| Watch this File

File Information
Description

Function BUTTERFLY (named after the strategy shown on the screenshot) aims to help students and instructors of finance visualize payoffs of simple option strategies. The function allows constructing a portfolio of n < 9 securities, including a (zero-dividend) stock, a (zero-coupon) bond, a forward contract, and a European call or put stock option, and plots portfolio's terminal payoff, as well as time-T value of cash flows at t = 0,T , i.e. terminal payoff adjusted for (accrued) initial cash flow. Discounting and valuation occur as if in a Black-Scholes world.

Acknowledgements
This submission has inspired the following:
Devise a bond maturity strategy
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
28 Apr 2010 Robert Barrie

I meant to give this 5 - it is small but wonderfully neat and elegant... wonderful! Thanks (for all of your submissions)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
finance Dimitri Shvorob 22 Oct 2008 09:33:47
modeling Dimitri Shvorob 22 Oct 2008 09:33:47
analysis Dimitri Shvorob 22 Oct 2008 09:33:47
option forward spread straddle butterfly Dimitri Shvorob 22 Oct 2008 09:33:47

Contact us at files@mathworks.com