farefive/stoX — reverse-engineered prompt

Reverse engineered prompt

Build me a desktop stocks portfolio manager called stoX. I want a clean app where I can add, view, search, and remove stock holdings, organize them into grouped portfolios, and see the total value plus lifetime profit and loss in real time from one dashboard.

It should pull live prices for both US stocks and Saudi Tadawul stocks, support viewing values in USD and SAR, allow fractional shares like 0.5, show company logos next to ticker symbols, and suggest stock symbols or company names while I type in the search box. Please save everything locally so my portfolios are still there when I reopen the app, and include a nice looking interface with simple charts or graphs for performance.

Make it run as a desktop app with Java and Maven, and have it read the market API keys from a .env file placed next to the source folder or the built jar. If you need anything, look up the current docs online and wire the whole thing up so it feels complete.

Want more depth? Deep Reverse