Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fred.py #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update fred.py #52

wants to merge 1 commit into from

Commits on May 10, 2022

  1. Update fred.py

    The FRED API seems to have implemented a hard cap of 2000 vintages to be retrieved at once. It comes into play if one tries to run get_series_all_releases on any daily data series present in ALFRED (for example 'T1YFF'). Requests for data come back with a "Bad Request. This exceeds the maximum number of vintage dates allowed (2000)" error.
    The fix splits data retrieval into batches of <= 2000 vintages.
    dsgerbc committed May 10, 2022
    Configuration menu
    Copy the full SHA
    24d9b7f View commit details
    Browse the repository at this point in the history