sim.gbm.moving.ave: Simulate 1D Brownian Motion for Moving Average Asian Options

View source: R/simFuncs.R

sim.gbm.moving.aveR Documentation

Simulate 1D Brownian Motion for Moving Average Asian Options

Description

Simulate 1D Brownian Motion for Moving Average Asian Options

Usage

sim.gbm.moving.ave(x0, model, dt = model$dt)

Arguments

x0

is the starting values (matrix of size N x model$dim)

model

a list containing all the other parameters, including volatility model$sigma, interest rate model$r and continuous dividend yield model$div.

dt

is the step size in time. Defaults to model$dt

Details

first column is S_t, other columns are lagged S_t's the lags are in terms of dt


mludkov/mlOSP documentation built on April 29, 2023, 7:56 p.m.