📅  最后修改于: 2022-03-11 14:45:44.622000             🧑  作者: Mango
import pandas as pd
from garch import garch
# load your data here
data = pd.read_csv('PATH_TO_MY_DATA.csv') # file name
# create garch object
garchModel = garch(data, PQ = (1,1), poq = (1,0,1))
# fit model in the data
garchModel.fit()