fomc_documents
Get FOMC documents by year and document type.
Source: https://www.federalreserve.gov/monetarypolicy/fomc_historical.htm
Source: https://www.federalreserve.gov/monetarypolicy/fomccalendars.htm
This function does not return the typical OBBject response.
The response is list[dict[str, str]] of FOMC documents and their URLs.
Each dictionary entry has keys: date, url, doc_type, and doc_format.
If as_choices is True, the response is a list of valid Workspace parameter choices.
Keys, label and value, correspond with the doc_type + date, and the url, respectively.
Examples
from openbb import obb
obb.economy.fomc_documents(provider='federal_reserve')
# Filter all documents by year.
obb.economy.fomc_documents(provider='federal_reserve', year=2022)
# Filter all documents by year and document type.
obb.economy.fomc_documents(provider='federal_reserve', year=2022, document_type=minutes)
Parameters
- standard
- federal_reserve
year: int
The year of FOMC documents to retrieve. If None, all years since 1959 are returned.
document_type: str
Filter by document type. Default is all. Choose from: all, monetary_policy, minutes, projections, materials, press_release, press_conference, agenda, transcript, speaker_key, beige_book, teal_book, green_book, blue_book, red_book
pdf_only: bool
Default: False
Whether to return as a list with only the PDF documents. Default is False.
as_choices: bool
Default: False
Whether to return cast as a list of valid Workspace parameter choices. Leave as False for typical use.
Returns
results: list[FomcDocuments]
Serializable results.
provider: Optional[Literal['federal_reserve']]
Provider name.
warnings: Optional[list[Warning_]]
list of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- federal_reserve
content: Any
The content of request results. If url was provided, the content is a dictionary with keys filename and content. Otherwise, it is a list of dictionaries with a mapping of FOMC documents to URLs. The endpoint response will not be an OBBject.results object, but the content directly.