How to Build an Insider Trading Tracker Dashboard: A Step-by-Step Guide

The single most powerful feature of any insider trading research workflow is not a complex machine learning model or a proprietary scoring algorithm — it is systematic filtering. The SEC publishes hundreds of Form 4 filings every single day. Without a structured process for separating signal from noise, you will spend hours reading filings that mean nothing and miss the ones that matter.
This guide walks through everything you need to conceptually design and build an insider trading tracker — from understanding the raw data source to configuring alert systems that push only the highest-conviction signals to your attention.
Why Build Your Own Dashboard?
Commercial insider tracking platforms range from free (with limited features) to several hundred dollars per month. Building your own gives you:
- Custom filtering logic tailored to your exact investment style (value vs. growth, small-cap vs. mega-cap)
- Full control over alert thresholds — no vendor decides what's "significant"
- Historical backtesting capabilities against your own criteria
- Integration with your existing research workflow (Notion, Airtable, spreadsheets, or custom apps)
Even if you end up using a commercial platform like Stock Insider AI, understanding the data pipeline makes you a far more effective interpreter of the outputs.
Step 1: Understanding the Raw Data Source
All U.S. public company insider transactions are filed with the Securities and Exchange Commission and published on its EDGAR (Electronic Data Gathering, Analysis, and Retrieval) system. There is no cost to access this data — it is public by law.
The primary filing type for insider transactions is Form 4 (Statement of Changes in Beneficial Ownership), which must be submitted within two business days of any reportable transaction. Each Form 4 is published in two formats:
- HTML — the human-readable version
- XML — the machine-parseable version, which is what automated systems consume
The EDGAR full-text search API provides endpoints for retrieving recent filings:
https://www.sec.gov/cgi-bin/browse-edgar?action=getcurrent&type=4&dateb=&owner=include&count=40&search_text=
For programmatic access, the SEC also provides a structured JSON feed:
https://data.sec.gov/submissions/CIK{10-digit-CIK}.json
Where CIK is the Central Index Key — the unique identifier for each company and individual filer. You can look up CIKs in the EDGAR company search.
Step 2: Parsing Form 4 XML
The XML structure of a Form 4 filing contains all the key fields you need. The most important elements are:
<nonDerivativeTransaction>
<securityTitle>Common Stock</securityTitle>
<transactionDate>2025-01-15</transactionDate>
<transactionShares>50000</transactionShares>
<transactionPricePerShare>28.45</transactionPricePerShare>
<transactionAcquiredDisposedCode>A</transactionAcquiredDisposedCode>
<sharesOwnedFollowingTransaction>175000</sharesOwnedFollowingTransaction>
<directOrIndirectOwnership>D</directOrIndirectOwnership>
</nonDerivativeTransaction>
Key fields to extract:
transactionAcquiredDisposedCode: A = Acquired (buy), D = Disposed (sell)transactionCode: The specific nature of the transaction (P = open market purchase, S = open market sale, M = option exercise, etc.)transactionShares×transactionPricePerShare= total dollar value of the transactionsharesOwnedFollowingTransaction— lets you calculate what percentage of their total holding they bought/sold
The transaction code is perhaps the most important filter. Code P (open market purchase with personal cash) is the highest-conviction signal. Code M (exercise of a derivative) is far less meaningful, as it's often just compensation mechanics.
Step 3: Building the Data Pipeline
A minimal viable insider tracking pipeline has three stages:
Stage 1: Ingestion
Poll the EDGAR RSS feed or API every few minutes for new Form 4 filings. EDGAR provides a bulk data feed of all recent filings:
https://www.sec.gov/cgi-bin/browse-edgar?action=getcurrent&type=4&dateb=&owner=include&count=40&output=atom
This returns an Atom feed of the 40 most recent Form 4 filings, which you can parse to get filing URLs, filer names, company names, and dates.
Stage 2: Parsing & Normalization
For each new filing URL, fetch the XML document, extract the transaction fields, and normalize the data:
- Resolve CIK → ticker symbol (use the SEC's company ticker mapping)
- Classify transaction type (buy/sell, meaningful/noise)
- Calculate total dollar value
- Calculate percentage change in insider's holdings
Stage 3: Storage & Deduplication
Store each transaction in a database (SQLite works fine for personal use). Implement deduplication to prevent processing the same filing twice.
Step 4: Filtering for High-Signal Transactions
Raw Form 4 data is mostly noise. A large percentage of filings are:
- Option exercises immediately followed by stock sales (net neutral)
- Routine 10b5-1 plan sales (pre-scheduled, not discretionary)
- RSU vesting events (compensation, not conviction)
- Gifts and estate transfers
Apply these filters to isolate meaningful signals:
Filter 1: Transaction Code = "P" Only
Only include open market purchases. This immediately eliminates the majority of filings.
Filter 2: Minimum Dollar Threshold
Set a minimum transaction value — for example, $25,000 for small-cap stocks, $250,000 for large-cap. This removes symbolic token purchases.
Filter 3: Ownership Percentage Increase
Calculate the purchase as a percentage of the insider's existing holdings. A 5% portfolio addition is far more meaningful than a 0.1% addition.
Filter 4: Insider Role
Prioritize by role:
- CFO — most predictive according to academic research
- CEO
- Independent Directors
- 10%+ beneficial owners — often less predictive (passive funds)
Filter 5: Cluster Buying
Flag instances where three or more insiders at the same company buy within a 30-day window. Cluster buying is one of the strongest documented signals in the academic literature.
Filter 6: No 10b5-1 Plan Flag
Form 4 footnotes sometimes disclose that a purchase was made under a pre-established 10b5-1 plan. These are less meaningful — filter them out or deprioritize them.
Step 5: Scoring and Ranking
Once you have filtered transactions, apply a scoring model to rank them by conviction level. A simple scoring framework:
| Factor | Points | |---|---| | CFO buying | +3 | | CEO buying | +2 | | Director buying | +1 | | Purchase > $500K | +2 | | Purchase > $100K | +1 | | Holding increase > 20% | +2 | | Holding increase > 10% | +1 | | Cluster buy (3+ insiders) | +3 | | Company at 52-week low | +1 | | No 10b5-1 flag | +1 |
Transactions scoring 7+ are your highest-priority alerts.
Step 6: Setting Up Alerts
The whole point of a dashboard is to surface actionable information without requiring you to check it manually every hour. Configure alerts via:
- Email digest — Daily summary of all high-scoring transactions from the previous 24 hours
- Push notification — Immediate alert for transactions scoring 8+
- Webhook to Slack/Discord — For team-based research workflows
- SMS via Twilio — For truly critical signals you do not want to miss
A well-configured alert system should send you fewer than five notifications per day on average, with the vast majority being genuinely significant.
Step 7: Backtesting Your Criteria
Before relying on your dashboard in production, backtest your filtering logic against historical data. The SEC has bulk download archives going back to 1993. A proper backtest should:
- Apply your filters to a historical window (e.g., 2018–2023)
- Record every filtered transaction with the date and price at time of filing
- Measure the stock's return over 30, 60, 90, 180, and 365 days post-filing
- Compare this return against the S&P 500 benchmark over the same periods
Academic studies consistently show that open market purchases by corporate insiders, when filtered properly, outperform the market by 6–12% annually on average. But your specific filters may produce better or worse results depending on how well they isolate genuine conviction buys.
Step 8: Integrating with Fundamental Research
A dashboard that only shows insider activity is incomplete. Build integrations to pull complementary data alongside each transaction:
- Price action: Is the stock at a 52-week low? Recent earnings selloff?
- Short interest: High short interest + insider buying = potential short squeeze candidate
- Valuation: Is the stock trading below its historical P/E average?
- Upcoming catalysts: Earnings date, FDA decision, contract announcements
When an insider buy aligns with a beaten-down stock, high short interest, and upcoming positive catalyst, you have a genuinely compelling research thesis — not just a single data point.
Using a Pre-Built Platform vs. DIY
Building your own pipeline requires meaningful technical work. For investors who prefer a ready-made solution, platforms like Stock Insider AI provide:
- Real-time Form 4 parsing and classification
- Pre-built scoring and filtering tools
- Historical transaction data for any company
- Alert configurations without any code
The advantage of understanding the underlying data model — even if you use a commercial platform — is that you will make better use of the platform's features and be able to critically evaluate the signals it surfaces rather than treating them as black boxes.
Conclusion
An effective insider trading tracker is not a complicated system — it is a disciplined one. The work is in the filtering: isolating the small percentage of Form 4 filings that represent genuine, discretionary, high-conviction purchases by informed decision-makers.
Whether you build your own system or use a commercial platform, the principles are the same: focus on open market purchases, weight by role and size, look for clustering, and always integrate insider signals with fundamental research before making a decision.
Disclaimer: This article is for educational and informational purposes only. Building an automated system to trade based on insider filings involves significant risks. Consult a licensed financial advisor before making investment decisions.

Alex Reed
Founder & Head Analyst
Former quantitative analyst at Goldman Sachs. Over 10 years of experience designing market indicators and tracking C-suite transactions.