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 | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
start_date: date | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
country: str | list[str]
Default: all
Country, or countries, to get forward GDP projections for. Default is all. Multiple items allowed for provider(s): oecd.
Choices
- argentina
- asia
- australia
- austria
- belgium
- brazil
- bulgaria
- canada
- chile
- china
- colombia
- costa_rica
- croatia
- czech_republic
- denmark
- estonia
- finland
- france
- germany
- greece
- hungary
- iceland
- india
- indonesia
- ireland
- israel
- italy
- japan
- korea
- latvia
- lithuania
- luxembourg
- mexico
- netherlands
- new_zealand
- norway
- peru
- poland
- portugal
- romania
- russia
- slovak_republic
- slovenia
- south_africa
- spain
- sweden
- switzerland
- turkey
- united_kingdom
- united_states
- other_major_oil_producers
- rest_of_the_world
- world
- all
frequency: Literal['annual', 'quarter']
Default: annual
Frequency of the data, default is annual.
units: Literal['current_prices', 'volume', 'capita', 'growth', 'deflator']
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: Union[int, float]
Forecasted GDP value for the country and date.
date: date | str
The date of the data.
country: str
None
value: Union[int, float]
Forecasted GDP value for the country and date.