This project generates daily predictions for the S&P500 stock market index and sends a detailed report via email, including the full output and a graph visualization. The report is sent to a predefined mailing list, with the option to sign up for future reports.
This project utilizes a Python script (main.py
) to generate daily predictions for the S&P500 stock index. It uses machine learning models and data analysis techniques to forecast market trends.
Once the predictions are made, the system sends a daily email report containing:
The email is sent to a set of recipients, including a mailing list stored as a GitHub secret, with an easy way to sign up for the mailing list.
Stay updated on the latest predictions and reports! Sign up for the mailing list to receive daily emails with the S&P500 predictions, including the output and visualizations.
Once you sign up, you’ll receive an email with daily reports on the S&P500 predictions.
output.txt
) and a graph (prediction_graph.png
).To run the workflow and send emails, you need to set up the following GitHub secrets:
EMAIL_USER
: Your email address (e.g., youremail@example.com
).EMAIL_PASS
: The app password or API key for your email account (e.g., for Gmail, use an app password).EMAIL
: The email address from which the reports will be sent.MAILING_LIST
: A comma-separated list of email addresses (e.g., email1@example.com,email2@example.com
) for recipients in the BCC field.API_KEY
: If you’re using an external service (e.g., for prediction or data collection), store the API key here.You can add and update these secrets in the GitHub repository settings under Settings > Secrets and variables > Actions.
The workflow is defined in the .github/workflows/scheduled-jobs.yml
file and runs automatically every day at 08:00 CEST.
main.py
) to generate predictions.To update the MAILING_LIST (the list of email recipients), navigate to your GitHub repository Settings > Secrets and modify the MAILING_LIST
secret. This will automatically update the recipients for the next email sent by the workflow.
S&P500 Predictions Daily Report
).output.txt
and the prediction graph.Contributions are welcome! To get started:
This project is licensed under the MIT License - see the LICENSE file for details.