fiAnalysis
├── overallAnalysis
│ ├── totalPortfolioValue - Total current market value of entire equity portfolio
│ ├── totalInvestedAmount - Total money invested across all stocks
│ ├── absolutePercentageReturn - Overall return percentage across entire equity portfolio
│ ├── profitAmount - Total profit or loss amount in rupees from all stock investments
│ ├── xirr - Extended Internal Rate of Return for entire portfolio (time-weighted return)
│ └── accountDetails (Information about investment accounts holding the stocks)
│ ├── name - Account holder's name
│ ├── dob - Date of birth of account holder
│ ├── mobile - Mobile phone number
│ ├── nominee - Nominee registration status (REGISTERED, etc.)
│ ├── dematId - Dematerialized account identifier (unique trading account number)
│ ├── folioNo - Folio number (if applicable)
│ ├── landline - Landline phone number
│ ├── address - Complete postal address of account holder
│ ├── email - Email address
│ ├── pan - Permanent Account Number (tax identifier)
│ ├── kycCompliance - Know Your Customer compliance status
│ ├── ckycCompliance - Central Know Your Customer compliance status
│ ├── linkReferenceNumber - Unique reference number linking account to data provider
│ └── dataFetchTimestamp - When account data was last fetched
│
├── stockWiseAnalysis (Detailed analysis for each individual stock holding)
│ ├── companyName - Full name of the company whose stock is held
│ ├── isin - International Securities Identification Number (unique stock identifier)
│ ├── accountDetails (Account information for this specific stock holding)
│ │ └── dematId - Dematerialized account where this stock is held
│ ├── benchmarkIndex - Reference market index for performance comparison
│ ├── scripcode - Stock script code used in exchanges
│ ├── symbol - Stock trading symbol (ticker symbol)
│ ├── xirr - Extended Internal Rate of Return for this specific stock
│ ├── totalInvestedAmount - Total money invested in this stock
│ ├── totalPortfolioValue - Current market value of this stock holding
│ ├── avgPurchasingPrice - Average price at which stock was purchased
│ ├── last52WeeksHighPrice - Highest stock price in the last 52 weeks
│ ├── last52WeeksLowPrice - Lowest stock price in the last 52 weeks
│ ├── priceToBookValueRatio - Price to Book Value ratio (valuation metric)
│ ├── marketCap - Total market capitalization of the company
│ ├── lastDateOfStockPriceUpdate - Last date when stock price was updated
│ ├── percentageContribution - What percentage this stock represents in total portfolio
│ ├── absolutePercentageReturn - Return percentage for this specific stock
│ ├── profitAmount - Profit or loss from this stock investment
│ ├── sector - Industry sector the company belongs to (Banking, IT, Pharma, etc.)
│ ├── peRatio - Price to Earnings ratio (company valuation metric)
│ ├── marketCapitalizationType - Company size classification (LARGE_CAP, MID_CAP, SMALL_CAP)
│ ├── units - Number of stock shares/units owned
│ ├── currentStockPrice - Current market price per share
│ ├── divYield - Dividend yield percentage (annual dividend as % of stock price)
│ ├── bookValue - Book value per share of the company
│ ├── faceValue - Face value (par value) of each share
│ ├── errorFlags - Any data processing issues, warnings, or validation errors
│ ├── currentlyInvested - Whether currently holding this stock (true/false)
│ ├── monthlyWorth - Month-by-month stock value tracking showing investment performance over time
│ │ └── YYYY-MM - Monthly portfolio value for this stock (e.g., "2024-01": 150000.00)
│ ├── transactions (Complete history of buy/sell activities for this stock)
│ │ ├── isin - International Securities Identification Number of the stock
│ │ ├── isinDescription - Detailed description of the security
│ │ ├── companyName - Full company name for this transaction
│ │ ├── rate - Price per share at which transaction occurred
│ │ ├── units - Number of shares bought/sold in this transaction
│ │ ├── total - Total transaction amount (may be null)
│ │ ├── transactionType - Type of transaction (BUY, SELL)
│ │ ├── txnId - Unique transaction identifier
│ │ ├── narration - Transaction description including broker details
│ │ ├── equityCategory - Category of equity (EQUITY, etc.)
│ │ └── transactionDateTime - Date and time when transaction occurred (as array: [year, month, day, hour, minute])
│ ├── dataFetchTimeStamp - When stock data was last fetched from source
│ ├── analysisStartDate - Start date for analysis period (as array: [year, month, day])
│ └── analysisEndDate - End date for analysis period (as array: [year, month, day])
│
├── accountWiseEquityAnalysis (Equity analysis broken down by individual investment accounts)
│ ├── stockWiseAnalysis (Same structure as main stockWiseAnalysis but account-specific)
│ ├── overallAnalysisStartDate - Start date for this account's investment analysis period
│ └── overallAnalysisEndDate - End date for this account's investment analysis period
│
├── marketCapBasedAnalysis (Overall portfolio distribution by company sizes)
│ ├── OTHER - Total percentage in other category investments
│ ├── SMALL_CAP - Total percentage invested in small-cap company stocks
│ ├── LARGE_CAP - Total percentage invested in large-cap company stocks
│ └── MID_CAP - Total percentage invested in mid-cap company stocks
│
└── sectorBasedAnalysis (Overall portfolio distribution by industry sectors)
└── [SECTOR_NAME] - Percentage allocated to each industry sector (Banking, IT, Healthcare, etc.)