NayakwadiS/mftool ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library for Indian mutual fund data that can fetch publicly available scheme details and NAVs from AMFI and related sources.
I want to be able to pass a scheme code and get the latest quote, check whether the code is valid, pull all historical NAV data for that scheme, and list all available schemes with their codes. It should be easy to use in scripts and notebooks, and it should return results in a clean format like a dataframe, JSON, or a normal Python dict depending on what I ask for.
Please also include a way to get daily scheme performance and make it practical for building datasets or analytics workflows. If it makes sense, add caching so repeated requests are faster, and keep the code organized with tests and basic documentation. If you need to check the latest official data formats or source details, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit