Description Usage Arguments Details Value
Implementation of Fang and Oosterlee's (2008) Fourier-cosine expansion method of pricing European derivatives.
1 2 3 | cosTransformPricer(strikeMat, mkt, N = 120, intLim,
payCoeffFoo = callCosCoeffs, N.factors = 3, charFun = affineCF,
preCalc = NULL, ...)
|
strikeMat |
array of size |
mkt |
data.frame with |
N |
number of points of integration. |
intLim |
|
payCoeffFoo |
function which accepts arguments |
N.factors |
integer, number of stochastic volatility factors, argument for |
preCalc |
optional, array of size |
... |
arguments to charFun required for pricing (state variables, parameters, etc.) |
The integration method is described in detail in F. Fang and C.W. Oosterlee, “A Novel Pricing Method for European Options Based on Fourier-Cosine Series Expansions”, accessible at http://ta.twi.tudelft.nl/mf/users/oosterle/oosterlee/COS.pdf.
list of arrays of size T x K x S
with relative prices of call options, put options, out of the money options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.