Skip to main content
Version: v4

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: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): sec.

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

Data​

symbol: str | None
Symbol representing the entity requested in the data.

name: str | None
Name of the entity.

value: float
The reported value of the fact or concept.

reported_date: date | None
The date when the report was filed.

period_beginning: date | None
The start date of the reporting period.

period_ending: date | None
The end date of the reporting period.

fiscal_year: int | None
The fiscal year.

fiscal_period: str | None
The fiscal period of the fiscal year.