TOOL REFERENCE

get_peer_comparison

Auto-selected peer group with valuation & profitability medians. This is a read-only tool: it returns raw market data or mechanically-computed ratios, never investment advice.

get_peer_comparison

Auto-selected peer group with valuation & profitability medians

USE WHEN

Compare a company against its actual industry peers — sized and grouped automatically, not a hand-picked watchlist.

PARAMETERS

get_peer_comparison parameters
NameTypeRequiredDefaultDescription
querystringYesCompany name, symbol, code or ISIN.
limitintegerNo8Max peers, capped at 15.

RESPONSE DATA

  • peers — market_cap, price, pe, pb, revenue_ttm, net_income_ttm, net_margin, roe/roa/roce, ev multiples, price-to-fcf, debt_to_equity, is_query.
  • peer_medians — pe, pb, net_margin, roe.
  • grain, grain_value, grain_widened, size_banded, peer_count.

NOTES

  • Peers are picked by SEBI industry classification (isubgroup, widening to igroup if fewer than 4 peers) within a 0.1x–10x market-cap band.

EXAMPLE PROMPTS

  • Compare HDFC Bank against its peers on PE, PB and ROE.

KEEP EXPLORING

Connect your AI to Indian stock market data

Sign in to DalalOS and connect your AI in one line of config. Free to start.