meansq_price_error_kou: Mean square error between market and Kou-model prices

Description Usage Arguments Value

View source: R/mean_sq_error.R

Description

Compute the mean-square error between model and market prices

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
meansq_price_error_kou(
  v,
  K,
  fees,
  spot,
  maturity,
  rate,
  div,
  ku,
  kd,
  what,
  style,
  N,
  M
)

Arguments

v

vector of parameters: volat, lambda, prob, alpha, beta

K

vector of strikes

fees

vector of fees

spot

the underlying spot price

maturity

the contract maturity

rate

the risk-neutral rate

div

the dividend yield

ku

the upward jump displacement

kd

the downward jump displacement

what

the option type

style

the optionality style

N

time-resolution

M

space-resolution

Value

numeric


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