Skip to main content

coint

Calculate cointegration tests between variable number of input series

Source Code: [link]

openbb.econometrics.coint(datasets: pd.Series, return_z: bool = False)

Parameters

NameTypeDescriptionDefaultOptional
datasetspd.SeriesInput series to test cointegration forNoneFalse
return_zboolFlag to return the z data to plotFalseTrue

Returns

TypeDescription
Union[pd.DataFrame,Dict]Dataframe with results of cointegration tests or a Dict of the z results