Get Policy Events
get_policy_eventsRetrieve executive orders from the Federal Register filterable by date, sector, or title. Each event includes the number of official trades in affected sectors near the signing date.
Instructions
List mirrored executive orders (policy events) from the Federal Register feed. Filter by signing-date range, affected sector, or free-text title query. Each event includes its Federal Register document number (externalId), title, signing date (eventDate), normalized affected sectors, full-text URL, and flaggedTradeCount — the number of official trades that occurred in an affected sector near the signing date. IMPORTANT: matches are sector-level co-occurrence — the official traded a stock in a sector the executive order affects, within a window of its signing date. Sector matches are broad and many trades will coincide with policy activity by chance; a match is a starting point for research, not evidence of foreknowledge. The matchBasis field describes match strength only ('sector' = broad sector match), never culpability, and matchCount shows how many EOs matched in the window (a noise indicator).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search over event titles | |
| to | No | Latest signing date inclusive (YYYY-MM-DD) | |
| from | No | Earliest signing date inclusive (YYYY-MM-DD) | |
| limit | No | Maximum results to return (default: 25, max: 100) | |
| offset | No | Pagination offset (default: 0) | |
| sector | No | Filter by canonical affected sector (one of the 11 canonical sector strings, e.g. "Healthcare", "Financial Services", "Energy") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |