Skip to main content

Financial Ratios


Implementation details​

Class names​

Model nameParameters classData class
FinancialRatiosFinancialRatiosQueryParamsFinancialRatiosData

Import Statement​

from openbb_core.provider.standard_models.financial_ratios import (
FinancialRatiosData,
FinancialRatiosQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
periodstrTime period of the data to return.annualTrue
limitintThe number of data entries to return.12True
providerLiteral['fmp', 'intrinio']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, intrinio.NoneTrue

Data​

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