
Insider Trading
Pulls insider trading data from Yahoo Finance's SEC Form 4 filings and gives you a quick read on whether executives are buying or selling. You can check a single stock or compare multiple tickers at once, and it ranks results by net buying activity so the most bullish insider sentiment floats to the top. The summary breaks down buy versus sell counts and dollar values, which is helpful when you're trying to gauge conviction from the people who actually run the company. Default lookback is 90 days but you can adjust it. Straightforward tool for when someone asks if insiders are accumulating or dumping shares.
- GitHub stars
- 248
- last updated
- Jun 11, 2026
Install
$ npx -y skills add staskh/trading_skills --skill insider-trading --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/staskh/trading_skills
- Category
- Finance & Trading
- License
- MIT
- First seen
- Jun 11, 2026
More from staskh/trading_skills
All 28- Markdown To Pdf
- Price History
- Scanner Bullish
- Scanner Pmcc
- Spread Analysis
- Whale Hunting
- Technical Analysis598
- News Sentiment246
- Fundamentals182
- Stock Quote131
- Greeks128
- Report Stock117
- Option Chain111
- Risk Assessment105
- Earnings Calendar
- Ib Account
- Ib Collar
- Ib Create Consolidated Report
- Ib Find Short Roll
- Ib Option Chain
- Ib Pmcc Advisor
- Ib Portfolio
- Ib Portfolio Action Report
- Ib Report Delta Adjusted Notional Exposure