Skip to main content

ratios

Get an extensive set of financial and accounting ratios for a given company over time.

Examples

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

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
limitintThe number of data entries to return.12True

Returns

OBBject
results : List[FinancialRatios]
Serializable results.

provider : Optional[Literal['fmp', 'intrinio']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
period_endingstrThe date of the data.
fiscal_periodstrPeriod of the financial ratios.
fiscal_yearintFiscal year.