Giter Club home page Giter Club logo

stock-analysis's Introduction

This package is a financial statement analysis tool that uses Alpha Vantage and Streamlit to fetch and display financial data for a given stock ticker. It defines several functions that fetch and standardize financial data for a given ticker, as well as functions that display the data in a tabular format.

To use this package, first download it to your computer. Unzip the folder and navigate to the folder in your terminal using the cd command as follows:

cd path/to/folder

for example if the folder is in your Downloads folder, you would run the following command:

cd /Users/username/Downloads/Stock-Analysis-main

where username is your username on your computer.

When you are in the project folder, install the required packages by running the following command:

pip install -r requirements.txt

Lastly you will need to have an Alpha Vantage API key. To get a free Alpha Vantage API key, go to https://www.alphavantage.co/support/#api-key.

To add your API key to your Streamlit secrets.toml file, go to secrets.toml file in .streamlit folder in your project directory. Update the value of alpha_vantage in secrets.toml file:

alpha_vantage = "XXXXXXXXXXXXXXXX"

where xxxxxxxxxxxxxxxx is your API key.

You are now ready to use the tool. To run the tool, run the following command in your terminal:

streamlit run main.py

This app is for educational purposes only. It is not intended to provide investment advice. The project aims to bring an interactive financial statement analysis tool to the classroom. This project can also be used to teach students how to use Streamlit to build interactive data science applications.

Note: This project is still in development.

The project also uses OpenAI's ChatGPT to summarize news articles about a given stock ticker. To use that feature you will need an OpenAI API key which you can get for free at https://beta.openai.com/.

stock-analysis's People

Contributors

hamid-vakilzadeh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.