Skip to main content

revenue_per_segment

Get the revenue breakdown by business segment for a given company over time.

Examples

from openbb import obb
obb.equity.fundamental.revenue_per_segment(symbol='AAPL', provider='fmp')
obb.equity.fundamental.revenue_per_segment(symbol='AAPL', period=quarter, provider='fmp')

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False

Returns

OBBject
results : List[RevenueBusinessLine]
Serializable results.

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

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

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

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_linestrThe business line represented by the revenue data.
revenueUnion[int, float]The total revenue attributed to the business line.