Skip to main content
Version: v5

gdp_nominal

Get Nominal GDP data from the OECD.

Examples​

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

Parameters​

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.


Returns​

results: OecdGdpNominal

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

date: date | str
The date of the data.

country: str | None
The country represented by the GDP value.

value: float | int
GDP value for the country and date.