Skip to main content

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​

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
show_allboolShow 1 - 13. If set to False, show 6 - 9TrueTrue
asintboolIf True, fill NAs with 0 and change type to int, by default True.TrueTrue
offsetintHow many periods to offset the result0True

Returns​

The calculated data.