Skip to content

cortisiko/stockAnalysis

Repository files navigation

Stock Analysis 📈

The Stock Analysis application is a Python-based tool that leverages the yahooquery package to fetch real-time stock data. The frontend is built using Tkinter, allowing users to analyze financial ratios and view visual representations of key financial statement line items through bar and trend charts.

Purpose

This application provides users with ratio analysis and visualize data from financial statements in a user-friendly manner. The ratios focused on in this application includes: PE, Return on Equity and Debt to equity ratios. Furthermore, the Profit margin, EPS are also displayed. The application helps you visualize the financial health of a company by displaying charts in the following areas:

  • Free Cash Flow (from the Cash Flow statement)
  • Cash to Earnings (from the Cash Flow statement)
  • Long Term Debt (from the Balance Sheet)
  • Net Income (from the Income Statement)
  • Total Revenue

Additionally, it provides a trend analysis comparing Cash from Operations and Net Income, supporting cash-based earnings quality analysis.

Note: This application does not constitute investment advice or recommendations for any particular stock or investment strategy.


Demo

When a user enters a stock symbol, multiple financial ratios are displayed: StockAnalysisHomePage

The bar graphs show:

  • Free Cash Flow (from the Cash Flow statement)
  • Cash to Earnings (from the Cash Flow statement)
  • Long Term Debt (from the Balance Sheet)
  • Net Income (from the Income Statement)
  • Total Revenue

Each graph allows the user to toggle between quarterly and yearly views for better comparison. Charts


Installation and Usage

Prerequisites

  • Python 3.x
  • pipenv for package management

Installation Steps

  1. Install pipenv if you don't already have it:

    pip install pipenv
  2. Install the required dependencies:

    pipenv sync

    If you're in a development environment, use:

    pipenv sync --dev
  3. Run the application:

    python userInterface.py

Optional

If Tkinter is not installed on your machine, you can install it by running:

sudo apt-get install python3-tk

About

Stock analysis using yahooquery

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages