Revenue Business Line
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
RevenueBusinessLine | RevenueBusinessLineQueryParams | RevenueBusinessLineData |
Import Statement
from openbb_core.provider.standard_models.revenue_business_line import (
RevenueBusinessLineData,
RevenueBusinessLineQueryParams,
)
Parameters
- Standard
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. | False | |
| period | Literal['quarter', 'annual'] | Time period of the data to return. | "annual" | True |
| structure | Literal['hierarchical', 'flat'] | Structure of the returned data. | "flat" | True |
| provider | Literal['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
- Standard
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| business_line | Dict[str, Annotated[int, BeforeValidator(func=<function check_int at 0x7efe0957cf70>)]] | Day level data containing the revenue of the business line. |