Gdp Nominal
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
GdpNominal | GdpNominalQueryParams | GdpNominalData |
Import Statement
from openbb_core.provider.standard_models.gdp_nominal import (
GdpNominalData,
GdpNominalQueryParams,
)
Parameters
- standard
- econdb
- oecd
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.
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.
country: str | None
Default: united_states
The country to get data.Use 'all' to get data for all available countries.
use_cache: bool | None
Default: True
If True, the request will be cached for one day. Using cache is recommended to avoid needlessly requesting the same data.
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.
country: str | None
Default: united_states
The country to get data. Use 'all' to get data for all available countries.
frequency: Literal['quarter', 'annual'] | None
Default: quarter
Frequency of the data.
units: Literal['level', 'index', 'capita'] | None
Default: level
The unit of measurement for the data.Both 'level' and 'capita' (per) are measured in USD.
price_base: Literal['current_prices', 'volume'] | None
Default: current_prices
Price base for the data, volume is chain linked volume.
Data
- standard
- econdb
- oecd
date: date | str
The date of the data.
country: str | None
The country represented by the GDP value.
value: int | float
GDP value for the country and date.
date: date | str
The date of the data.
country: str | None
The country represented by the GDP value.
value: int | float
Nominal GDP value for the country and date.
nominal_growth_qoq: float
Nominal GDP growth rate quarter over quarter.
nominal_growth_yoy: float
Nominal GDP growth rate year over year.
date: date | str
The date of the data.
country: str | None
The country represented by the GDP value.
value: int | float
GDP value for the country and date.