Skip to main content

historical_eps

Get historical earnings per share data for a given company.

Examples

from openbb import obb
obb.equity.fundamental.historical_eps(symbol='AAPL', provider='fmp')

Parameters

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): alpha_vantage, fmp.


Returns

results: list[HistoricalEps]

Serializable results.

provider: Optional[Literal['alpha_vantage', 'fmp']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

symbol: str
Symbol representing the entity requested in the data.

date: date | str
The date of the data.

eps_actual: Union[float, int]
Actual EPS from the earnings date.

eps_estimated: Union[float, int]
Estimated EPS for the earnings date.