Visualize payoffs of an option strategy

(via an interactive GUI)
3,8K descargas
Actualizado 4 abr 2016

Ver licencia

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.

Citar como

Dimitri Shvorob (2024). Visualize payoffs of an option strategy (https://www.mathworks.com/matlabcentral/fileexchange/17411-visualize-payoffs-of-an-option-strategy), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Financial Data Analytics en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: Devise a bond maturity strategy

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

BSD