Auto Time Series Stock Analysis is a Python-based project designed to fetch, process, and visualize stock data. It allows users to analyze historical stock prices and related metrics, perform statistical tests, and even predict future prices using deep learning models (LSTM and GRU). The project leverages data from Yahoo Finance and provides interactive visualizations with Plotly.
-
Data Acquisition & Preprocessing:
Fetch stock data usingyfinance
and clean/prepare data withpandas
. -
Visualization:
Generate interactive charts such as price plots, moving averages, volatility trends, seasonal decomposition, and dividend yield plots using Plotly. -
Statistical Analysis:
Perform tests like the Dickey-Fuller test to assess stationarity of the time series. -
Deep Learning Predictions:
Utilize LSTM and GRU models to forecast future stock prices.
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the Repository:
git clone https://github.com/rrawatt/auto-time-series-analysis.git cd auto-time-series-analysis
-
Install Dependencies::
pip install -r requirements.txt
-
Test Use:
python main.py AAPL 2020-01-01 2022-01-01
- Can also run directly as in collab environment with report generation and plots.zip file generation