Skip to main content

real

Get Real GDP Data.

Examples

from openbb import obb
obb.economy.gdp.real(provider='oecd')
obb.economy.gdp.real(country=united_states,germany,japan, provider='econdb')

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[GdpReal]

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.