Alphalens Logo
HomeFeaturesMethodologyLoginSign Up
Documentation

Analysis
Methodology

Complete documentation of all calculations, theories, and recommendation frameworks used in Alphalens Portfolio Analyzer.

Section 1

Basic Portfolio Metrics & Calculations

Fundamental metrics used to track portfolio performance.

Investment Value

Total amount invested at the time of purchase.

Buy Price × Quantity

Current Value

Present market value based on live/delayed prices.

Current Price × Quantity

Absolute Gain/Loss

The rupee amount of profit or loss.

Current Value - Investment Value

Percentage Gain/Loss

Return on investment relative to size.

(Gain/Loss ÷ Investment) × 100

All-Time High (ATH) Since Purchase

The highest price a stock reached since the buy date. Potential Gain from ATH measures missed profit-taking opportunities.

((ATH - Buy Price) ÷ Buy Price) × 100
Section 2

Sector & Category Analysis

Frameworks for analyzing diversification and market capitalization exposure.

Market Cap Categories

L
Large Cap
Top 100 companies • Stable, lower risk
M
Mid Cap
Ranked 101-250 • Moderate risk, growth potential
S
Small Cap
Beyond 250 • Higher risk, higher potential

Ideal Diversification

Conservative Mix
60% Large
30% Mid
10%
Aggressive Mix
40% Large
35% Mid
25% Small
Max 30-35% per sector, 15-20% per stock
Section 3

Benchmark Comparison Methodology

Alpha (Outperformance)

Measures performance relative to the market. Uses trailing 1-year returns.

Portfolio Return % - Benchmark Return %
Positive Alpha

Outperforming the market

Negative Alpha

Underperforming (consider index fund)

Benchmarks Used

NIFTY 50
Primary Benchmark
SENSEX
Secondary
NIFTY Bank
Sector-specific
Section 4

Value Investing Framework

Based on Benjamin Graham/Warren Buffett philosophy: buying assets below intrinsic value.

P/E Ratio < 15+2 pts
P/E Ratio > 25-1 pt
P/B Ratio < 1.5+2 pts
P/B Ratio > 3-1 pt
Dividend Yield > 3%+1 pt
Debt-to-Equity < 0.5+1 pt

Score Interpretation

≥ 3: BUY (Undervalued)
-2 to 2: HOLD (Fairly Valued)
≤ -2: SELL (Overvalued)
Section 5

Growth Investing Framework

Focuses on companies with strong revenue and earnings potential.

Revenue Growth > 15% YoY+2 pts
Revenue Growth < 0%-1 pt
Earnings Growth > 20% YoY+2 pts
Earnings Growth < 0%-1 pt
ROE > 20%+1 pt
Near 52-Week High (>90%)+1 pt

Score Interpretation

≥ 3: BUY (Strong growth)
-2 to 2: HOLD (Average growth)
≤ -2: SELL (Weak indicators)
Section 6

Recommendation Engine Logic

Combines Value and Growth perspectives into a final action plan.

Combined Score Formula

(Value Action Score + Growth Action Score) ÷ 2

Action Scores: BUY=2, HOLD=1, SELL=0

BUYCombined Score ≥ 1.5
HOLDCombined Score 1.0 to 1.49
SELLCombined Score < 1.0
Section 7

Portfolio Health Score

A composite metric evaluating four key dimensions (0-100 scale).

Performance Score30%
Diversification Score25%
Risk Score20%
Recommendation Score25%
80-100
Excellent
60-79
Good
40-59
Average
< 40
Needs Work
Section 8

Rebalancing Strategy

Rebalancing Triggers

  • Sector exceeds 35% allocation
  • Single stock exceeds 20% allocation
  • Multiple stocks with losses > 25%

Rebalancing Actions

  • • Sector > 35%: Reduce to ≤ 30%
  • • Stock > 20%: Trim to ≤ 15%
  • Value Style: Average down on quality; trim winners
  • Growth Style: Cut losers quickly; let winners run
Section 9

Risk Metrics

Correlation Matrix

Range -1 to +1. Aim for average correlation < 0.5 for diversification benefits.

Annualized Volatility

Daily Volatility × √252. Measures price swing risks.

Max Drawdown

Largest percentage drop from peak to trough.

Section 10

Advanced Portfolio Metrics

Institutional-grade analysis across 10 layers.

10.1

Structural Diagnostics

Thematic clusters and industry concentration checks

10.2

Style Analysis

Value Tilt vs. Growth Tilt percentage calculation

10.3

Concentration Risk

Flags if Top 3 stocks constitute > 50% of portfolio

10.4

Risk-Adjusted Returns

Sortino Ratio and Beta calculations

10.5

Behavior Analysis

Patient Investor (>365 days) vs. High Churn (<90 days)

10.6

Drift Analysis

Alignment Score (0-100) comparing sector weights against Nifty 50

10.7

Overlap Detection

Identifies duplicate exposure via business groups

10.8

Liquidity Risk

High risk if > 5 days to liquidate position

10.9

Macro Sensitivity

Interest rates, Crude Oil, Currency impact tracking

10.10

Scenario Analysis

Stress tests: Nifty falls 10%, Banking drops 15%

Section 11

Dividend Yield Metrics

Portfolio Dividend Yield

Weighted average yield of all holdings

Σ(Stock Yield × Stock Weight)
High Yield (> 4%)PSU Banks, Utilities
Low Yield (0-2%)Growth stocks, Tech
Section 12

Tax Implication Metrics

Union Budget 2024 rates

Short-Term Gains (STCG)

20%

Stocks held < 12 months

Long-Term Gains (LTCG)

12.5%

Stocks held ≥ 12 months. Exemption: ₹1.25 Lakh/year

Other Costs

STT (Sell)0.1%
Stamp Duty~0.015%

Ready to apply these methods?

Experience institutional-grade analysis powered by the frameworks documented above.

Alphalens Logo

© 2026 Edhaz Financial Services. All rights reserved.

Disclaimer: The information provided is for informational purposes only and should not be considered financial advice. Please consult a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.

Alphalens by Edhaz Financial Services Private Limited

Alpine Eco, Doddanekundi, K R Puram Hobli, Bangalore 560037