Skip to content

Discord bot that creates stock charts using yahoo finance and finviz.

Notifications You must be signed in to change notification settings

TapeReaderJoe/chart-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChartBot

Simple chart-bot for discord that listens to the command !chart or !wchart.

Installation

First off you need to configure a bot to get a token, try this guide. Add your bot-token to chart_bot.py:45.

Install the requirements for the code.

pip3 install -r requirements.txt

Start the bot by running chart_bot.py.

And if everything is done correctly the bot should appear in your Discord server and starts listenting to the command !chart or !wchart for weekly charts.

The CLI: !chart <ticker> <style='defined_styles'> <offset=int>

style: provide one of the defined styles {'qullamaggie', 'ibd', 'stockbee', 'light'}, default value is 'qullamaggie'.

offset: the number of months history of stock data, default = 9 for daily and 40 for weekly.

Examples

!chart nvda qullamaggie

!chart nvda style=ibd ibd

!chart nvda style=stockbee stockbee

!chart nvda style=light light

About

Discord bot that creates stock charts using yahoo finance and finviz.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages