TIGZIG: Co-Analyst - MF Portfolio Holdings Analyzer (xlwings Lite) | TIGZIG Co-Analyst
Try the App Live

MF Portfolio Holdings Analyzer (xlwings Lite)

Two-period MF holdings analysis with data quality checks, ISIN mapping, and human-in-the-loop correction workflow. Automated with xlwings Lite

xlwings Lite: MF Portfolio Holdings Analyzer

Analyze changes in mutual fund holdings between two periods with automated data quality checks, ISIN name standardization, and human-in-the-loop correction workflow.

How xlwings Lite Works: The Python code is embedded directly inside the Excel file itself! Download the Excel file from the link below to get the complete app with all code and methodology documentation included.

⚠️ Prerequisite Step: This analyzer requires standardized text files as input. If you have raw mutual fund Excel files (with varying formats), first use the MF Portfolio File Converter with AI Schema Detection to convert them to the required format. The converter handles varying Excel layouts using AI-powered schema detection.


What This App Does

A deterministic Python pipeline for analyzing mutual fund portfolio holdings across two periods:

How to Use

  1. Prerequisite - Prepare Data: If you have raw MF Excel files with varying formats, first convert them using the MF File Converter with AI Schema Detection to get standardized text files.
  2. Download the app and install xlwings Lite from the Add-in button in Excel.
  3. Step 1 - Import Data:
    • Click "Import Data" button on Control Sheet.
    • Select your holdings file (.csv, .txt, or .pipe).
    • Data is imported into DATA sheet as table T_DATA.
  4. Step 2 - Run Stage 1:
    • Click "Run Stage 1" button.
    • Review ISIN_Mapping sheet for name standardization.
    • Check Namecut_Exceptions & Multiple_ISINs reports.
  5. Manual Correction: Edit the standardized_name_display column in ISIN_Mapping sheet to fix any grouping issues.
  6. Step 3 - Run Stage 2: Click "Run Stage 2" to generate final corrected analysis.
  7. View results: Check Summary_Analysis sheet and Charts for final output.

How It Works

This app implements a 3-step workflow designed for data quality and accuracy. Data Source: Raw mutual fund portfolio disclosure files (from fund websites) have varying formats and are first converted to standardized text using the MF File Converter with AI Schema Detection, which handles format variations automatically. A detailed methodology document is embedded in the Excel file. Here are the key technical components:

Excel-Python Bridge (xlwings Architecture):

ISIN Name Standardization Engine:

Data Quality Validation Reports:

Human-in-the-Loop Correction Workflow:

Key Design Principles:


Source Code & Resources

Source Code & Methodology: All Python source code and a detailed methodology document are embedded inside the Excel file! You can download the Excel file with complete code and documentation from the link above.


Created by Felix Zumstein, xlwings Lite delivers a powerful and flexible solution for integrating Python with Excel - enabling native Excel support for databases, AI agents, LLMs, advanced analytics, machine learning, APIs, web services, and complete automation workflows.