bs_greeks: Compute Greeks under BS dynamics

Description Usage Arguments Value

View source: R/pdePricer.R

Description

The basic Greeks under Black-Scholes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
bs_greeks(
  strike,
  expiry,
  spot,
  v,
  r,
  type = "call",
  N = 100,
  M = 100,
  american = TRUE
)

Arguments

strike

the strike price

expiry

the time until maturity

spot

the spot price

v

volatility

r

risk-free rate

type

put or call

N

time resolution

M

space resolution

american

boolean for American or European options

Value

vector


shill1729/pricing documentation built on Jan. 9, 2022, 12:56 a.m.