themicrocapinvestor/MFAnalysisNew ? reverse-engineered prompt

Reverse engineered prompt

Build me a Streamlit app for Indian mutual funds that does Weinstein style stage analysis and relative strength screening for Direct Growth schemes only.

I want a one time disclaimer gate on first load, then a clean dashboard with tabs for Home, Screener, Fund Analysis, Category, Momentum, Rolling Returns, Portfolio, and a Legend page. The app should pull NAV data, turn daily NAVs into weekly charts, show stage bands for the four Weinstein stages, and compare each fund against a benchmark with relative strength and category relative strength. It should also show trend signals, rolling return stats, and portfolio analytics like Sharpe, Sortino, beta, alpha, and max drawdown.

Make it easy to screen by fund, AMC, category, and theme, and include a portfolio mode where I can enter holdings and get a stitched report plus a simple chat assistant if an API key is available. Please keep it production ready, with cached data fetching, CSV export, and a clear disclaimer if the AI key is missing. If you need current docs for Streamlit or any API details, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab