Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

S&P 500 Stocks | Time Series Prophet Forecast Model

This program reads downloaded S&P 500 Stocks Data that you can find in the archive folder as sp500_index.csv. The dataset includes the stocks daily closing price for the last 10 years(2013-2023).

Time Series Data Exploration

Data is explored and analyzed per year 2022 and 2023, it is also grouped by the last 5 years from 2018 to 2023.

bokeh_plot

bokeh_plot (1)

bokeh_plot (2)

Data is also used to create a new feature in our dataframe Return that represents the stocks daily return. The program used pandas library .diff() function to calculate the daily retruns.

bokeh_plot

Creating a Time Series Model with Prophet

Time Series model showed a very insightful trend for the past 10 years.

Screenshot 2024-01-04 at 7 56 49 PM

About

S&P 500 last 10 years data analysis. Visualize and Compare Data for trends. Time Series Model created using Prophet. Forecast is predicted and plotted.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages