Skip to main content

Economic Indicators


Implementation details​

Class names​

Model nameParameters classData class
EconomicIndicatorsEconomicIndicatorsQueryParamsEconomicIndicatorsData

Import Statement​

from openbb_core.provider.standard_models.economic_indicators import (
EconomicIndicatorsData,
EconomicIndicatorsQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. The base symbol for the indicator (e.g. GDP, CPI, etc.). Multiple items allowed for provider(s): econdb.False
countryUnion[str, List[str]]The country to get data. The country represented by the indicator, if available. Multiple items allowed for provider(s): econdb.NoneTrue
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['econdb']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: econdb.NoneTrue

Data​

NameTypeDescription
datedateThe date of the data.
symbol_rootstrThe root symbol for the indicator (e.g. GDP).
symbolstrSymbol representing the entity requested in the data.
countrystrThe country represented by the data.
valueUnion[float, int]