Update putEpps.R
This commit is contained in:
parent
72d149832c
commit
61bf3d4ba6
1 changed files with 2 additions and 2 deletions
|
@ -34,5 +34,5 @@ putEpps <- function(char.fn,strikeprice,eval.time,expiry.time,rate,...,int.bound
|
|||
strikeprice *
|
||||
(.5 - integrate(zhi,int.bounds[1],int.bounds[2],strikeprice,eval.time,expiry.time,rate,...)$value / (2*pi))
|
||||
}
|
||||
mclapply(as.vector(strikeprice),integrate.K,zhi,int.bounds,eval.time,expiry.time,rate,...)
|
||||
}
|
||||
mclapply(as.list(strikeprice),integrate.K,zhi,int.bounds,eval.time,expiry.time,rate,...)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue