home / skills / openclaw / skills / openinsider

openinsider skill

/skills/stuhorsman/openinsider

This skill fetches real-time SEC Form 4 insider trading data from OpenInsider to surface insider buying and selling signals for a ticker.

npx playbooks add skill openclaw/skills --skill openinsider

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
1.1 KB
---
name: openinsider
description: Fetch SEC Form 4 insider trading data (Directors, CEOs, Officers) from OpenInsider. Use this to track corporate insider buying/selling signals.
metadata: {"clawdbot":{"requires":{"bins":["python3"]},"install":[{"id":"pip-deps","kind":"exec","command":"pip3 install pandas requests lxml","label":"Install Python dependencies"}]}}
---

# OpenInsider Skill

Fetch real-time insider trading data (SEC Form 4) from OpenInsider.com.

## Usage

This skill uses a Python script to scrape and parse the OpenInsider data table.

### Get Insider Trades
Get the latest transactions for a specific ticker.

```bash
skills/openinsider/scripts/fetch_trades.py NVDA
```

### Options
- `--limit <n>`: Limit number of results (default 10)

```bash
skills/openinsider/scripts/fetch_trades.py TSLA --limit 5
```

## Output Fields

- `filing_date`: When the Form 4 was filed
- `trade_date`: When the trade happened
- `insider_name`: Name of the executive/director
- `title`: Role (CEO, CFO, Dir, etc.)
- `trade_type`: Purchase (P) or Sale (S)
- `price`: Transaction price
- `qty`: Number of shares traded
- `value`: Total value of the trade

Overview

This skill fetches SEC Form 4 insider trading data from OpenInsider to help track director, officer, and major insider buying and selling. It provides parsed, structured records for each transaction so you can integrate signals into monitoring, research, or trading workflows. Designed for quick lookups by ticker with optional result limits.

How this skill works

The skill scrapes the OpenInsider data table for a requested ticker, parses each row, and returns structured fields such as filing date, trade date, insider name, title, trade type, price, quantity, and total value. It exposes a simple command-style interface where you request a ticker and optionally limit results, and it outputs the latest insider transactions in a machine-friendly format.

When to use it

  • When you want to monitor recent insider buys or sells for a specific ticker.
  • When building alerts for unusual insider activity or sudden increases in insider purchases.
  • When backtesting or validating strategies that incorporate insider transaction signals.
  • When performing due diligence on executives or board members before making investment decisions.
  • When aggregating corporate governance or compliance datasets for analysis.

Best practices

  • Respect the source site's rate limits and terms of service; avoid excessive scraping frequency.
  • Cross-check parsed entries against official SEC filings for compliance or audit-grade uses.
  • Combine insider trade data with volume, price action, and fundamentals for stronger signals.
  • Use the result limit option to fetch only needed rows and reduce network load.
  • Cache recent results for repeated queries to speed workflows and lower request volume.

Example use cases

  • Fetch the latest insider trades for NVDA to spot recent executive buying.
  • Run daily scans for stocks with multiple insider purchases within a week.
  • Alert when a CEO or director sells a large block relative to their holdings.
  • Backtest a strategy that buys after significant insider purchases and holds for N days.
  • Aggregate insider transactions across a watchlist for governance reporting.

FAQ

Is it legal to use this data?

Yes. The skill collects publicly posted SEC Form 4 information from OpenInsider. For redistribution or commercial use, check the data source terms and the SEC’s public filing policies.

How do I limit the number of results returned?

Use the limit option when requesting a ticker (for example, set --limit 5) to restrict the number of trades returned and reduce network load.