correction argument

This commit is contained in:
François Pelletier 2014-03-05 22:09:40 -05:00
parent 0d539a0a03
commit f4bc938145
2 changed files with 6 additions and 1 deletions

View file

@ -1,2 +1,7 @@
export(EppsPulley.test)
export(callCarrMadan)
export(dampedcfcallCarrMadan)
export(putEpps)
export(putHeston)
export(putcallparity)
export(zerobond)

View file

@ -32,7 +32,7 @@ callCarrMadan <- function(strikeprice,char.fn,eval.time,expiry.time,rate,alpha,
# Vector of indices
jvec <- 1:fft.control$N
# Simpson's hypothesis
simpsonh <- ((dampedcfcallCarrMadan(u,char.fn,eval.time,expiry.time,rate,alpha,moneyness,param)*
simpsonh <- ((dampedcfcallCarrMadan(u,char.fn,eval.time,expiry.time,rate,alpha,...,moneyness)*
exp(1i*u*b)*fft.control$eta)/3)*
(3+(-1)^jvec+((jvec-1)==0))
# Log-price vector