---
name: staskh-insider-trading
description: "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."
license: "MIT"
metadata:
  decimalai-skill-id: "906f804d-3302-47d7-a888-bdc8a8cc51bc"
  decimalai-version-id: "ddcfeeba-1cdd-455e-a96e-abbab6023997"
  decimalai-version: "1"
  decimalai-body-sha256: "002fbf8e4656f92d529887b82030bca55be7336513026eeab0937707723dc6a8"
  decimalai-name: "staskh/insider-trading"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "finance"
  decimalai-source: "https://app.decimal.ai/s/staskh-insider-trading@1/SKILL.md"
---
# 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.

```bash
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

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.
