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

symbol: str
Symbol to get data for.


Returns

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

period_ending: date
The end date of the reporting period.

fiscal_period: str
The fiscal period of the reporting period.

fiscal_year: int
The fiscal year of the reporting period.

filing_date: date
The filing date of the report.

business_line: str
The business line represented by the revenue data.

revenue: Union[int, float]
The total revenue attributed to the business line.