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.
-
Clone the repository:
git clone https://github.com/Reddimus/DOW30_Tracker.git cd DOW30_Tracker
-
Install the dependencies:
pip install -r requirements.txt
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"
-
--new_data <bool>
: If True, the script will fetch new data from the internet. If False, the script will use the data stored in thedata
folder. Default is True. -
--displayed_data <str>
: The data that will be displayed in the GUI.- The options are:
- "Stock Price" (Default)
- "1D % Growth"
- "52 Week Change" 4."Dividend Yield"
- "Market Cap"
- "Index Weight"
- The options are:
-
--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:
- "slowest"
- "slow"
- "medium" (Default)
- "fast"
- "fastest"
- The options are: