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
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
country: str | None
Default: all
Country, or countries, to get forward GDP projections for. Default is all.
frequency: Literal['annual', 'quarter'] | None
Default: annual
Frequency of the data, default is annual.
units: Literal['current_prices', 'volume', 'capita', 'growth', 'deflator'] | None
Default: volume
Description
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.
Data
- standard
- oecd
date: date | str
The date of the data.
country: str
None
value: int | float
Forecasted GDP value for the country and date.
date: date | str
The date of the data.
country: str
None
value: int | float
Forecasted GDP value for the country and date.