YRG999 / stockapp

Stock data app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stock apps

  • stockcomparison.py -- compare stock prices for 120 days from today and the same time period a year ago.
  • marketcap.py -- get marketcap for all stocks in a list.
  • stocklist.py -- get the list of stocks in the NASDAQ100 list.
  • stockdata.py -- download daily stock data from Yahoo Finance.
  • stockpredict.py -- use a long short-term memory network (LSTM) to predict stock prices.
  • comparemonths.py -- compare stock data month over month for a stock from a list of daily stock data.

Set up env

Create & activate new virtual environment

$ python3 -m venv venv
$ . venv/bin/activate

Install the requirements

$ pip install -r requirements.txt

Or to install the latest versions (-U for upgrade):

$ pip install -U -r requirements.txt

The following will be installed.

Full package list
Package                      Version
---------------------------- -----------
absl-py                      2.1.0
astunparse                   1.6.3
beautifulsoup4               4.12.3
certifi                      2024.7.4
charset-normalizer           3.3.2
contourpy                    1.2.1
cycler                       0.12.1
flatbuffers                  24.3.25
fonttools                    4.53.1
frozendict                   2.4.4
gast                         0.6.0
google-pasta                 0.2.0
grpcio                       1.64.1
h5py                         3.11.0
html5lib                     1.1
idna                         3.7
joblib                       1.4.2
keras                        3.4.1
kiwisolver                   1.4.5
libclang                     18.1.1
lxml                         5.2.2
Markdown                     3.6
markdown-it-py               3.0.0
MarkupSafe                   2.1.5
matplotlib                   3.9.1
mdurl                        0.1.2
ml-dtypes                    0.3.2
multitasking                 0.0.11
namex                        0.0.8
numpy                        1.26.4
opt-einsum                   3.3.0
optree                       0.12.1
packaging                    24.1
pandas                       2.2.2
peewee                       3.17.6
pillow                       10.4.0
pip                          24.1.1
platformdirs                 4.2.2
protobuf                     4.25.3
Pygments                     2.18.0
pyparsing                    3.1.2
python-dateutil              2.9.0.post0
pytz                         2024.1
requests                     2.32.3
rich                         13.7.1
scikit-learn                 1.5.1
scipy                        1.14.0
setuptools                   58.1.0
six                          1.16.0
soupsieve                    2.5
tensorboard                  2.16.2
tensorboard-data-server      0.7.2
tensorflow                   2.16.2
tensorflow-io-gcs-filesystem 0.37.1
termcolor                    2.4.0
threadpoolctl                3.5.0
typing_extensions            4.12.2
tzdata                       2024.1
urllib3                      2.2.2
webencodings                 0.5.1
Werkzeug                     3.0.3
wheel                        0.40.0
wrapt                        1.16.0
yfinance                     0.2.40

Uninstall all pip packages

$ pip uninstall -y -r <(pip freeze)

Notes

About

Stock data app.


Languages

Language:Python 100.0%