TOOL REFERENCE
get_peer_comparison
Auto-selected peer group with valuation & profitability medians. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.
get_peer_comparison
Auto-selected peer group with valuation & profitability mediansUSE WHEN
Compare a company against its actual industry peers — sized and grouped automatically, not a hand-picked watchlist.
PARAMETERS
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Company name, symbol, code or ISIN. |
limit | integer | No | 8 | Max 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.
/stocks/{q}/peersKEEP 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.