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 for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default.fmpTrue

Data​

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