Skip to main content
Python function: getInsiderTradesData()

Product Overview

Overview

Corporate Insider Transactions provides structured, near real-time data on insider buying and selling activity derived from SEC Forms 3, 4, and 5 (including amendments 3/A, 4/A, 5/A). The dataset captures non-derivative transactions — direct open-market purchases and dispositions — filed by corporate officers, directors, and beneficial owners (10%+ holders) of U.S. public companies. The dataset contains 3.5M+ transactions spanning 5,300+ tickers and 97,000+ unique insiders, with history back to January 2009.

Data Pipeline & Latency

Scalar Field ingests insider filings through two complementary paths:
  • Real-time stream: A persistent connection to SEC EDGAR receives filing notifications within seconds of acceptance. Structured transaction data is fetched by accession number and written to the database. If the data is not yet available, the system retries automatically until it arrives.
  • Daily reconciliation: A batch job runs each morning, performing an incremental pull by ticker to catch any filings missed by the real-time stream or delayed in SEC indexing.

Ingestion Latency (last 7 days)

The gap between when the SEC accepts a filing (filed_at) and when it appears in Scalar Field (ts_recv): 87% of filings are ingested within 5 minutes of SEC acceptance. The remaining ~13% are typically filings where the SEC API indexes the structured data with a short delay; these are caught by automatic retries or, in rare cases, the daily batch reconciliation.

Timestamp Semantics: ts_recv vs filed_at vs transactionDate

This distinction is critical for backtesting and signal construction:

Insider Filing Delay (transaction date → SEC filing, last 7 days)

How long after the actual trade do insiders file with the SEC: Insiders are required to file Form 4 within 2 business days of the transaction. In practice, ~67% comply within 2 days, while ~33% file later. This means that even with a perfect real-time feed, there is an inherent information delay between when an insider trades and when the market can observe it.

Coverage

  • Universe: 5,300+ U.S.-listed equities with SEC insider filings (NYSE, NASDAQ, AMEX, OTC issuers).
  • Insiders: 97,000+ unique filing insiders.
  • Filing types: Forms 3 (initial statement of beneficial ownership), 4 (changes in ownership), and 5 (annual summary), plus their amendments (3/A, 4/A, 5/A).
  • Transaction filter: Only non-derivative transactions with acquired/disposed codes — Buy (A) and Sell (D). Derivative transactions (option exercises, conversions) are excluded.
  • History: January 2009 to present, with continuous daily updates.
  • Volume: ~1,500 transactions/day on average; ~270K/year in recent years.

Annual Volume

Buy/Sell Split

Across the full dataset: 49% Buy / 51% Sell, roughly balanced.

Querying the Data

Basic Usage

Filtering by Insider

Parameters

Column Definitions

Insider Trades Schema

Transaction Type Codes

Filtering Reference

Insider Role Filter

The insider_role parameter supports these abbreviations and their expansions: Unrecognized role strings are matched as literal substrings against the typeOfOwner field.