Skip to main content

trailing_dividend_yield

Get the 1 year trailing dividend yield for a given company over time.

Examples

from openbb import obb
obb.equity.fundamental.trailing_dividend_yield(symbol='AAPL', provider='tiingo')
obb.equity.fundamental.trailing_dividend_yield(symbol='AAPL', limit=252, provider='tiingo')

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
limitintThe number of data entries to return. Default is 252, the number of trading days in a year.252True

Returns

OBBject
results : List[TrailingDividendYield]
Serializable results.

provider : Optional[Literal['tiingo']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
trailing_dividend_yieldfloatTrailing dividend yield.