Skip to content

Underemployed/Python-Stock-Trend-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Trend Prediction Web App

This is a Python application built using Streamlit that predicts future trends in the stock market using historical data. The app uses machine learning algorithms such as linear regression and LSTM neural networks for analysis. It also features interactive graphs and charts for visualizing the data.

Requirements

The following packages are required to run the application:

  • numpy
  • scikit-learn
  • pandas
  • matplotlib
  • pandas_datareader
  • datetime
  • yfinance
  • tensorflow
  • keras
  • streamlit
  • mplfinance

How to use

  1. Clone this repository to your local machine.
  2. Navigate to the directory containing the cloned repository.
  3. Install the required packages using pip install -r requirements.txt.
  4. Navigate to the directory by executing cd ue/underemployed.
  5. Run the application by executing streamlit run app.py.
  6. Enter the stock ticker and end date in the input fields provided.
  7. The application will display a plot of the stock's closing price and moving averages, as well as predictions for future trends.

Note: The stock data used in the application is retrieved from Yahoo Finance and is limited to the available data on the website. The predictions made by the app are for informational purposes only and should not be used for making investment decisions.

Orginal Price Vs Prediction

Orginal Price Vs Prediction

Completed Project (Video Demo)

Python Stock Trend App Demo