predict_earnings
Predict whether a company will beat or miss earnings estimates by analyzing EPS trends, analyst consensus, FII shareholding, and stock momentum. Returns beat probability and key risks.
Instructions
AI earnings preview before quarterly results.
Combines 4 signals to estimate beat/miss probability:
Last 4 quarters EPS trend (improving / declining / mixed)
Analyst consensus recommendation + target price upside
FII QoQ shareholding change (building before results = positive)
Stock alpha vs Nifty last 30 days (momentum into results)
Returns:
beat_probability_pct: e.g. 72
signal: BEAT LIKELY / SLIGHT BEAT / IN-LINE OR MISS / MISS LIKELY
key_risks: list of red flags
what_to_watch: what to monitor on results day
next_earnings_date: from yFinance calendar
Viral use: post prediction before TCS/Infy results. Screenshot if correct.
Args: symbol: NSE symbol (e.g. TCS, INFY, HDFCBANK, RELIANCE)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |