Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.53 KB

Stock-Portfolio

python streamlit

  • Python app for Stock-Portfolio dashboard using yahoo finance APIs and Streamlit
  • Dashboard will accept different parameters from user and give analysis for tickers.
  • It will also show you news for selected ticker's industry using news api.

Getting Started

These instructions will cover usage information about running app locally.

Prerequisites

Build Image

git clone https://github.com/sshah90/Stock-portfolio.git
cd Stock-portfolio/
docker build -t stock:1.0.0 .

Run Image

docker run \
    -p 8501:8501 \
    -e API_KEY="YOUR_API_KEY"\
    -v /your/path:/data\
    stock:1.0.0 

If everything works fine then you should able to see dashboard at localhost:8501.

Running without Docker

This code base only work with Python >= 3.7.0.

After cloning repo, run below commands

git clone https://github.com/sshah90/Stock-portfolio.git
cd Stock-portfolio/
pip install -r requirement.txt
streamlit run frontend.py

If you have any problem installing fbprophet then check installing documentation here