| Library: | finance |
| See also: | MertonCall BatesCall BatesPut HestonCall HestonPut BlackScholes |
| Quantlet: | MertonPut | |
| Description: | calculates European put option prices in Merton model using FFT. |
| Usage: | y = MertonPut(S,K,T,r,lambda,sigma,delta,mu) | |
| Input: | ||
| S | scalar or array, asset price | |
| K | scalar or array, exercise price | |
| T | scalar or array, time to maturity | |
| r | scalar or array, interest rate | |
| lambda | scalar or array, expected number of jumps in time unit | |
| sigma | scalar or array, standard deviation of jump | |
| delta | scalar or array, standard deviation of jump | |
| mu | scalar or array, expected value of jump | |
| Output: | ||
| y | scalar or array, put option price | |
library("finance")
S=100
K=50|100|150
T=1
r=0.02
lambda= 12
sigma =0.1
delta = 0.01
mu = 0.1
y=MertonPut(S,K,T,r,lambda,sigma,delta,mu)
K~y
[1,] 50 0.14166 [2,] 100 13.578 [3,] 150 50.906