awt_quant.forecast.garch_forecast¶
GARCH Model Optimization and Volatility Forecasting.
This module finds the best GARCH-like model for a given time series, fits it, and visualizes its conditional volatility.
- Classes:
GARCHOptimizer: Handles GARCH model selection, fitting, and volatility forecasting.
- Usage:
garch = GARCHOptimizer(series, dates_train, ticker) best_model = garch.fit() fig = garch.plot_volatility() fig.show()
Module Contents¶
- class awt_quant.forecast.garch_forecast.GARCHOptimizer(series, dates_train, ticker, plot_vol=True)[source]¶
A class to find and optimize a GARCH-like model for a given time series.
- fit()[source]¶
Finds the best GARCH model using Bayesian Information Criterion (BIC).
- Returns:
The fitted optimal GARCH model.
- Return type:
arch.univariate.base.ARCHModelResult