Skip to main content

Gdp Nominal


Implementation details

Class names

Model nameParameters classData class
GdpNominalGdpNominalQueryParamsGdpNominalData

Import Statement

from openbb_core.provider.standard_models.gdp_nominal import (
GdpNominalData,
GdpNominalQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
unitsLiteral['usd', 'usd_cap']The unit of measurement for the data. Units to get nominal GDP in. Either usd or usd_cap indicating per capita.usdTrue
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
providerLiteral['oecd']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'oecd' if there is no default.oecdTrue

Data

NameTypeDescription
datedateThe date of the data.
valuefloatNominal GDP value on the date.