Simulate N-Factor Model Futures Prices
'r lifecycle::badge("deprecated")'
This function was deprecated due to a change in the name of the function to adhere to the tidyverse style guide.
Futures.Price.Simulate(X.0, parameters, dt, N.obs, TTM, verbose = TRUE)
output <- Futures.Price.Simulate(X.0 = c(log(SS.Oil$Spot[1,1]), 0),
parameters = SS.Oil$Two.Factor,
dt = SS.Oil$dt,
N.obs = nrow(SS.Oil$Stitched.Futures),
TTM = SS.Oil$Stitched.TTM)
## ->
output <- futures_price_simulate(x_0 = c(log(SS_oil$spot[1,1]), 0),
parameters = SS_oil$two_factor,
dt = SS_oil$dt,
N_obs = nrow(SS_oil$stitched_futures),
futures_TTM = SS_oil$stitched_TTM)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.