Compute the Greeks of a Solar Option
solarOption_greeks(model, moments, put = TRUE, elasticities = FALSE)Version 1.0.0.
# Model fit
model <- solarModel$new(spec)
model$fit()
#> No outliers!
solarOption_greeks(model, model$Moments("2023-01-01", "2024-05-01"))
#> Error in solarOption_greeks(model, model$Moments("2023-01-01", "2024-05-01")): attempt to apply non-function