We love stocks, Linux, and algorithms. We believe financial literacy can be fun, and it belongs on the terminal.

What it does

_ cmd_my_stocks _ uses a trading bot to allow users to customize automated day trading decisions with Linux commands. Using transformative Alpaca API, users simply need to hook our bot to their Alpaca account and run our script to be on the road making great trade choices. Later, instead of leaving your computer running all day, you can watch how your algorithm has bought and sold stocks through the week by using Google Cloud VM- just another thing our script facilitates.

How we built it

We set up an Alpaca account, built a simple trading bot (inspired by some on the Internet and more than a few Medium articles), developed a Linux command line interface, and connected our portfolios to Google Cloud for endless trading and financial growth.

Challenges we ran into

Integrating all of our ideas and findings was the greatest challenge, and facilitating a connection with Google Cloud while retaining all our other functions. We were happy to overcome our challenge with the remote machine after reading a rabbit-hole of Google Cloud docs and piecing some wins together. Now, our user can start by creating a VM instance, inputting a few details, and our bot will automatically run on the remote machine soon after.

Accomplishments that we're proud of

Emily - This was my first time building my own Linux command. Seeing several topics that excite me (cloud computing, Linux, python, finance, and math) combine for such a practical application feels like such an accomplishment. Andrea - Simplifying the many choices people have to make on a daily basis and increasing productivity is always something I'm very excited about. Trading individual stock can be extremely time consuming, as it requires time to study market behavior and being in the know with trends. We're passionate about doing the most that we can with our time, and the command line certainly has helped us do that. If we could encourage people to do tiny bits of research to greatly benefit the long run (i.e., learning about stock momentum and some simple math),

What we learned

Emily - We learned about the extensions amount of tools (API, learning resources, data) available for online stock trading. We definitely see so much opportunity in the fields of finance and investment for our fellow computer nerds! Andrea - I also learned a great deal about cloud computing and secure shell for secure trading, I had previously had much more experience with mobile development (Android) and less experience with Linux programming, but coding with one of my best friends changed that for me!

What's next for cmd_my_stocks

We want to develop it so it is easy for mathematicians/programmers to implement their own algorithms. So, we would probably separate a lot of the functions so a person can simply run a python script containing the algorithms straight on the cloud or their PC.

Share this project: