Skip to content

amaan784/Stock-Prediction-Web-App

Repository files navigation

Streamlit App

Stock-Prediction-Web-App

A Stock Forecast / Prediction Web Application made using Streamlit

Instructions to run-

Required Python Version is 3.8.8 (fbprphet doesnt run on the latest python version)-

pip install -r requirements.txt

streamlit run main.py

Or open in browser-

https://stock-forecast-streamlit.herokuapp.com/

Difference between Forecast and Prediction

Forecasting is an estimation of a future events which one can make by incorporating and casting forward data related to the past in a pre-determined and systematic manner. Prediction is an estimate of future events made by subjective considerations.

Source: Key Differences

Notes:

  • The graphs in the app are interactive (except the forecast components one).
  • The default stock for prediction is AAPL (Apple).
  • The default prediction year is 1.
  • The forecast part takes time to run since the computation by fbprophet is complicated.

Key Learning:

Always watch out for the python version of packages and environements (hosting the site and installing fbprophet took a lot of time because of this)

TODO (maybe):

  • view the csv file (present in the unused stock data folder) from the NASDAQ site (https://www.nasdaq.com/market-activity/stocks/screener)
  • display all / most stock names in the selection or just allow a search. Use a pandas dataframe for it.
  • explore more of fbprophet / prophet

Sources-

Streamlit Tutorial by Python Engineer

Yahoo Finance Website

Streamlit Documentation

Facebook Prophet Documentation

Hosting Streamlit help-

About

A Stock Prediction Web Application made using Streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published