Skip to content

A Discord bot dedicated to keeping you up to date on your stock list.

Notifications You must be signed in to change notification settings

joonhoswe/StockBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

StockBot

Project Overview

This Discord bot is designed to provide real-time stock market updates directly within your Discord server.

Tailored for gamers, individual investors or stock market enthusiasts, the bot offers personalized stock tracking and regular market updates, ensuring users are always in the loop with the latest financial information.

Screenshot 2024-01-21 at 3 18 51 PM

Features

Stock Watchlist: Users can add or remove stocks to their personal watchlist, allowing for customized tracking of specific stocks.

Real-Time Updates: The bot fetches the latest stock prices using the Alpha Vantage API, providing up-to-date market information.

Direct Messaging: Stock updates are sent directly to users, ensuring a clutter-free experience and personal data privacy.

Easy Interaction: Users can interact with the bot using simple commands to add or remove stocks from their watchlist or to set their refresh rate for updates.

Commands

!addstock : Adds a stock to the user's watchlist and reports its current price.

Screenshot 2024-01-21 at 3 20 01 PM

!removestock : Removes a stock from the user's watchlist.

Screenshot 2024-01-21 at 3 20 44 PM

!stockPrice : Returns current stock price.

Screenshot 2024-01-21 at 3 21 24 PM

!showStocks: Returns watchlist of stocks.

Screenshot 2024-01-21 at 3 21 32 PM

Installation and Setup

Run python -m pip install -r requirements.txt

Set up environment variables for your Discord token and Alpha Vantage API key.

Enter your Discord Channel ID.

Run the bot using python bot.py.

Congrats! You're now ready to become a wall street bro.

Technologies Used

Discord.py: A Python library for interacting with the Discord API, used for creating and managing the bot.

Alpha Vantage API: Provides the financial data and real-time stock prices.

Python: The primary programming language used for the development of this bot.

About

A Discord bot dedicated to keeping you up to date on your stock list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages