A simple telegram bot to track stock portfolio in Bovespa.
First you'll need to create the bot using Telegram's BotFather to get a token. Then edit
finbot/finbot.py
with your bot's token and it's all set.
The bot have a few commands:
- /price <STOCK_CODE>: fetch the current price
- /buy <STOCK_CODE> <QUANTITY> <PRICE>: adds a certain quantity of stocks to the user portfolio
- /sell <STOCK_CODE> <QUANTITY> <PRICE>: removes a certain quantity of stock from the user portfolio
- /current: summarizes the current portfolio value