renankin/investment-analyser ? reverse-engineered prompt

Reverse engineered prompt

Build me a local web app in Python for tracking my investments across multiple accounts.

I want to be able to add accounts, assets, and buy and sell transactions, then edit or delete those transactions later if I need to fix something. The app should show a clear portfolio dashboard with my holdings, latest saved prices, total value, allocation by asset and sector, and how everything is spread across accounts.

It should support stocks, ETFs, and Brazilian government bonds, and be able to fetch market data when I ask for it, including stock and ETF prices, bond prices, dividends, and splits. I’d also like history pages for prices, transactions, splits, and dividends, plus proper performance analysis that includes sales, dividends, open positions, absolute ROI, and annualized IRR.

If possible, add charts for portfolio value over time for the whole portfolio, a single account, or one asset, and a way to search ETFs and compare them using fund details, historical performance, sector weighting, and top holdings. Use the existing README as the guide and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab