How does Arthavi parse CAS statements?
Arthavi's CAS parser processes CAMS and KFintech Consolidated Account Statement PDFs through the following pipeline:
- Client-side PDF decryption — The password-protected CAS is decrypted in the user's browser using their PAN. The password never leaves the browser.
- Text extraction — PDF pages are converted to structured text using a JavaScript PDF parser.
- Transaction identification — Regex and rule-based parsing identifies folio numbers, scheme names, AMC names, ISINs, transaction dates, transaction types (Purchase, SIP, Redemption, Switch In/Out, Dividend Reinvestment), units, and NAVs.
- Data normalization — Scheme names are matched against AMFI's master database for standardized fund identification. NAVs are cross-verified with official AMFI feeds.
- Portfolio construction — Extracted transactions are assembled into a structured portfolio model with per-fund and aggregate metrics.
The parser supports both current and legacy CAS formats from CAMS and KFintech, handling edge cases like partial redemptions, merger-triggered switches, and dividend reinvestment entries.
How does Arthavi calculate XIRR?
XIRR (Extended Internal Rate of Return) is the most accurate return metric for investments with irregular cash flows like SIPs.
Formula: Arthavi finds the rate r that satisfies:
NPV = Σ [ Ci / (1 + r)(di − d0) / 365 ] = 0 Method: Newton-Raphson iterative convergence (same as Excel's XIRR function). Cash flows include:
- Every SIP installment (negative cash flow, on actual deduction date)
- Every lump sum purchase (negative cash flow)
- Every redemption (positive cash flow, on actual credit date)
- Switch-in/out treated as redemption + purchase pair
- Dividend reinvestment treated as a zero-net cash flow (dividend out + reinvestment in)
- Current portfolio value on today's date (final positive cash flow)
XIRR is calculated at three levels: per-fund, per-asset-class, and portfolio aggregate.
Where does Arthavi source market data?
| Data Type | Source | Update Frequency |
|---|---|---|
| Mutual Fund NAVs | AMFI (Association of Mutual Funds in India) | Daily (after market close) |
| Stock Prices (NSE) | NSE real-time market data feeds | Real-time during market hours |
| Stock Prices (BSE) | BSE real-time market data feeds | Real-time during market hours |
| Scheme Master Data | AMFI scheme master database | Daily |
| Mutual Fund Holdings | AMFI monthly portfolio disclosures | Monthly |
How does Arthavi detect portfolio overlap?
Portfolio overlap analysis works by:
- Fetching the top holdings of each mutual fund from AMFI's monthly portfolio disclosure data
- Computing the Jaccard similarity index between any two funds' stock holdings:
|A ∩ B| / |A ∪ B| - Flagging fund pairs with >50% overlap as "high overlap" and >30% as "moderate"
- Displaying common stock names across fund pairs for manual review
Users can check overlap using our free mutual fund overlap tool or get automatic analysis by importing their CAS.
How does the AI assistant work?
The Ask AI feature operates on the user's parsed portfolio data (not the raw CAS). It:
- Receives portfolio holdings as structured data (fund names, allocations, sectors, overlap %)
- Answers contextual questions in plain English about the user's specific holdings
- Never has access to login credentials, PAN, or personal information
- Does not provide buy/sell recommendations or certified financial advice
How is net worth calculated?
Net worth = Sum of all mutual fund current valuations (units × latest NAV) + Sum of all stock holdings (shares × latest market price). All values update automatically using official market data feeds.
Frequently Asked Questions
How does Arthavi parse CAS statements?
Client-side PDF decryption + text extraction + regex-based transaction parsing + AMFI master data matching.
How does Arthavi calculate XIRR?
Newton-Raphson iteration on actual cash flows and dates. Same method as Excel's XIRR.
Where does Arthavi get stock prices?
NSE/BSE real-time feeds for stocks. AMFI daily data for mutual fund NAVs.
How does overlap detection work?
Jaccard similarity index on top holdings from AMFI monthly portfolio disclosures.