The stock analysis app was written in python using the yahooquery package to fetch stock data. The data is then displayed on the frontend using tkinter. The goal of this application is to perform ratio analysis as well as give a visual representation (in the form of bar charts) of line items on the financial statements.
This application is not a recommendation or endorsement of any particular investment or investment strategy.
When a user enters a stock symbol, multiple finanical ratios appear:
The data plotted into the bar graphs comes from:
-
Free Cash Flow (From the Cash Flow statement)
-
Long Term Debt (From the Balance sheet)
-
Net income (From the Income statement)
-
There's a bar graph for a company's Total Revenue.
There is a trend graph comparing the difference between Cash from Operations and Net Income. Basically performing cash based earnings quality analysis on a stock
On each graph, you can choose either a quarterly or yearly view.
To run:
-
use
pipenv sync
orpipenv sync --dev
to install the packages in the pipfile. -
Finally, run the code via terminal:
python userInterface.py
In the off chance that tkinter isn’t install: sudo apt-get install python3-tk