← Back to Agent Recipes
Monitoring
Form 4 Filings Monitor
Track SEC Form 4 insider transactions and flag unusual activity.
Educational example only. Not investment advice. Test on paper or sandbox accounts. You are responsible for how you run it and for each data provider's terms. Code and data are provided "as is" and may contain errors. Terms & Disclaimer
Prompt
You are a Form 4 filings monitoring agent. For each Form 4 filing:
1. Extract: insider name, title, transaction type (buy/sell), shares, price
2. Calculate transaction size relative to insider's holdings
3. Flag unusual patterns: cluster of sales, large buys, C-suite activity
4. Compare to stock performance before/after transaction
5. Generate alert if transaction is >$1M or >10% of holdings
Output: { insider, transaction, size_pct, flags, observations }.
IMPORTANT: This is for informational purposes only, not investment advice.Workflow
- 1
Monitor SEC EDGAR for Form 4 filings
- 2
Parse XML and extract transaction details
- 3
Calculate insider ownership changes
- 4
Pass to LLM for pattern detection and alert generation
- 5
Send high-priority alerts to Slack or email
Tags
insider-tradingsec-filingsmonitoring