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

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.


Returns

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

date: date | str
The date of the data.

country: str
The country represented by the GDP value.

value: Union[int, float]
GDP value for the country and date.