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
- Standard
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | List[Data] | List of data to be used for the calculation. | None | False |
| index | str | Index column name to use with data, by default "date". | date | True |
| target | str | Target column name, by default "close". | close | True |
| period | PositiveInt | Number of periods for the momentum, by default 90. | 90 | True |
Returns
The calculated data.