Inspiration
My goal was to learn about bot development for creating Trading Bots this was my initial inspiration but I'm in learning phase right now. So as beginner I started learning about it step by step.
What it does
The Stock Price extractor is bot on Discord platform. it will return basic responses for user which are already set in script. but If user wants stock price data ; he must provide stock name with "/"symbol at beginning here's user demo: Hello -> Hello there! time->_Time Right Now is 08:37:48.700330 roll dice -> _ You rolled: 6_ *for user to extract stock-price here's demo * ask stock name by beginning of "/" symbol like /NVDA -> Open High Low Close Adj Close Volume Date 2024-01-30 629.0 634.929993 622.599976 627.73999 627.73999 40746400 this is how you will get your price for right now user can inly fetch US markets data I'll add Indian markets to it asap
How I built it
This is my solo project and I had no experience in bot development before this but somehow I started development. I explored about Discord API and its documentation this step was so stressful and confusing but after overcoming this challenge I moved to the next phase of development where created a python script in which added basic responses for user commands and commands starting with "/" symbol will get stock price returned. It uses Yahoo Finance python library to get real time stock data of US markets and Python Pandas library to arrange data. For price accuracy bot will return "Last price" and its time along with Open High Low Close of stock
Challenges I ran into
- Had no prior experience in bot development and API handling
- Not having proper knowledge of deployment thus its remained 3.More Things in less time like learning many things as beginner and implementing them without any practice
Accomplishments that we're proud of
1.Successfully completed first hackathon 2.Successfully developed first bot 3.Made first project with Discord API and multiple libraries [Pandas, yahoo-finance, time, discord] 4.I am proud of myself for making my first hackathon submission successfully by own
What we learned
I learnt 1.how to create bots, 2.how to use APIs, 3.how to secure API keys using Environment variables, 4.how to read documentation effectively , 5. how to use multiple libraries at one project, and many more learnings
What's next for Stock Price Extractor Bot
I will create my own trading bot as I said at first line.
Thank you for organizing this lovely hackathon . Hope all hosts and judges will appreciate this :)
Log in or sign up for Devpost to join the conversation.