Black-Scholes values of options.
• Calculates the values of options and d’s for every day or time by using Black-Scholes.
• Dependent on BSMfaiq.m function and .txt file.
• Syntax:
[opttab,dtab]=BSMmultifaiq(txtfilename)
• The .txt file contains n-by-6 matrix table where n is total number of day or time and values of 6-columns sorted in sequence of:
- Number, date or time
- Underlying asset price
- Exercise price of options
- Riskless rate of return
- Time to maturity in years
- Volatility of underlying asset
• Output variables:
opttab - table of call and put option prices on each day
dtab - table of d1 and d2 values on each day.
Cite As
Faiq Izzuddin Kamarudin (2024). Black-Scholes values of options. (https://www.mathworks.com/matlabcentral/fileexchange/54727-black-scholes-values-of-options), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | - |