Skip to main content

Compare Company Facts


Implementation details

Class names

Model nameParameters classData class
CompareCompanyFactsCompareCompanyFactsQueryParamsCompareCompanyFactsData

Import Statement

from openbb_core.provider.standard_models.compare_company_facts import (
CompareCompanyFactsData,
CompareCompanyFactsQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): sec.NoneTrue
factstrThe fact to lookup, typically a GAAP-reporting measure. Choices vary by provider.True

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
namestrName of the entity.
valuefloatThe reported value of the fact or concept.
reported_datedateThe date when the report was filed.
period_beginningdateThe start date of the reporting period.
period_endingdateThe end date of the reporting period.
fiscal_yearintThe fiscal year.
fiscal_periodstrThe fiscal period of the fiscal year.