No description
Find a file
2021-03-17 14:38:33 +00:00
.gitignore Added pycharm config files to gitignore 2021-03-16 13:29:38 +00:00
config.example.py Added command prefix to config 2021-03-09 02:22:45 +00:00
flat2mongo.py Added more debug print outputs 2021-03-09 00:41:04 +00:00
flatfile.py Moved flatfile database to flatfile.py 2021-03-08 13:34:51 +00:00
main.py Added chart to ticker command 2021-03-17 14:28:28 +00:00
mongo.py Function name updates 2021-03-11 12:09:05 +00:00
Pipfile Updated dependencies, fixed typo 2021-03-17 14:35:44 +00:00
Pipfile.lock Updated requirements 2021-03-07 17:54:36 +00:00
README.md Added more command aliases 2021-03-09 11:18:19 +00:00
requirements.txt Updated requirements 2021-03-07 17:54:36 +00:00
table.py Black formatting 2021-03-14 15:53:31 +00:00
table2.py Fixed more 2021-03-17 14:38:33 +00:00
yfi.py Updated dependencies, fixed typo 2021-03-17 14:35:44 +00:00

Discord bot to track stock portfolios

Install Guide

First, install dependencies and clone repo

# Required Dependencies
sudo apt install git python3.8 python pipenv

# Clone Repository
git clone git@git.sockspls.com:kate/stock-tracker-discord.git

Recommended: Install MongoDB (Otherwise, flat file is used)

Then, create pipenv environment

cd stock-tracker-discord
pipenv install

Setup config file

cp config.example.py config.py
nano config.py

Run script

pipenv run main.py

Usage

Commands:

Syntax
  command <required> [optional]

Add stock to portfolio
  add <ticker> <amount>

Delete stock from portfolio
  delete <ticker>
  del <ticker>

Get Portfolio
  portfolio
  pf

Add stock to watchlist
  watch <ticker> [expected price]
  w <ticker> [expected price]

Remove stock from watchlist
  unwatch <ticker>
  uw <ticker>

Get Watchlist
  watchlist [@user]
  wl [@user]