Upcoming earnings, with insider buying
get_earnings_calendarCompanies reporting earnings soon, with the date, time (before open / after close) and countdown, joined with recent insider activity. With only_with_insider_buying=true it answers 'which companies reporting soon have insiders been buying?' — insiders buying ahead of a report is a rare and closely watched signal. Also use for 'when does X report?' (pass tickers=['X'], only_with_insider_buying=false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| tickers | No | Optional: only these tickers. | |
| days_ahead | No | Companies reporting within this many days (1–60). | |
| insider_lookback_days | No | Insider look-back window (7–365 days). | |
| only_with_insider_buying | No | True = only companies where insiders made open-market purchases in the look-back window (the 'edge' list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Caveats, data-quality notes, next steps. | |
| results | Yes | Structured results (rows or an object). | |
| sources | Yes | Links to official SEC filings / pages backing the answer. | |
| summary | Yes | Plain-language answer. Quote this, then cite sources. | |
| data_as_of | Yes | Latest SEC filing date included in the data (YYYY-MM-DD). | |
| disclaimer | No | Public-record data for research and education. Not investment advice. Insider trades can be routine (pre-planned 10b5-1 sales, taxes, diversification); correlation is not causation. |