Skip to main content
Version: v4

metrics

Get fundamental metrics for a given company.

Examples​

from openbb import obb
obb.equity.fundamental.metrics(symbol='AAPL')
obb.equity.fundamental.metrics(symbol='AAPL', period='annual', limit=100)

Parameters​

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


Returns​

results: KeyMetrics

Serializable results.

provider: Optional[Literal['finviz', 'fmp', 'intrinio', 'yfinance']]

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.

period_ending: date | None
End date of the reporting period.

fiscal_year: int | None
Fiscal year for the fiscal period, if available.

fiscal_period: str | None
Fiscal period for the data, if available.

currency: str | None
Currency in which the data is reported.

market_cap: int | float | None