The Black-Scholes formulas for the prices of European call and put options are:
c=S_0 e^(-r_f T) N(d_1 )- Ke^(-r_d T) N(d_2)
and
p=Ke^(-r_d T) N(-d_2 )- S_0 e^(-r_f T) N(-d_1)
where
d_1=(ln(S_0/K)+(r_d-r_f+σ^2/2)T)/(σ√T)
d_2=(ln(S_0/K)+(r_d-r_f-σ^2/2)T)/(σ√T)=d_1-σ√T
引用格式
Wei Zhang (2024). Vanilla Option - Price - Black Scholes - Close Form (https://www.mathworks.com/matlabcentral/fileexchange/44258-vanilla-option-price-black-scholes-close-form), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Computational Finance > Financial Toolbox >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Equity Derivatives >
在 Help Center 和 MATLAB Answers 中查找有关 Financial Toolbox 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |