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'.
Citation pour cette source
Dimitri Shvorob (2024). Visualize dynamic hedging (https://www.mathworks.com/matlabcentral/fileexchange/18498-visualize-dynamic-hedging), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Computational Finance > Financial Toolbox >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Equity Derivatives >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
hedgedemo/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | BSD |