Skip to main content

spread

Standard Deviation and Variance

Source Code: [link]

openbb.qa.spread(data: pd.DataFrame, window: int = 14)

Parameters

NameTypeDescriptionDefaultOptional
datapd.DataFrameDataFrame of targeted dataNoneFalse
windowintLength of window14True

Returns

TypeDescription
Tuple[pd.DataFrame, pd.DataFrame]Dataframe of rolling standard deviation,
Dataframe of rolling variance