Visualize dynamic hedging

(via an interactive GUI)
4.1K Downloads
Updated 4 Apr 2016

View License

Function HEDGEDEMO aims to help students and instructors of finance visualize trading demands of simple static or dynamic value-hedging strategies. In a single-factor setting, 2-asset hedge portfolios are constructed to match, at a point in time, value and delta of the hedged portfolio, consisting of 1-2 assets, one unit of each. (Delta is estimated by shifting the factor path by +/- 0.01). Factor dynamics are described by a Matlab expression or function that defines vector 'X' in terms of vector 'T', where T = StartDate:EndDate. With 'X' defined and evaluated, paths of asset prices are similarly given by Matlab expressions or functions inputting 'X' and 'T'.

Cite As

Dimitri Shvorob (2024). Visualize dynamic hedging (https://www.mathworks.com/matlabcentral/fileexchange/18498-visualize-dynamic-hedging), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
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!
Version Published Release Notes
1.0.0.0

BSD