monte_carlo_black_scholes: Comptue a conditional expectation via Monte-Carlo...

Description Usage Arguments

View source: R/monte_carlo.R

Description

Compute a conditional expectation via discounting and averaging

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
monte_carlo_black_scholes(
  spot,
  strike,
  maturity,
  rate,
  div,
  volat,
  what = "call",
  samples = 20000
)

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

what

the payoff to use

samples

number of variates to sample


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