# NOT RUN {
output <- Spot.Price.Simulate(
X.0 = c(3,0),
parameters = SS.Oil$Two.Factor,
t = 1,
dt = 1/12,
n = 1e3,
antithetic = TRUE,
verbose = TRUE)
## ->
output <- spot_price_simulate(
x_0 = c(3,0),
parameters = SS_oil$two_factor,
t = 1,
dt = 1/12,
N_simulations = 1e3,
antithetic = TRUE,
verbose = TRUE)
# }
Run the code above in your browser using DataLab