Skip to main content

quantile

Overlay Median & Quantile

Source Code: [link]

openbb.qa.quantile(data: pd.DataFrame, window: int = 14, quantile_pct: float = 0.5)

Parameters

NameTypeDescriptionDefaultOptional
datapd.DataFrameDataframe of targeted dataNoneFalse
windowintLength of window14True
quantile_pctfloatQuantile to display0.5True

Returns

TypeDescription
Tuple[pd.DataFrame, pd.DataFrame]Dataframe of rolling median prices over window,
Dataframe of rolling quantile prices over window