Skip to main content

Economic Calendar


Implementation details​

Class names​

Model nameParameters classData class
EconomicCalendarEconomicCalendarQueryParamsEconomicCalendarData

Import Statement​

from openbb_core.provider.standard_models.economic_calendar import (
EconomicCalendarData,
EconomicCalendarQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
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['fmp', 'nasdaq', 'tradingeconomics']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default."fmp"True

Data​

NameTypeDescription
providerLiteral['openbb']The data provider for the data.
datedatetimeThe date of the data.
countrystrCountry of event.
eventstrEvent name.
referencestrAbbreviated period for which released data refers to.
sourcestrSource of the data.
sourceurlstrSource URL.
actualUnion[str, float]Latest released value.
previousUnion[str, float]Value for the previous period after the revision (if revision is applicable).
consensusUnion[str, float]Average forecast among a representative group of economists.
forecastUnion[str, float]Trading Economics projections
urlstrTrading Economics URL
importanceUnion[Literal[0, 1, 2, 3], str]Importance of the event. 1-Low, 2-Medium, 3-High
currencystrCurrency of the data.
unitstrUnit of the data.