staskh avatar

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-code

Installs into .claude/skills of the current project.

Files

Insider Trading

Fetch recent insider transactions from Yahoo Finance (SEC Form 4 data).

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

uv run python scripts/insider_trading.py SYMBOLS [--days DAYS]

Arguments

  • SYMBOLS - Single ticker or comma-separated list (e.g., NVDA or NVDA,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 type
  • summary - 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
1sugarforever avatarchina-stock-analysissugarforever/01coder-agent-skillsA股价值投资分析工具,提供股票筛选、个股深度分析、行业对比和估值计算功能。基于价值投资理论,使用akshare获取公开财务数据,适合低频交易的普通投资者。12.5Kskills.sh installs
2nomadamas avatarkorean-stock-searchnomadamas/k-skillUse k-skill-proxy to search Korean listed stocks, inspect KRX base information, and fetch daily trade snapshots without asking the user to issue a KRX API key.11.3Kskills.sh installs
3binance avataronchain-pay-open-apibinance/binance-skills-hubBinance Onchain Pay enables users to buy cryptocurrency with fiat (e.g., EUR, USD) or send existing crypto from their Binance account directly to any external o6Kskills.sh installs
4binance avatarfiatbinance/binance-skills-hubQuery Binance fiat payment capabilities — supported countries, currencies, payment methods, limits, and crypto prices — via public APIs, plus authenticated orde5.8Kskills.sh installs
5binance avatarp2pbinance/binance-skills-hubBinance P2P trading assistant for natural-language queries about P2P/C2C market ads, the user's own P2P order history, order detail & appeal tracking, and adver5.7Kskills.sh installs
6affaan-m avatarllm-trading-agent-securityaffaan-m/eccSecurity patterns for autonomous trading agents with wallet or transaction authority. Covers prompt injection, spend limits, pre-send simulation, circuit breake5.6Kskills.sh installs