Skip to main content

mom

A momentum oscillator, which measures the percentage change between the current

Source Code: [link]

openbb.forecast.mom(dataset: pd.DataFrame, target_column: str = "close", period: int = 10)

Parameters

NameTypeDescriptionDefaultOptional
datasetpd.DataFrameThe dataset you wish to calculate withNoneFalse
target_columnstrThe column you wish to add the MOM tocloseTrue
periodintTime Span10True

Returns

TypeDescription
pd.DataFrameDataframe with added MOM column