Swaption Pricing

版本 1.1.0.0 (1.4 KB) 作者: Giulio Francesca
Swaption Pricing with Black Model and Black Normal Model
59.0 次下载
更新时间 2017/5/22

查看许可证

Black an Normal functions allow to compute the premium and the delta of a swaption respectively using the Black Model (log-normal swap rate) and the Black Normal Model (assuming a normally distributed swap rate). The inputs of such functions are the swapRate (that can be computed using the function getSwapRate), the strike rate k, the option expiry, the volatility of the underlying swap rate, the annuty measure an (again, it can be computed by means of the function getSwapRate), the option type, optType, that can assume the values 'Payer' or 'Receiver'.
getSwapRate allows to compute the swap rate and the annuity measure taking as inputs a zero rate curve and a the forwarding curve. Both curves must be load using readtable('.xlsx') where the .xlsx file contains two columns with headers "dt" and "rate".

引用格式

Giulio Francesca (2024). Swaption Pricing (https://www.mathworks.com/matlabcentral/fileexchange/63038-swaption-pricing), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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

Added Figure with Black Normal Model Equations

1.0.0.0