Skip to main content
Version: v5

historical_eps

Get reported EPS against the consensus forecast, with the surprise.

Examples​

from openbb import obb
# Reported versus consensus EPS.
obb.nasdaq.equity.fundamental.historical_eps(symbol='AAPL', provider='nasdaq')

Parameters​

symbol: str
Symbol to get data for.


Returns​

results: NasdaqHistoricalEps

Serializable results.

provider: str | None

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: float | int | None
Actual EPS from the earnings date.

eps_estimated: float | int | None
Estimated EPS for the earnings date.