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
- fmp
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | 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, by default None. If None, the priority list configured in the settings is used. Default priority: fmp. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | 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, by default None. If None, the priority list configured in the settings is used. Default priority: fmp. | None | True |
Data
- standard
- fmp
| Name | Type | Description |
|---|---|---|
| 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 | int | Dictionary containing the revenue of the business line. |
| Name | Type | Description |
|---|---|---|
| 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 | int | Dictionary containing the revenue of the business line. |