Inspiration

Inspired by the theoretical physics thought experiment Schrödinger's cat.

What it does

Schrödinger’s Portfolio allows users to theoretically buy stocks from the past and sell it at today’s value to see how much you could’ve made or would’ve lost.

How we built it

We built it by hooking up a Node JS / Express web server to IEX cloud's API. After receiving stock data from the API, in the form of what IEX Cloud calls "messages", we display the stock data on the client side through embedded JavaScript, HTML and CSS.

Challenges we ran into

We ran into issues rendering the API data on the client side. When we were storing the API messages into variables they kept returning as "promises" and not any other resolved value that we were used to seeing in any of our CS classes. We also ran into some issues where the app wouldn't work because of certain unresolved edge cases, such as the user attempting to retrieve stock market data on dates in which the market was closed, which would make the application crash.

Accomplishments that we're proud of

We are proud to have been able to work as a team in order to accomplish our goal in such a short period of time. We are also proud to have completed a presentable beta version of our project that is deployed and in production.

What we learned

We learned about web technologies on the front end and back end. We also learned about how to use an API, about financial data and how to build a REST API. This was the first time for all of us to use git as some rudimentary form of version control in order to code as a team on a single project.

What's next for Schrödinger's Portfolio

We would like to add more features such as allowing users to access crypto data and also display charts and graphs, also fix any unresolved bugs / edge cases which may cause the application to work not as intended.

Share this project:

Updates