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
- standard
- tiingo
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Symbol to get data for. | False | |
limit | int | The number of data entries to return. Default is 252, the number of trading days in a year. | 252 | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Symbol to get data for. | False | |
limit | int | The number of data entries to return. Default is 252, the number of trading days in a year. | 252 | True |
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
- standard
- tiingo
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
trailing_dividend_yield | float | Trailing dividend yield. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
trailing_dividend_yield | float | Trailing dividend yield. |