Stonks Spartan

So it has been a while since my previous stock analysis tool broke. Honestly, I procrastinated a little bit, but have finally gotten to a little MVP for the application, and have deployed it to https://stonks.samuelpua.com/.

This time, I wrote the entire tool as a web-based management portal, allowing easier management, as opposed to the previously CLI tool. Therefore, the complexity is definitely higher, even though I created a few web-based application previously.

In terms of application architecture, I went with the approach of:
– Frontend: Angular (Should REALLY have went React, but I did some stuff with Angular previously)
– Backend: Go (Gorrila Mux)
– Database: Postgres

I really wouldn’t go through the code base, as it’s significantly larger than previously. However, the key functions of the app is currently designed as:
– Yahoo Finance download (can take in other providers, but not now, probably ever as far as I’m the only person doing it)
– Overall asset universe
– Portfolio management
– Algorithm Reports — Can be scheduled to run regularly
– Report Notification & Alerts (Through a Telegram Bot)
– Hopefully backtest functionality to be added in the future

Just some screenshots of the app right now:

Asset Screen
Portfolio Screen
Example of an Algorithm Report

Overall, I’m quite pleased at where it is right now. To be honest, there’s a bunch of bugs, a bunch of issues with it definitely, but it has managed to fulfil its base requirements, and I use it genuinely for my own investments with money on the line.

LEAVE A COMMENT