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, by default None. If None, the priority list configured in the settings is used. Default priority: fmp, nasdaq, tradingeconomics.NoneTrue

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[float, str]Average forecast among a representative group of economists.
previousUnion[float, str]Value for the previous period after the revision (if revision is applicable).
revisedUnion[float, str]Revised previous value, if applicable.
actualUnion[float, str]Latest released value.