Gdp Real
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
GdpReal | GdpRealQueryParams | GdpRealData |
Import Statement
from openbb_core.provider.standard_models.gdp_real import (
GdpRealData,
GdpRealQueryParams,
)
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 |
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] | Real GDP value for the country and date. |
real_growth_qoq | float | Real GDP growth rate quarter over quarter. |
real_growth_yoy | float | Real 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. |