calendar
Get the upcoming, or historical, economic calendar of global events.
Examples
from openbb import obb
# By default, the calendar will be forward-looking.
obb.economy.calendar(provider='fmp')
obb.economy.calendar(provider='fmp', start_date='2020-03-01', end_date='2020-03-31')
# By default, the calendar will be forward-looking.
obb.economy.calendar(provider='nasdaq')
Parameters
- standard
- fmp
- nasdaq
- tradingeconomics
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | Country of the event Multiple items allowed for provider(s): nasdaq. | None | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
country | Union[str, List[str]] | Country of the event. Multiple items allowed for provider(s): tradingeconomics. | None | True |
importance | Literal['low', 'medium', 'high'] | Importance of the event. | None | True |
group | Literal['interest_rate', 'inflation', 'bonds', 'consumer', 'gdp', 'government', 'housing', 'labour', 'markets', 'money', 'prices', 'trade', 'business'] | Grouping of events. | None | True |
calendar_id | Union[Union[None, int, str], List[Union[None, int, str]]] | Get events by TradingEconomics Calendar ID. Multiple items allowed for provider(s): tradingeconomics. | None | True |