Skip to main content

company_facts

Copmare reported company facts and fundamental data points.

Examples

from openbb import obb
obb.equity.compare.company_facts(provider='sec')
obb.equity.compare.company_facts(provider='sec', fact='PaymentsForRepurchaseOfCommonStock', year=2023)
obb.equity.compare.company_facts(provider='sec', symbol='NVDA,AAPL,AMZN,MSFT,GOOG,SMCI', fact='RevenueFromContractWithCustomerExcludingAssessedTax', year=2024)

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

Returns

OBBject
results : List[CompareCompanyFacts]
Serializable results.

provider : Optional[Literal['sec']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

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.