Idea
I wanted to make something that feels like it has real world consequences, so my idea for the final project is a real life stock trading application. I want to create an integration that creates an interactive experience for the end user.
Implementation
There are 3 components to this idea: A physical method to trading stocks, a display of profits, and a web server that connects the integration to the outside world. The user should be able to choose to either buy Stock A, Stock B, or skip the purchase. There will also be a button to liquidate all stocks and turn a profit.
Arduino Implementation:
- A potentiometer that the user turns to select stock A, stock B, or skip
- A button that the user can press to liquidate stocks
- A servo that pushes down an airhorn upon liquidation
P5js Implentation:
- A display with the text of Stock A, B or skip
- A Graph with current value of stocks
- Text showing how much liquid and stock money the user has
Web Server Implementation:
- Send new stock data to P5JS
- Send wallet data to p5js
- Send purchase requests to Alpaca Stock API
The catch
its real money that I run away with at the end of the semester.