What Is SEC Form 4? A Complete Guide for Quant Traders
SEC Form 4 discloses corporate insider trades within two business days. Here is exactly what it contains, why it moves markets, and how to consume it programmatically.
SEC Form 4 is the Statement of Changes in Beneficial Ownership. Any officer, director, or beneficial owner of more than ten percent of a US-listed company's equity is required, under Section 16(a) of the Securities Exchange Act of 1934, to file it within two business days of an open-market transaction. That two-day rule is what makes Form 4 uniquely valuable to systematic traders — it is one of the fastest, most legally-binding signals of what corporate insiders actually think about their own stock.
What a Form 4 filing actually contains
Every Form 4 is an XML submission on EDGAR that decomposes into a small, predictable set of fields: the reporting insider (name, CIK, relationship to the issuer), the issuer (ticker, CIK, name), the transaction date and code, share quantity, price per share, and post-transaction beneficial ownership. Derivative securities (options, RSUs, warrants) are reported on a separate table with strike prices and expiration dates.
The signal you want lives almost entirely in the non-derivative table, filtered to open-market prints. Everything else — grants, option exercises, tax withholding — is compensation plumbing, not conviction.
Transaction codes: only two matter
Form 4 defines more than twenty transaction codes. For systematic signal work, focus on two:
- P — Open-market or private purchase of non-derivative securities. This is the discretionary buy signal. An insider spent their own after-tax cash.
- S — Open-market or private sale of non-derivative securities. Interpret with care: sales are noisy because insiders sell for diversification, taxes, and pre-scheduled 10b5-1 plans.
Codes A (grant), M (option exercise), F (tax withholding), G (gift), and I (in-kind) should be filtered out of a discretionary-conviction feed. They are administrative events that dilute signal-to-noise ratio.
Why the two-day filing rule matters
Before the Sarbanes-Oxley Act of 2002, insiders had up to forty days to disclose. Post-SOX, disclosure is near-real-time. This regulatory latency compression is the entire reason Form 4 became a tradeable signal: information asymmetry between insiders and the market now decays over days, not months.
Empirical work by Cohen, Malloy, and Pomorski (Journal of Finance, 2012) shows that a portfolio long stocks with routine-adjusted insider buying and short those with insider selling generates risk-adjusted returns of roughly 82 bps per month. The alpha concentrates in opportunistic — not routine — insider trades, which is precisely why signal design matters more than raw data volume.
Consuming Form 4 programmatically
You have two options: parse EDGAR yourself or use a normalized API.
Parsing EDGAR means handling the per-day submission index, downloading raw SGML, extracting the embedded XML, and normalizing filer-specific quirks (missing tickers, footnoted prices, amended filings that supersede prior versions). Most quant teams underestimate this: at scale it is a permanent engineering tax, not a one-week project.
The NexusForm4 API returns pre-normalized transactions with tickers resolved, transaction codes standardized, and derived signals (cluster buys, conviction score) attached. A first request looks like this:
import requests
url = "https://nexusform4-sec-insider-trading-c-suite-signals.p.rapidapi.com/trades/latest"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY_HERE",
"X-RapidAPI-Host": "nexusform4-sec-insider-trading-c-suite-signals.p.rapidapi.com",
}
for row in requests.get(url, headers=headers).json():
print(row["ticker"], row["insider_role"], row["value_usd"])What to build next
Once you have a clean feed, the highest-leverage things to build are: a cluster-buy detector (multiple distinct insiders buying the same ticker within a rolling window), a role-weighted conviction score, and an insider-vs-market backtest harness. We cover each in the rest of this series.