Gdp Nominal
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
GdpNominal | GdpNominalQueryParams | GdpNominalData |
Import Statement
from openbb_core.provider.standard_models.gdp_nominal import (
GdpNominalData,
GdpNominalQueryParams,
)
Parameters
- standard
- econdb
- oecd
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | The country to get data.Use 'all' to get data for all available countries. Multiple items allowed for provider(s): econdb. | united_states | True |
use_cache | bool | If True, the request will be cached for one day. Using cache is recommended to avoid needlessly requesting the same data. | True | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | The country to get data. Use 'all' to get data for all available countries. Multiple items allowed for provider(s): oecd. | united_states | True |
frequency | Literal['quarter', 'annual'] | Frequency of the data. | quarter | True |
units | Literal['level', 'index', 'capita'] | The unit of measurement for the data.Both 'level' and 'capita' (per) are measured in USD. | level | True |
price_base | Literal['current_prices', 'volume'] | Price base for the data, volume is chain linked volume. | current_prices | True |
Data
- standard
- econdb
- oecd
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | GDP value for the country and date. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | Nominal GDP value for the country and date. |
nominal_growth_qoq | float | Nominal GDP growth rate quarter over quarter. |
nominal_growth_yoy | float | Nominal GDP growth rate year over year. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | The country represented by the GDP value. |
value | Union[int, float] | GDP value for the country and date. |