This project is a Mutual Fund Analytics Capstone Project focused on building a complete data analytics pipeline for the Indian Mutual Fund industry.
The project includes:
- Data ingestion from CSV datasets
- Live NAV data collection using MFAPI
- Data quality validation
- Data cleaning and transformation
- Exploratory Data Analysis (EDA)
- SQL-based analysis
- Dashboard development
- Business insights and reporting
MUTUAL_FUND_ANALYTICS
│
├── data/
│ ├── raw/
│ └── processed/
├── EDA_charts/
├── notebooks/
├── Fund Performance Analytics outputs/
├── database/
├── sql/
├── dashboard/
├── reports/
│
├── data_ingestion.py
├── data_cleaning.py
├── database.py
├── live_nav_fetch.py
├── requirements.txt
├── data_dictionary.md
├── README.md
The project uses the following datasets:
- Fund Master
- NAV History
- AUM by Fund House
- Monthly SIP Inflows
- Category Inflows
- Industry Folio Count
- Scheme Performance
- Investor Transactions
- Portfolio Holdings
- Benchmark Indices
- Created project folder structure
- Initialized Git repository
- Connected project to GitHub
- Loaded all 10 datasets using Pandas
- Displayed dataset shapes
- Inspected column names
- Verified data types
- Displayed sample records
- Checked missing values
- Checked duplicate records
- Validated AMFI codes across datasets
- Identified unique fund houses
- Analyzed categories and sub-categories
- Examined risk classifications
- Connected to MFAPI
- Parsed JSON responses
- Converted API data into Pandas DataFrames
- Saved NAV history as CSV files
- Successfully loaded all datasets.
- No duplicate records found.
- All AMFI codes in
fund_masterexist innav_history. - Missing values were found only in
yoy_growth_pctwithinmonthly_sip_inflows.csv. - Dataset contains 10 mutual fund houses.
- Dataset includes Equity and Debt categories with multiple sub-categories and risk levels.
- Cleaned all raw datasets and created processed versions.
- Standardized column names across datasets.
- Converted date columns to proper datetime format.
- Removed duplicate records.
- Handled missing values using appropriate techniques.
- Corrected inconsistent data types.
- Standardized categorical values.
- Validated AMFI codes across related datasets.
- Created derived columns where required (e.g., year from date).
- Saved cleaned datasets into the
processedfolder.
- 01_fund_master_cleaned.csv
- 02_nav_history_cleaned.csv
- 03_aum_history_cleaned.csv
- 04_monthly_sip_inflows_cleaned.csv
- 05_category_inflows_cleaned.csv
- 06_industry_folio_count_cleaned.csv
- 07_scheme_performance_cleaned.csv
- 08_investor_transactions_cleaned.csv
- 09_portfolio_holdings_cleaned.csv
- 10_benchmark_indices_cleaned.csv
- Improved data consistency across datasets.
- Removed invalid and duplicate records.
- Prepared datasets for visualization and analysis.
- Established a clean data pipeline for downstream EDA and SQL analysis.
Created multiple visualizations to analyze trends, fund performance, investor activity, and portfolio allocation.
- Daily NAV Trend Analysis (Plotly)
- AUM Growth by Fund House (Seaborn)
- Monthly SIP Inflow Trend (Plotly)
- Category-wise Net Inflow Heatmap (Seaborn)
- Mutual Fund Folio Count Growth
- NAV Return Correlation Matrix
- Sector Allocation Donut Chart
- Daily NAVs showed an overall upward trend across most schemes.
- AUM increased consistently across major fund houses.
- Monthly SIP inflows demonstrated sustained growth over the analysis period.
- Equity-oriented categories attracted comparatively higher inflows.
- Mutual fund folios increased steadily, indicating growing retail participation.
- Daily NAV returns of several equity schemes showed strong positive correlations.
- Financial Services and Information Technology represented significant portions of portfolio allocations.
Performed comprehensive performance analysis of 40 mutual fund schemes using historical NAV data and benchmark indices. Calculated key risk-return metrics, compared fund performance against market benchmarks, and developed a composite fund scorecard.
- Loaded processed datasets:
- Fund Master
- NAV History
- Benchmark Indices
- Prepared and merged datasets using
amfi_codeanddate - Computed daily returns for all mutual fund schemes
- Calculated 1-Year and 3-Year CAGR from NAV history
- Documented 5-Year CAGR as unavailable due to insufficient historical data
- Calculated Sharpe Ratio using a 6.5% annual risk-free rate
- Calculated Sortino Ratio using downside deviation
- Estimated Alpha and Beta using linear regression against the NIFTY100 benchmark
- Computed Maximum Drawdown and identified peak-to-trough periods
- Built a composite Fund Scorecard (0–100) using weighted ranking methodology
- Compared the top 5 mutual funds against NIFTY50 and NIFTY100 over the last 3 years
- Calculated Tracking Error relative to the NIFTY100 benchmark
- Exported final analysis outputs
- Daily Returns
- CAGR (1-Year & 3-Year)
- Sharpe Ratio
- Sortino Ratio
- Alpha
- Beta
- Maximum Drawdown
- Tracking Error
- Composite Fund Score (0–100)
- Daily Return Distribution Histogram
- Daily Return Box Plot
- Top 10 Funds by Sharpe Ratio
- Top 10 Funds by Sortino Ratio
- Top 10 Funds by Alpha
- Drawdown Curve
- Top 10 Fund Score Comparison
- Top 5 Funds vs NIFTY50 & NIFTY100 (3-Year Performance)
- Tracking Error Comparison
Performance_Analytics.ipynbfund_scorecard.csvalpha_beta.csvtracking_error.csvbenchmark_comparison.png
- Financial Performance Analysis
- Risk-Adjusted Performance Evaluation
- Portfolio Analytics
- Time Series Analysis
- Linear Regression (OLS)
- Benchmark Performance Comparison
- Feature Engineering
- Data Visualization
- Pandas
- NumPy
- Matplotlib
- SciPy
- Python
- Pandas
- NumPy
- Requests
- Matplotlib
- Seaborn
- Plotly
- SQLAlchemy
- Jupyter Notebook
- Git
- GitHub
git clone <repository-url>cd mutual-fund-analyticspip install -r requirements.txtCSV Datasets
│
▼
Data Ingestion
│
▼
Data Validation
│
▼
Data Cleaning & Preprocessing
│
▼
Processed Datasets
│
▼
Exploratory Data Analysis (EDA)
│
▼
SQL Analysis
│
▼
Dashboard Development
│
▼
Business Insights & Reporting
The following charts were generated and exported as PNG files:
- NAV Trend Analysis
- AUM Growth by Fund House
- Monthly SIP Inflow Trend
- Category Inflow Heatmap
- Folio Count Growth
- NAV Return Correlation Matrix
- Sector Allocation Donut Chart
All charts are stored in the EDA_charts/ directory.
- SQL-based analytical queries
- Dashboard development using Power BI
- Advanced business insights
- Performance benchmarking against market indices
- Portfolio performance analytics
- Interactive reporting and visualization
Asritha Lalam
Mutual Fund Analytics Capstone Project