How niharxd/mutual-fund-analysis works
Bluestock Mutual Fund Analysis is a local analytics capstone, not a deployed investment service. Its main workflow profiles supplied CSVs, cleans them into processed datasets and a SQLite model, computes performance/risk and investor analyses, then presents results in interactive/static dashboards and final documents. The README also documents a separate risk-appetite recommender and optional MFAPI NAV download. Some subsystem internals are unsampled, so their documented capabilities are represented without asserting unverified internal calls.
Main entry points: run_pipeline.py Local workflow · processed Processed datasets · advanced_analytics.py Risk and investor analysis · day2_etl.py Cleaning and ETL
Components 16
Data ingestion
- Source CSVs
data/raw - Source profiling
data_ingestion.py - Cleaning and ETL
day2_etl.py - Processed datasets
data/processed - SQLite model
bluestock_mf.db - Local workflow
run_pipeline.py
Fund analytics
- Performance analysis
notebooks/Performance_Analytics.ipynb - Risk and investor analysis
analytics/advanced_analytics.py - Fund recommender
recommender.py
Results and dashboards
- Interactive dashboard
dashboard/app.py - Static dashboard exports
dashboard/build_dashboard.py - PDF and presentation
build_final_deliverables.py
External integrations
- Live NAV downloader
live_nav_fetch.py - Fetched NAV files
data/raw/live_nav
Other components
- Analyst
- MFAPI
Connections 24
- Analyst → Local workflow: runs workflow
README.md - Local workflow → Source profiling: runs optionally
run_pipeline.py - Source profiling → Source CSVs: profiles CSVs
data_ingestion.py - Local workflow → Cleaning and ETL: runs cleaning
run_pipeline.py - Cleaning and ETL → Source CSVs: reads CSVs
README.md - Cleaning and ETL → Processed datasets: writes cleaned data
README.md - Cleaning and ETL → SQLite model: loads model
README.md - Local workflow → Risk and investor analysis: runs analysis
run_pipeline.py - Local workflow → Static dashboard exports: builds exports
run_pipeline.py - Local workflow → PDF and presentation: builds documents
run_pipeline.py - Processed datasets → Performance analysis: analyzed in
README.md - Performance analysis → Risk and investor analysis: provides performance outputs
- Processed datasets → Risk and investor analysis: analyzed for risk
README.md - Risk and investor analysis → Fund recommender: provides analytics
recommender.py - Analyst → Fund recommender: selects appetite
README.md - Processed datasets → Interactive dashboard: reads datasets
README.md - PDF and presentation → Interactive dashboard: supplies scorecard
- Processed datasets → Static dashboard exports: renders trends
dashboard/build_dashboard.py - PDF and presentation → Static dashboard exports: reads scorecard
dashboard/build_dashboard.py - Risk and investor analysis → PDF and presentation: supplies risk outputs
build_final_deliverables.py - Analyst → Live NAV downloader: requests NAV fetch
README.md - Live NAV downloader → MFAPI: requests histories
live_nav_fetch.py - MFAPI → Live NAV downloader: returns NAV data
live_nav_fetch.py - Live NAV downloader → Fetched NAV files: saves histories
live_nav_fetch.py