sim.gbm.moving.ave | R Documentation |
Simulate 1D Brownian Motion for Moving Average Asian Options
sim.gbm.moving.ave(x0, model, dt = model$dt)
x0 |
is the starting values (matrix of size N x model$dim) |
model |
a list containing all the other parameters, including volatility |
dt |
is the step size in time. Defaults to |
first column is S_t, other columns are lagged S_t's the lags are in terms of dt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.