Skip to content

A simple telegram bot to track stock portfolio in Bovespa

License

Notifications You must be signed in to change notification settings

leandrobbraga/finbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finbot

A simple telegram bot to track stock portfolio in Bovespa.

Installation

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.

Usage

The bot have a few commands:

  1. /price <STOCK_CODE>: fetch the current price
  2. /buy <STOCK_CODE> <QUANTITY> <PRICE>: adds a certain quantity of stocks to the user portfolio
  3. /sell <STOCK_CODE> <QUANTITY> <PRICE>: removes a certain quantity of stock from the user portfolio
  4. /current: summarizes the current portfolio value

About

A simple telegram bot to track stock portfolio in Bovespa

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages