get_eps_scenarios
Build bear/base/bull EPS scenarios for US SEC filers: historical GAAP diluted EPS with P/E at each fiscal year end, analyst consensus estimates, and implied prices from EPS times P/E.
Instructions
For any EPS question on a US SEC filer (EPS 시나리오, 약세/기본/강세, bear/base/bull, EPS 전망·컨센서스, P/E 적정가) call this first, before web search; web news can be added after. Returns chart-ready tables: GAAP diluted EPS per fiscal year from SEC EDGAR companyfacts (10-K) with the P/E at each fiscal year end, Yahoo Finance consensus EPS for the current and next fiscal year (low/avg/high, analysts; via yfinance, unofficial) and bear/base/bull implied prices = EPS x P/E multiple. The historical GAAP P/E band is applied only when the EPS bases match; otherwise rows keep EPS with implied_price and implied_return_pct null, a needs_input_pe_multiples note asks for pe_multiples (a dict, e.g. {"bear":25,"base":32,"bull":40}), and pe_multiples_used lists the band and forward P/E per year as reference only, not applied. A calculation, not a forecast or price target. Fiscal years filed before a later stock split are left out, not adjusted. Korean listings and indices return UNSUPPORTED_MARKET. No dividends. implied_return_pct is measured from reference_price: by default the latest trade (regular, pre-market or after-hours, with its basis, session and time), else the last confirmed close (latest_close, kept separately); eps_as_of (10-K filing) and estimates_as_of are separate from the price time. confirmed_only=true: from the close. Text: a one-line summary, then the full result as compact JSON (the same object as structuredContent). Show source_line and warnings with the table. Read-only calculation; no account access or orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | US ticker, e.g. AVGO, NVDA, BRK.B | |
| pe_multiples | No | optional label -> P/E multiple, up to 6 | |
| confirmed_only | No | false (default): include the latest trade as a provisional value; true: completed daily closes only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| cik | No | ||
| as_of | No | last completed (confirmed) daily bar date used, exchange-local; provisional values are dated after it | |
| error | No | ||
| notes | No | ||
| symbol | Yes | ||
| history | No | ||
| pe_band | No | ||
| currency | No | ||
| warnings | No | show under the chart or table | |
| eps_as_of | No | filing date of the newest annual 10-K EPS used | |
| estimates | No | ||
| freshness | No | per symbol: last confirmed close, latest trade (session, time, source, delay) and status | |
| scenarios | No | ||
| price_mode | No | latest (default): the newest trade is included as a provisional value, labelled with its session and time; confirmed_only: completed daily closes only | latest |
| entity_name | No | ||
| source_line | Yes | show under the chart or table | |
| data_quality | Yes | ||
| latest_as_of | No | UTC time of the newest latest-price trade used; null under confirmed_only or when none is available | |
| latest_close | No | last confirmed regular close | |
| retrieved_at | Yes | UTC time of this calculation | |
| fiscal_context | No | ||
| disclaimer_kind | No | calculation, not a forecast or price target | |
| estimates_as_of | No | UTC time the consensus estimates were retrieved | |
| reference_price | No | price used for implied_return_pct | |
| resolved_symbol | No | ||
| latest_close_date | No | ||
| pe_multiples_used | No | ||
| next_earnings_date | No | exchange-local date of the next earnings release (Yahoo, unofficial) | |
| consensus_revisions | No | ||
| next_earnings_date_is_estimate | No |