demark
Demark sequential indicator.
Example:
from openbb import obb
stock_data = obb.equity.price.historical(symbol="TSLA", start_date="2023-01-01", provider="fmp")
demark_data = obb.technical.demark(data=stock_data.results,offset=0)
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 |
| show_all | bool | Show 1 - 13. If set to False, show 6 - 9 | True | True |
| asint | bool | If True, fill NAs with 0 and change type to int, by default True. | True | True |
| offset | int | How many periods to offset the result | 0 | True |
Returns
The calculated data.