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:
- Any officer of the company (CEO, CFO, COO, General Counsel, VP-level and above)
- Any director (board member)
- Any beneficial owner of more than 10% of any class of equity securities
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:
| Code | Transaction Type | Signal Value |
|---|---|---|
| P | Open market purchase | Bullish โ highest conviction |
| S | Open market sale | Bearish (but context-dependent) |
| A | Grant, award, or other acquisition | Neutral โ no cash spent |
| D | Sale back to the issuer | Neutral โ often structured |
| F | Tax withholding (shares withheld) | Neutral โ routine |
| M | Option exercise | Neutral to slightly bullish |
| G | Gift (bona fide) | Neutral |
| H | Expiration of short derivative | Neutral |
| I | Discretionary transaction in 401(k) | Mildly bullish |
| J | Other acquisition/disposition | Requires manual review |
| K | Equity swap / instrument | Complex โ requires analysis |
| L | Small acquisition under Rule 16a-6 | Weak signal |
| W | Will/inheritance | Neutral |
| X | Option exercise (in-the-money) | Neutral โ pre-scheduled |
| Z | Deposit into voting trust | Neutral |
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 โ