Member-only story
Predict The Future Price Of The S&P500 Using Python
Predict the future price of the S&P500 using the python programming language
Disclaimer: This article is for entertainment and educational purposes only. It is not intended as financial advice. I am not a financial adviser so, be sure to research with due diligence before making any investments.
If you like the material in this article when you are done reading it, then consider becoming a member of Medium if not for my articles then for all of the other amazing articles & authors on this site. You can easily become a member of Medium by using the link here.
In this article I will attempt to create a python program/model to predict the future price of the S&P500. Keep in mind that no model is perfect but they can get close. I will be using a simple linear regression model to make the prediction.
What’s The S&P500 ?
According to Wikipedia, the Standard and Poor’s 500, or simply the S&P 500, is a stock market index tracking the performance of 500 large companies listed on stock exchanges in the United States.-Wikipedia
On average the S&P500 has historically returned 15.25% year to date. It is used as a broad-based measure of large corporations traded on U.S. stock markets.