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

symbol: Union[str, list[str]]

Symbol to get data for. Multiple items allowed for provider(s): sec.

Optional: True


fact: str

The fact to lookup, typically a GAAP-reporting measure. Choices vary by provider.

Optional: True

Data

symbol: str

Symbol representing the entity requested in the data.

name: str

Name of the entity.

value: float

The reported value of the fact or concept.

reported_date: date

The date when the report was filed.

period_beginning: date

The start date of the reporting period.

period_ending: date

The end date of the reporting period.

fiscal_year: int

The fiscal year.

fiscal_period: str

The fiscal period of the fiscal year.