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
datedateThe date of the data.
business_lineDict[str, Annotated[int, BeforeValidator(func=<function check_int at 0x7fdc695aec20>)]]Day level data containing the revenue of the business line.