Skip to content

Python program that collects and sorts through stock market data of the top 30 companies based on market cap in the United States.

Notifications You must be signed in to change notification settings

Reddimus/DOW30_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOW 30 Tracker

This is a simple script that tracks the DOW 30 stocks and shows the stock's data with a simple GUI. The GUI allows to see step by step how certain sorting algorithms work such as Bubble Sort.

Installation:

  1. Clone the repository:

    git clone https://github.com/Reddimus/DOW30_Tracker.git
    cd DOW30_Tracker
  2. Install the dependencies:

    pip install -r requirements.txt

Usage:

Open the source code folder:

cd src

There are multiple ways to run the script. For instance:

python main.py
    --new_data True
    --displayed_data "Stock Price"
    --fullscreen True
    --reverse False
    --animation_speed "medium"

Options:

  • --new_data <bool>: If True, the script will fetch new data from the internet. If False, the script will use the data stored in the data folder. Default is True.

  • --displayed_data <str>: The data that will be displayed in the GUI.

    • The options are:
      1. "Stock Price" (Default)
      2. "1D % Growth"
      3. "52 Week Change" 4."Dividend Yield"
      4. "Market Cap"
      5. "Index Weight"
  • --fullscreen <bool>: If True, the GUI will be displayed in fullscreen. If False, the GUI will be displayed in a window. Default is False.

  • --reverse <bool>: If True, the sorting algorithms will be displayed in reverse order. Default is False.

  • --animation_speed <str>: The speed of the sorting algorithms.

    • The options are:
      1. "slowest"
      2. "slow"
      3. "medium" (Default)
      4. "fast"
      5. "fastest"

About

Python program that collects and sorts through stock market data of the top 30 companies based on market cap in the United States.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages