Inspiration

We use Discord a lot, and we thought the best way to incorporate Goldman Sachs API with something that we were familiar with was to combine it with Discord's API for making a bot.

What it does

Sending a message with a certain prefix (a command, in this case with prefix '!') prompts the bot to output information using the parameters specified in the original command. The commands that we currently have output the growth and integrated scores, financial strength of returns, and multiple score for a company.

How I built it

My team and I built this Discord bot in Node.js. In order to effectively collaborate with each other, we used a website called 'Repl.it', a site which allows us to simultaneously work on code and run the code straight from a browser using a VM. We used 2 main APIs, Discord.js and GS Marquee.

Challenges I ran into

There were actually a few variations of our project, originally thinking about making an entire finance app in Android Studio. The problem this posed to us is the lack of effective collaboration, basically leaving one person to do most of the coding. We finally changed our idea to a web based Discord bot which functions off of user-input and Goldman Sachs API.

Accomplishments that I'm proud of

We successfully figured out how to get data from the Goldman Sachs API in JavaScript, a language that none of my team is familiar with (myself included).

What I learned

We actually learning a lot, starting with the fact that we coded a Discord bot in Node.js without knowing the language beforehand. In addition, we learned how getting data from an API works using oauth and HTTP requests. These skills can easily transfer over to other languages.

What's next for MHacks Financial Bot

The next steps are to add more functionality to the bot. We would like to add numerous features, such as getting portfolios, hedging, etc.

Built With

Share this project:

Updates