R/simulations_models.R
    generate_diverse_sv_paths.RdThis function produces a collection of synthetic return series, each simulated with randomized parameters for drift, volatility, jump characteristics, and regime-switching behavior. Useful for pretraining models or scenario testing.
generate_diverse_sv_paths(
  n_paths = 10000,
  horizon = 252 * 5,
  frequency = "daily",
  jump_type = "mixed",
  include_regime_switching = TRUE,
  random_seed = NULL
)Number of return paths to generate.
Length of each return path in trading days.
Frequency of the data (e.g., "daily").
Type of jump size distribution: "normal", "log_normal", "exponential", or "mixed".
Logical; whether to include Markov regime switching.
Optional seed for reproducibility.
A list of class `diverse_sv_paths` containing: - `paths`: A list of numeric vectors (returns) - `parameters`: The parameter sets used to generate each path - `horizon`: The path length - `frequency`: The data frequency - `n_paths`: Number of paths - `generation_date`: Timestamp of generation