Revenue Geographic
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
RevenueGeographic | RevenueGeographicQueryParams | RevenueGeographicData |
Import Statement
from openbb_core.provider.standard_models.revenue_geographic import (
RevenueGeographicData,
RevenueGeographicQueryParams,
)
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. |
| geographic_segment | Dict[str, Annotated[int, BeforeValidator(func=<function check_int at 0x7efe0957cf70>)]] | Day level data containing the revenue of the geographic segment. |
| americas | int | Revenue from the the American segment. |
| europe | int | Revenue from the the European segment. |
| greater_china | int | Revenue from the the Greater China segment. |
| japan | int | Revenue from the the Japan segment. |
| rest_of_asia_pacific | int | Revenue from the the Rest of Asia Pacific segment. |