AI image created on MidJourney V6.1 by the author.
Ever tried to build a machine learning model for stock forecasting, only to hit a wall when it comes to finding good data? You're not alone. Getting reliable economic and financial market data without spending a fortune can be tough, and there are plenty of unreliable sources out there.
I'll show you how to automatically collect daily data and prepare it for
immediate use in your machine learning models for stock forecasting, saving
you time and money while ensuring quality.
It is recommended to read this article for a good understanding of how to obtain the data, transform it and train a with it.
- Run
pip install -r requirements.txt
to install the requirements - Obtain your free FRED API key here
- Save your API key in a
.env
file- Run
touch .env
to create a.env
file - Add it to the
.env
file
API_KEY=your_api_key_here
- Run
- Execute the code with
python -m fetcher
β Give the project a star
π€ Send me a LinkedIn connection request to stay in touch
Happy reading and automation!