Trailing Dividend Yield
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
TrailingDividendYield | TrailingDividendYieldQueryParams | TrailingDividendYieldData |
Import Statement
from openbb_core.provider.standard_models. import (
TrailingDividendYieldData,
TrailingDividendYieldQueryParams,
)
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 |
provider | Literal['tiingo'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'tiingo' if there is no default. | tiingo | 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 |
provider | Literal['tiingo'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'tiingo' if there is no default. | tiingo | True |
Data
- standard
- tiingo
Name | Type | Description |
---|---|---|
date | date | The date of the data. |
trailing_dividend_yield | float | Trailing dividend yield. |
Name | Type | Description |
---|---|---|
date | date | The date of the data. |
trailing_dividend_yield | float | Trailing dividend yield. |