monte_carlo_merton: 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
monte_carlo_merton(
  spot,
  strike,
  maturity,
  parameters,
  what = "call",
  samples = 20000
)

Arguments

spot

the spot price

strike

the strike sprice

maturity

the maturity of the option contract

parameters

vector of model parameters

what

the payoff to use

samples

number of variates to sample


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