Insider Trading
Get insider trading activity (SEC Form 4 filings) for one or more stocks.
by staskh · MIT
The skill
Get insider trading activity (SEC Form 4 filings) for one or more stocks. Use when user asks about insider buying/selling, executive transactions, insider sentiment, or Form 4 activity.
Insider Trading
Fetch recent insider transactions from Yahoo Finance (SEC Form 4 data).
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/insider_trading.py SYMBOLS [--days DAYS]
Arguments
SYMBOLS- Single ticker or comma-separated list (e.g.,NVDAorNVDA,PLTR,GOOG)--days- Trailing days to look back (default: 90)
Output
Returns JSON with:
transactions- List of insider trades with insider name, role, transaction type, shares, price, value, date, ownership typesummary- Net sentiment (net_buying,net_selling,neutral), buy/sell counts and values
For multiple symbols, results are ranked by net buying value (most buying first).
Use Cases
- "Show me insider buys for NVDA in the last 90 days"
- "Compare insider activity across NVDA, PLTR, GOOG"
- "Which of these stocks has the most insider selling recently?"
Dependencies
yfinance
Timezone
All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: staskh/insider-trading-49890122953.
Details
- Publisher
- staskh
- Category
- Finance & Markets › Trading & market analysis
- License
- MIT
- Updated
- 2026-09-28
References
More from staskh
- Earnings Calendar Get upcoming earnings dates with timing (before/after market) and EPS estimates.
- Fundamentals Get fundamental financial data including financials, earnings, and key metrics.
- Greeks Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options.
- Ib Account Get account summary from Interactive Brokers including cash balance, buying power, and account va…