Skip to main content

clenow

Calculate the Clenow Volatility Adjusted Momentum.

The Clenow Volatility Adjusted Momentum is a sophisticated approach to understanding market momentum with a twist. It adjusts for volatility, offering a clearer picture of true momentum by considering how price movements are influenced by their volatility over a set period. It helps in identifying stronger, more reliable trends.

Example​

from openbb import obb

stock_data = obb.equity.price.historical(symbol='TSLA', start_date='2023-01-01', provider='fmp')
clenow_data = obb.technical.clenow(data=stock_data.results, period=90)

Parameters​

NameTypeDescriptionDefaultOptional
dataList[Data]List of data to be used for the calculation.False
indexstrIndex column name to use with data, by default "date".dateFalse
targetstrTarget column name, by default "close".closeFalse
periodintNumber of periods for the momentum, by default 90.90False

Returns​

OBBject
results : List[Data]
The calculated data.