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

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): alpha_vantage.False

Returns

OBBject
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

NameTypeDescription
dateUnion[date, str]The date of the data.
symbolstrSymbol representing the entity requested in the data.
announce_timestrTiming of the earnings announcement.
eps_actualfloatActual EPS from the earnings date.
eps_estimatedfloatEstimated EPS for the earnings date.