Swaption Pricing

Swaption Pricing with Black Model and Black Normal Model
60 Descargas
Actualizado 22 may 2017

Ver licencia

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".

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Added Figure with Black Normal Model Equations

1.0.0.0