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