As dedicated dividend stock investors, our objective is to strategically acquire stocks at opportune moments when they are undervalued and their dividend yields are at their peak. The Dividend Watchlist serves as an investing assistant, diligently monitoring the prices of dividend-yielding stocks and promptly notifying us when they reach a favorable valuation. It meticulously curates a catalog of companies whose stock prices fall below our pre-established buy thresholds, streamlining our investment decisions.
Moreover, the app presents both the current dividend yield and the 10-year average dividend yield for comparative analysis of stock valuations. When the current dividend yield surpasses its historical average, it serves as a compelling buy signal, indicating that the stock is not only enticing but also promises a higher dividend yield.
There are three ways of running the program.
- Run
app.py
directly on CML if you have python installed.
python app.py
In order to create an executable file, first install pyinstaller
.
pip install pyinstaller
- Run executable called
app.exe
inside directorypyStockPriceAlert_oneDir
. The running time of this method is fast as all the required files are already decompressed.
pyinstaller --onedir -w app.py
- Run executable called
app.exe
inside directorypyStockPriceAlert_oneFile
. This method takes some time to execute as it has to decompress all the required files.
pyinstaller --onefile -w app.py
If you move the original app.exe
out of the directory it belongs, it's not going to run!
For storing data, the program automatically create a database called stocks.db
within the same directory. Stored data also can be exported in csv.