get_fii_retail_divergence
Identify buy or sell signals by detecting divergence between FII and retail investor activity in Indian stocks using quarterly NSE shareholding data.
Instructions
Detect FII vs retail divergence — the highest-conviction signal in Indian markets.
When FII and retail move in OPPOSITE directions on the same stock:
FII buying + retail selling = institutional accumulation (BUY signal)
FII selling + retail buying = institutional distribution (SELL signal)
"FIIs bought ₹800Cr of HDFC Bank while retail was panic selling — historically this means +18% in 3 months"
Based on public NSE shareholding disclosures (quarterly).
Args: symbol: NSE symbol (e.g. HDFCBANK, RELIANCE, TATAMOTORS)
Returns:
divergence_type, signal, confidence
interpretation + historical_implication
raw shareholding change data (FII, DII, retail QoQ)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |