portfedh/fundamental_analysis_report ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python notebook that creates a polished PDF fundamental analysis report for any stock ticker using data from Financial Modeling Prep. I want to enter a company ticker and my API token, run everything, and get a report like the sample PDFs in this repo.
The report should include a short company overview, then 5 years of financial statements shown in both raw dollar amounts and common size percentages. It should also generate clear charts for the income statement, balance sheet, cash flow statement, and a view of profit distribution versus reinvestment. Please save the images needed for the PDF in an images folder with input and output subfolders, and let me swap in my own logo easily.
Keep it straightforward for a non developer to run, with setup notes and any small fixes needed so the notebook works reliably. If there are known issues around image export or PDF generation, handle them in the cleanest practical way. You can look up current docs online if needed.
Have a live product UI? Try website reverse