Gdp Forecast
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
GdpForecast | GdpForecastQueryParams | GdpForecastData |
Import Statement
from openbb_core.provider.standard_models.gdp_forecast import (
GdpForecastData,
GdpForecastQueryParams,
)
Parameters
- standard
- 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]] | Country, or countries, to get forward GDP projections for. Default is all. Multiple items allowed for provider(s): oecd. | all | True |
frequency | Literal['annual', 'quarter'] | Frequency of the data, default is annual. | annual | True |
units | Literal['current_prices', 'volume', 'capita', 'growth', 'deflator'] | Units of the data, default is volume (chain linked volume, 2015). 'current_prices', 'volume', and 'capita' are expressed in USD; 'growth' as a percent; 'deflator' as an index. | volume | True |
Data
- standard
- oecd
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | None |
value | Union[int, float] | Forecasted GDP value for the country and date. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
country | str | None |
value | Union[int, float] | Forecasted GDP value for the country and date. |