# Insider Trading Tracker — SEC Form 4 Buying Signals & Score (`noblest_skarn/sec-insider-signal-digest`) Actor

Insider trading tracker for SEC Form 4 filings: track insider buying and selling on a watchlist of up to 50 tickers, with a 0-100 signal score per ticker. Cluster buys and CEO/CFO purchases weighted; 10b5-1 and routine trades separated. EDGAR data, no API key. Not investment advice.

- **URL**: https://apify.com/noblest_skarn/sec-insider-signal-digest.md
- **Developed by:** [Pibot Dog](https://apify.com/noblest_skarn) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 digest generateds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Insider Trading Tracker — SEC Form 4 Buying Signals & Score

An **insider trading tracker** for **SEC Form 4** filings: give it a watchlist of up to 50 tickers or CIKs and it returns a daily digest of **insider buying and selling** with a **deterministic 0–100 Insider Signal Score** per ticker. Built for automation: quants, fintech apps and AI agents that need scored, structured insider transaction data on a schedule — not another raw filing dump.

> **For informational purposes only. Not investment advice.**

### What it does

Give it up to **50 tickers and/or CIKs**. For each company it:

1. Pulls every Form 4 / Form 4/A filing from **SEC EDGAR** inside the lookback window (keyless, public data — no API key required or embedded).
2. Parses the **original ownership XML** of each filing — insider name, role (CEO / CFO / Officer / Director / 10% owner), transaction code, shares, price, value, post-transaction holdings.
3. **Deduplicates amendments**: a 4/A supersedes its original filing, so amended trades are never double-counted.
4. **Separates signal from noise**:
   - Open-market purchases (**P**) and sales (**S**) are signals.
   - Grants (**A**), option exercises (**M**), tax withholding (**F**), gifts (**G**), conversions and derivative rows are routine — listed, but excluded from scoring.
   - Trades under a **Rule 10b5-1 plan** are detected from the filing's footnote text, flagged `planned10b5_1`, listed, and excluded from scoring.
   - Trades below your minimum value threshold are listed but excluded from scoring.
5. Scores each ticker and renders a **markdown digest** plus one structured dataset item per ticker — including tickers with no activity, so scheduled consumers always get a complete watchlist picture.

### Insider Signal Score (0–100)

The score measures **buy-side insider conviction** in the window. Every point is disclosed in `scoreReasons`, so the score is fully reproducible:

| Component | Points |
|---|---|
| Breadth of buying | +8 (1 insider) / +16 (2) / +24 (3+) |
| Cluster buying — 3+ distinct insiders buy within any 7-day span | +30 |
| C-suite weight — highest-role buyer (CEO 15, CFO 12, Officer 6, Director 4, 10% owner 4, Other 2); both CEO and CFO bought | weight, +5 |
| Purchase size vs estimated market cap (latest shares outstanding × latest buy price) | ≥0.05% +10 · ≥0.2% +18 · ≥0.5% +25 |
| Purchase size vs the top buyer's own history (their median open-market buy over the prior 180 days) | ≥2× +8 · ≥4× +14 |
| Repeat buying on separate days | +6 |
| Offsetting open-market sales (share of buys) | ≥25% −6 · ≥50% −12 · ≥100% −20 |
| Broad selling (3+ sellers, sales exceed buys) | −8 |

Score bands: 0 = none, 1–24 low, 25–49 moderate, 50–74 strong, 75–100 very strong. Sales alone never raise the score; a selling-only ticker scores 0 with a `net_selling` reason.

### Sample output

Real output from a verification run on 2026-11-18 (30-day lookback, minimum signal value $25,000). Five watchlist tickers had qualifying open-market insider buys:

| Ticker | Company | Score | Level | Buys in window | Top reason |
|---|---|---|---|---|---|
| HBAN | Huntington Bancshares | 28 | moderate | $453,555 | 2 distinct insiders bought (+16) |
| TFC | Truist Financial | 23 | low | $1,209,050 | President & CEO bought (+8, CEO weight +15) |
| INTC | Intel | 23 | low | $9,709,680 | CEO bought (+8, CEO weight +15) |
| ALNY | Alnylam Pharmaceuticals | 20 | low | $543,126 | 2 distinct insiders bought (+16) |
| CVS | CVS Health | 14 | low | $2,001,315 | 1 insider (EVP) bought (+8) |

One dataset item from the same run (HBAN, abridged):

```json
{
  "ticker": "HBAN",
  "companyName": "HUNTINGTON BANCSHARES INC /MD/",
  "status": "ok",
  "insiderSignalScore": 28,
  "scoreLevel": "moderate",
  "scoreReasons": [
    "multiple_insiders_buying: 2 distinct insiders bought (+16)",
    "csuite_weight: highest-role buyer is Director (+4)",
    "size_vs_insider_history: top buyer ROLLINS JAMES D III bought $253,720, 2.5x their median earlier open-market purchase ($101,630, 4 earlier buys in 180 days) (+8)"
  ],
  "signals": {
    "distinctBuyers": 2,
    "distinctSellers": 1,
    "totalBuyValueUsd": 453554.5,
    "totalSellValueUsd": 47595,
    "clusterBuying": false
  }
}
```

The full item also carries every parsed transaction with its EDGAR filing URL, and the run's key-value store holds the complete markdown digest.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `watchlist` | string list | AAPL, MSFT, NVDA | Tickers (`AAPL`) and/or CIKs (`320193`, `CIK0000320193`). Max 50. |
| `lookbackDays` | integer 1–30 | 7 | Filing-date window ending on the run date. Use 1–7 for a daily digest, up to 30 for catch-up runs. |
| `minTransactionValueUsd` | number | 25000 | Open-market trades below this value are listed but not scored. |

### Output

- **Dataset** — one item per watchlist entry: resolved ticker/CIK/company, `status` (`ok` / `no_activity` / `not_found` / `error`), `insiderSignalScore`, `scoreLevel`, `scoreReasons`, aggregate `signals` (distinct buyers/sellers, buy/sell totals, cluster detail, estimated market cap), and the full `transactions` array (each with EDGAR filing URL, accession number, amendment flag, 10b5-1 flag and footnote texts).
- **Key-value store** — `digest.md`: a summary table of all tickers plus per-ticker sections with score reasons and the open-market transaction table.

### Data source & compliance

All data comes from **SEC EDGAR** public endpoints (company submissions, Form 4 ownership XML, XBRL company concepts). The Actor follows EDGAR fair-access rules: a declared User-Agent identifying the operator is sent with every request and request rates stay well below the 10 requests/second limit. Prices in Form 4 can be weighted averages (see filing footnotes), and filings can be amended or submitted late — the digest reflects the latest amendment available at run time.

### Pricing

**Pay per event: $0.10 per run** (`digest-generated`, charged once per run in which at least one watchlist entry resolves and a digest is produced — a watchlist where nothing resolves is not charged). Platform usage is free to users. Run it daily and the month costs about $3 — far below commercial insider-data APIs — while every score stays reproducible from public filings.

### Disclaimer

For informational purposes only. Not investment advice. Insider transactions are public regulatory filings; a high or low score is a mechanical summary of filing patterns, not a recommendation to buy or sell any security. Verify figures against the original EDGAR filings (URLs included in every transaction row) before acting on them.

# Actor input Schema

## `lookbackDays` (type: `integer`):

How many days of Form 4 filings to include, counted back from the run date (filing date). 7 is the daily-digest default; up to 30 is allowed for weekly or catch-up digests.

## `minTransactionValueUsd` (type: `number`):

Open-market purchases/sales below this total value (shares x price) are still listed in the output but are excluded from signal scoring. 25000 matches the threshold used by popular insider screeners.

## `watchlist` (type: `array`):

Tickers (AAPL) and/or CIKs (320193 or CIK0000320193) to monitor. Maximum 50 entries per run. Entries that cannot be resolved are returned as not_found items.

## Actor input object example

```json
{
  "lookbackDays": 7,
  "minTransactionValueUsd": 25000,
  "watchlist": [
    "AAPL",
    "MSFT",
    "NVDA"
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

Default dataset with one item per watchlist entry: ticker/CIK, company, status, all parsed insider transactions in the window (classified as signal_buy / signal_sell / routine / derivative / other, with Rule 10b5-1 planned flags), aggregate signals, and the 0-100 Insider Signal Score with its reasons.

## `keyValueStore` (type: `string`):

Default key-value store holding the rendered digest file: digest.md.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("noblest_skarn/sec-insider-signal-digest").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("noblest_skarn/sec-insider-signal-digest").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call noblest_skarn/sec-insider-signal-digest --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,noblest_skarn/sec-insider-signal-digest"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/BhlJRgrsD0oB5rX3v/builds/uFmrOT5jzEsGU3xxL/openapi.json
