monteCarlo: A generic Monte-Carlo integrator

Description Usage Arguments Value

View source: R/monteCarloPricer.R

Description

A generic Monte-Carlo integrator given a vector of simulated terminal payoff variates.

Usage

1
monteCarlo(maturity, rate, variates)

Arguments

maturity

the maturity of the option

rate

the discounting rate

variates

the simulated terminal payoff variates to average

Value

numeric


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