Skip to main content

clenow

Gets the Clenow Volatility Adjusted Momentum. this is defined as the regression coefficient on log prices

Source Code: [link]

openbb.ta.clenow(values: pd.Series, window: int = 90)

Parameters

NameTypeDescriptionDefaultOptional
valuespd.SeriesValues to perform regression forNoneFalse
windowintLength of lookback period90True

Returns

TypeDescription
R2 of fit to log data

Examples

from openbb_terminal.sdk import openbb
df = openbb.stocks.load("AAPL")
openbb.ta.clenow(df["Close"])