Skip to main content

Key Metrics


Implementation details

Class names

Model nameParameters classData class
KeyMetricsKeyMetricsQueryParamsKeyMetricsData

Import Statement

from openbb_core.provider.standard_models.key_metrics import (
KeyMetricsData,
KeyMetricsQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio, yfinance.False
limitintThe number of data entries to return.100True

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
market_capfloatMarket capitalization
pe_ratiofloatPrice-to-earnings ratio (P/E ratio)