Skip to content

k-laz/DiscordInvest

Repository files navigation

Discord Invest logo

GryphHacks 2022 submission

Usage

  • $invest - Initializes the trading platform, all commands follow it
  • sell - Sell shares
  • buy - Buy shares
  • portfolio - To view your portfolio
  • help - To view a list of commands

Inspiration

The recent market crash made us very conscious of our investments. This inspired the creation of Discord Invest, a mock trading platform in a convenient form of a Discord bot. By gamifying the exchange, users can learn more about trading strategies, compete with friends, and ultimately have fun!

How we built it

Discord Invest was built collaboratively using python with discord.py library as our main tool. The functionality is split into several classes responsible for their own domain such as User, Stock, and DataBase. The user data is saved with the use of CockroachDB, a commercial distributed SQL database management system. Our primary tool for obtaining live financial data is Finnhub Stock API.

What did we learn

We learnt that collaborating on a technical projects with teammates in multiple timezones is a challenge of a bigger magnitude than one initially expects. Both GIT and Discord were invaluable in the efficient cooperation that culminated in this project. On the technical side, we learnt how to use financial API's, store data in the cloud using a relational database, and use a very convenient python library to build the bot.

Built With

Getting Started

To get started Join the server!

License

Distributed under the MIT License. See LICENSE for more information.

About

GryphHacks 2022 submission

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published