pide_kou: Solve a PIDE/variational inequality under Kou's...

Description Usage Arguments Details

View source: R/pide_kou.R

Description

Solve a PIDE/variational equality under Kou's jump-diffusion dynamics using an implicit-explicit finite difference scheme. A composite trapezoid rule is used to approximate the jump-integral term.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pide_kou(
  spot,
  strike,
  maturity,
  parameters,
  what = "call",
  style = "american",
  output = "greeks",
  N = 200,
  M = 200,
  L = 101
)

Arguments

spot

the spot price

strike

the strike sprice

maturity

the maturity of the option contract

parameters

the vector of parameters, see details.

what

the payoff to use

style

'european' for PDE/PIDE problems, 'american' for variational inequalities

output

"greeks", "price" or "grid" for the format to return the solution in

N

the time resolution

M

the space resolution

L

the jump resolution

Details

The vector parameters must contain:


shill1729/OptionPricer documentation built on June 11, 2020, 12:18 a.m.