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.fmpTrue

Data

NameTypeDescription
datedatetimeThe date of the data.
countrystrCountry of event.
categorystrCategory of event.
eventstrEvent name.
importancestrThe importance level for the event.
sourcestrSource of the data.
currencystrCurrency of the data.
unitstrUnit of the data.
consensusUnion[str, float]Average forecast among a representative group of economists.
previousUnion[str, float]Value for the previous period after the revision (if revision is applicable).
revisedUnion[str, float]Revised previous value, if applicable.
actualUnion[str, float]Latest released value.