Inspiration
informing the consumer We hear how expensive buying cups of coffee at locations such as Starbucks can be. Additionally, we find that following a utility model, people can create their own coffee and achieve similar amounts of coffee utility as they were to just go to a drive-thru, but they also experience the utility of saving money.
What it does
The program quantifies a rough estimate as to what they are giving up in terms of opportunity cost of buying coffee from making it yourself. It accounts factors such as how much you currently buy your coffee for and compares it to a coffee that is sustainable for the Earth.
How we built it
We used python and integrated yahoo finance as well as matplotlib to visualize how much money an individual can save/invest/donate.
Challenges we ran into
We ran into challenges trying to determine what would be a way that the opportunity cost could be quantified. We figured that getting the weekly amount a person would save and donate/invest would equal an equation: intake*(costBuying-costMakingityourself) + GasWasted*priceofGas, however, there are other variables that need to be questioned and further researched: how long does it take to wait for your coffee vs making it yourself? It was difficult accounting for many variables.
Accomplishments that we're proud of
We are proud that we were able to get a rough estimate of the growth rate of several different stocks with the integration of Yahoo finance. Being able to see a plot of how much of an opportunity cost is expended with purchasing coffee was also fun to build.
What we learned
We all learned Python for the first time! We not only learned about python, but we used our first integration of yahoo finance into our application that we feel makes it more fun seeing the opportunity cost for rather than a high-yield savings account.
What's next for CoffeeBeans
We only assumed 1 stock. It would be fun to see how the growth could have panned out if we integrated covariance and maximized the value of the portfolio for a given amount of stocks. Also having the user pledge a certain amount to donate or invest in a given frequency would be a great addition.
Built With
- finance
- python
- yahoo
Log in or sign up for Devpost to join the conversation.