Skip to main content

fgdp

Real gross domestic product (GDP) is GDP given in constant prices and

Source Code: [link]

openbb.economy.fgdp(countries: Optional[List[str]], types: str = "real", units: str = "Q", start_date: Any = "", end_date: Any = "")

Parameters

NameTypeDescriptionDefaultOptional
countrieslistList of countries to get data forNoneFalse
typestrType of GDP to get data for. Either 'real' or 'nominal'.
Default s real GDP (real).
NoneTrue
unitsstrUnits to get data in. Either 'Q' or 'A.
Default is Quarterly (Q).
QTrue
start_datestrStart date of data, in YYYY-MM-DD formatTrue
end_datestrEnd date of data, in YYYY-MM-DD formatTrue

Returns

TypeDescription
pd.DataFrameDataframe with the gdp data