Skip to main content

metrics

Get fundamental metrics for a given company.

Examples

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

Parameters

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


Returns

results: list[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
End date of the reporting period.

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

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

currency: str
Currency in which the data is reported.

market_cap: Union[float, int]