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
symbolstrSymbol to get data for.False
periodLiteral['quarter', 'annual']Time period of the data to return.annualTrue
structureLiteral['hierarchical', 'flat']Structure of the returned data.flatTrue
providerLiteral['fmp']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fmp.NoneTrue

Data​

NameTypeDescription
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_lineintDictionary containing the revenue of the business line.