pde_gbm_price: Solve a PDE/variational inequality under GBM dynamics

Description Usage Arguments

View source: R/RcppExports.R

Description

Solve a PDE/variational equality under GBM dynamics using an implicit finite difference scheme

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pde_gbm_price(
  spot,
  strike,
  maturity,
  rate,
  div,
  volat,
  N,
  M,
  what = "call",
  style = "american"
)

Arguments

spot

the spot price

strike

the strike sprice

maturity

the maturity of the option contract

rate

the risk-neutral rate

div

the dividend yield rate

volat

the volatility

N

the time resolution

M

the space resolution

what

the payoff to use

style

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


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