Expand description
FRED economic data API (requires fred feature).
Access 800k+ macroeconomic time series and US Treasury yield curve data.
Structs§
- Macro
Observation - A single observation in a FRED data series.
- Macro
Series - A FRED macro-economic time series with all its observations.
- Release
Date - A single scheduled economic-data release date from the FRED
releases/datesendpoint. - Treasury
Yield - One day of US Treasury yield curve rates.
Functions§
- init
- Initialize the global FRED client with an API key.
- init_
with_ timeout - Initialize the FRED client with a custom timeout.
- release_
dates - Fetch upcoming scheduled economic-data release dates (CPI, NFP, GDP, FOMC, …).
- series
- Fetch all observations for a FRED data series.
- treasury_
yields - Fetch US Treasury yield curve data for the given year.