Tool to calculate your MF investment returns and benchmark each fund wrt Nifty 50 performance from the date of investment
- Required columns in the input csv file:
- "symbol" - Name/Symbol of the MF
- "isin" - Security ID (ISIN) of the MF
- "trade_date" - Purchase date
- "price" - NAV on purchase date
- "quantity" - Units bought
- For CAMS & KFin statement, first run
CAMS_RTA_ISIN.ipynb
in the cams folder, which will create the required csv file with ISIN of the funds - Paramters to be edited in
MF_Return.py
:- currDate = date(2023, 1, 6) (Current date in year,month,date format)
- file = "mf_2022_buy.csv" (Input csv file)
- Run the
MF_Return.py
scriptPackage requirements:
numpy, pandas, scipy, urllib
- Output Summary Excel example MF_Summary.xlsx for the input file mf_transactions.csv