Vanilla Option - Price - Black Scholes - Close Form

版本 1.0.0.0 (1.3 KB) 作者: Wei Zhang
To calculate vanilla option price by B/S
215.0 次下载
更新时间 2013/11/11

查看许可证

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
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0