Skip to main content

clenow

Clenow Volatility Adjusted Momentum.

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.NoneFalse
indexstrIndex column name to use with data, by default "date".dateTrue
targetstrTarget column name, by default "close".closeTrue
periodPositiveIntNumber of periods for the momentum, by default 90.90True

Returns​

The calculated data.