Skip to main content

nominal

Get Nominal GDP Data.

Examples

from openbb import obb
obb.economy.gdp.nominal(provider='oecd')
obb.economy.gdp.nominal(units=capita, country=all, frequency=annual, provider='oecd')

Parameters

NameTypeDescriptionDefaultOptional
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue

Returns

OBBject
results : List[GdpNominal]
Serializable results.

provider : Optional[Literal['econdb', 'oecd']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
countrystrThe country represented by the GDP value.
valueUnion[int, float]GDP value for the country and date.