detect_earnings_quality
Identify earnings-quality red flags for Indian stocks: profit vs cash-flow gaps, receivables/inventory outpacing revenue, and other-income reliance. Generates a 0-100 score and flags.
Instructions
Flag earnings-quality concerns for an NSE/BSE-listed Indian equity: profit rising while operating cash flow falls, receivables/inventory growing faster than revenue, heavy reliance on non-operating "other income", and whether cash flow has actually backed reported profit. Produces a 0-100 score (share of checks that came back clean) plus a flag list. These are observations worth investigating, not proof of a problem.
:param symbol: ticker symbol, e.g. "RELIANCE", "TCS.NS", or "TCS.BO"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | Yes | ||
| score | No | 0-100: equal-weighted share of checks that came back clean (cfo>ni, fcf-positive, no outpacing receivables/inventory, no heavy other-income reliance) across the years evaluated | |
| symbol | Yes | ||
| years_used | Yes |