SEC Form 4 is the most direct window into insider conviction available to public market investors. Filed within two business days of every insider transaction, these documents reveal exactly when corporate officers, directors, and major shareholders are putting their own money into โ€” or taking it out of โ€” the companies they run. Understanding how to extract maximum signal from these filings separates sophisticated investors from those who only see the headline number.

This guide is the technical companion to our overview of insider buying signals. Here we go deep on the Form 4 structure, every transaction code, how to read the XML data programmatically, and which insider categories generate the most reliable trading signals.

The Legal Foundation: Who Must File Form 4?

Section 16(a) of the Securities Exchange Act of 1934 requires reporting persons to disclose their ownership and transactions. A reporting person is:

Form 4 is triggered by any change in ownership โ€” purchases, sales, grants, awards, option exercises, or gifts. The two-business-day filing deadline makes this one of the fastest-moving public disclosures in the market. Late filings (which the SEC tracks) can themselves be informative โ€” insiders sometimes file late when transactions are complex or legally sensitive.

Complete Form 4 Transaction Code Reference

The transaction code is the single most important field for signal extraction. Here is every code and its meaning:

CodeTransaction TypeSignal Value
POpen market purchaseBullish โ€” highest conviction
SOpen market saleBearish (but context-dependent)
AGrant, award, or other acquisitionNeutral โ€” no cash spent
DSale back to the issuerNeutral โ€” often structured
FTax withholding (shares withheld)Neutral โ€” routine
MOption exerciseNeutral to slightly bullish
GGift (bona fide)Neutral
HExpiration of short derivativeNeutral
IDiscretionary transaction in 401(k)Mildly bullish
JOther acquisition/dispositionRequires manual review
KEquity swap / instrumentComplex โ€” requires analysis
LSmall acquisition under Rule 16a-6Weak signal
WWill/inheritanceNeutral
XOption exercise (in-the-money)Neutral โ€” pre-scheduled
ZDeposit into voting trustNeutral

For trading purposes, only Code P is a reliable bullish signal. Everything else requires significant additional context before drawing conclusions.

Reading Form 4 XML Data

EDGAR makes all Form 4 filings available in XML format, enabling programmatic parsing. The key XML fields to extract are:

issuerTradingSymbol

The stock ticker. Always cross-reference with the CIK number to avoid ambiguity, particularly with common words used as tickers.

reportingOwnerRelationship

Contains boolean fields: isDirector, isOfficer, isTenPercentOwner, isOther. The officerTitle field provides the specific role โ€” critical for weighting signal strength.

nonDerivativeTransaction

Contains the actual share transaction data: transactionCode (the letter code above), transactionDate, transactionShares, transactionPricePerShare, and sharesOwnedFollowingTransaction.

transactionAcquiredDisposedCode

A or D โ€” acquired or disposed. Combined with the transaction code, this confirms direction. A Code P with value A is a confirmed open-market purchase.

EDGAR API endpoint: Full-text search feed at https://efts.sec.gov/LATEST/search-index?q=%22form+type%22%3A%224%22&dateRange=custom enables real-time monitoring of new Form 4 filings as they hit the system. SniperMachine polls this endpoint continuously during market hours.

Which Insiders Generate the Strongest Signals?

Not all insiders are equal in their information advantage. Research and SniperMachine's historical signal data suggests the following hierarchy:

Tier 1: CEO and CFO Purchases

The Chief Executive and Chief Financial Officers have the most complete view of the business โ€” pipeline, cash position, upcoming contracts, regulatory status. Their open-market purchases represent maximum-conviction bets. CEO/CFO purchases receive the highest weight in SniperMachine's scoring model.

Tier 2: Cluster Buying (3+ Insiders)

When multiple independent insiders buy in the same 30-day window, the signal convergence is more reliable than any single purchase. Three board members independently buying after a stock decline suggests the information asymmetry is real and widely understood within the company.

Tier 3: Large Purchases by Operating Officers

COOs, Chief Revenue Officers, General Counsels, and divisional presidents have deep operational visibility. Large purchases (over ,000) by these roles carry strong signal value, particularly when the company is in a sector where their specific knowledge matters.

Tier 4: Independent Directors

Board directors are less embedded in daily operations but often receive privileged information about strategic direction, M&A activity, and board-level decisions. Director purchases can signal confidence in near-term catalysts that aren't yet public.

Lower Signal: 10% Shareholders

Large shareholders who are classified as insiders due to their ownership percentage often buy and sell for portfolio management reasons that have nothing to do with their view of the company's prospects. Their Form 4 activity requires more context before treating it as a signal.

10b5-1 Plans: The Signal Reducer

Rule 10b5-1 allows insiders to pre-schedule future trades through a broker, insulating them from insider trading accusations by establishing the plan during a non-insider-information period. When purchases occur under a 10b5-1 plan, they are disclosed with a footnote in the Form 4 filing.

Plan purchases have lower signal value because they were scheduled months ago โ€” the current market conditions and company state may differ significantly from when the plan was set up. SniperMachine flags 10b5-1 plan transactions separately and applies a 40% signal weight reduction compared to discretionary open-market purchases.

Historical Performance by Company Size

Form 4 signals are consistently stronger for smaller companies. In large-cap companies, the information advantage of any single insider is diluted by thousands of analysts, widespread institutional research coverage, and the sheer scale of information the company produces. In small and micro-cap companies, insiders have much greater information asymmetry relative to the investment community.

SniperMachine applies market-cap filters to the insider signal model, up-weighting signals from companies with market caps under billion and down-weighting signals from S&P 500 components where analyst coverage is saturation-level.

Get Free Trading Signals on Telegram

SniperMachine processes every Form 4 filing and delivers scored insider buying alerts to Telegram in real time. Free to join.

Join SniperMachine on Telegram โ†’