Volatility Surface
版本 1.1.0.0 (178.5 KB) 作者:
Rodolphe Sitter
Compute and Plot Volatility Surfaces from Market Prices
The user inputs:
2 scalars:
- an annualized risk-free rate
- the current price of an underlying asset
3 vectors:
- a vector of time to maturity
- a vector of strike prices
- a vector European call prices gotten from the market for the same underlying asset.
The function VolSurface.m will then:
- compute and output the Black-Scholes implied volatility (this will be a matrix).
- get and plot the corresponding volatility surface using a kernel (Gaussian) density estimation.
引用格式
Rodolphe Sitter (2024). Volatility Surface (https://www.mathworks.com/matlabcentral/fileexchange/23316-volatility-surface), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Surface and Mesh Plots 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!