qis.GaussianVarSpec

class qis.GaussianVarSpec(confidence=0.99, horizon_years=1.0, simulations=500000, random_seed=0)[source]

Bases: object

Settings for zero-drift linear Gaussian Monte Carlo VaR.

Variables:
  • confidence (float) – Loss probability quantile, strictly between 0.5 and 1.

  • horizon_years (float) – Positive horizon in units of the supplied covariance.

  • simulations (int) – Even number of antithetic scenarios, at least 1,000.

  • random_seed (int) – Seed for a local NumPy generator; global RNG state is untouched.

Parameters:
__init__(confidence=0.99, horizon_years=1.0, simulations=500000, random_seed=0)
Parameters:
Return type:

None

Methods

__init__([confidence, horizon_years, ...])

Attributes

confidence: float = 0.99
horizon_years: float = 1.0
simulations: int = 500000
random_seed: int = 0