Skip to main content

Revenue Business Line


Implementation details​

Class names​

Model nameParameters classData class
RevenueBusinessLineRevenueBusinessLineQueryParamsRevenueBusinessLineData

Import Statement​

from openbb_core.provider.standard_models.revenue_business_line import (
RevenueBusinessLineData,
RevenueBusinessLineQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for.False
periodLiteral['quarter', 'annual']Time period of the data to return."annual"True
structureLiteral['hierarchical', 'flat']Structure of the returned data."flat"True
providerLiteral['fmp']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."fmp"True

Data​

NameTypeDescription
providerLiteral['openbb']The data provider for the data.
period_endingdateThe end date of the reporting period.
fiscal_periodstrThe fiscal period of the reporting period.
fiscal_yearintThe fiscal year of the reporting period.
filing_datedateThe filing date of the report.
business_lineDict[str, Annotated[int, BeforeValidator(func=<function check_int at 0x7f10fbb99550>)]]Dictionary containing the revenue of the business line.