1,001 B
1,001 B
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]